Class: TencentCloud::Iotvideoindustry::V20201201::DescribeChannelsRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201201/models.rb

Overview

DescribeChannels请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, limit = nil, offset = nil, channeltypes = nil, planid = nil, sceneid = nil) ⇒ DescribeChannelsRequest

Returns a new instance of DescribeChannelsRequest.



1970
1971
1972
1973
1974
1975
1976
1977
# File 'lib/v20201201/models.rb', line 1970

def initialize(deviceid=nil, limit=nil, offset=nil, channeltypes=nil, planid=nil, sceneid=nil)
  @DeviceId = deviceid
  @Limit = limit
  @Offset = offset
  @ChannelTypes = channeltypes
  @PlanId = planid
  @SceneId = sceneid
end

Instance Attribute Details

#ChannelTypesObject

Parameters:

  • DeviceId:

    设备Id

  • Limit:

    限制,默认0

  • Offset:

    偏移量,默认0

  • ChannelTypes:

    通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道

  • PlanId:

    录制计划ID, 当为“null”值时未绑定录制计划

  • SceneId:

    告警联动场景ID, 当为 -1 值时未绑定场景



1968
1969
1970
# File 'lib/v20201201/models.rb', line 1968

def ChannelTypes
  @ChannelTypes
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备Id

  • Limit:

    限制,默认0

  • Offset:

    偏移量,默认0

  • ChannelTypes:

    通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道

  • PlanId:

    录制计划ID, 当为“null”值时未绑定录制计划

  • SceneId:

    告警联动场景ID, 当为 -1 值时未绑定场景



1968
1969
1970
# File 'lib/v20201201/models.rb', line 1968

def DeviceId
  @DeviceId
end

#LimitObject

Parameters:

  • DeviceId:

    设备Id

  • Limit:

    限制,默认0

  • Offset:

    偏移量,默认0

  • ChannelTypes:

    通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道

  • PlanId:

    录制计划ID, 当为“null”值时未绑定录制计划

  • SceneId:

    告警联动场景ID, 当为 -1 值时未绑定场景



1968
1969
1970
# File 'lib/v20201201/models.rb', line 1968

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • DeviceId:

    设备Id

  • Limit:

    限制,默认0

  • Offset:

    偏移量,默认0

  • ChannelTypes:

    通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道

  • PlanId:

    录制计划ID, 当为“null”值时未绑定录制计划

  • SceneId:

    告警联动场景ID, 当为 -1 值时未绑定场景



1968
1969
1970
# File 'lib/v20201201/models.rb', line 1968

def Offset
  @Offset
end

#PlanIdObject

Parameters:

  • DeviceId:

    设备Id

  • Limit:

    限制,默认0

  • Offset:

    偏移量,默认0

  • ChannelTypes:

    通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道

  • PlanId:

    录制计划ID, 当为“null”值时未绑定录制计划

  • SceneId:

    告警联动场景ID, 当为 -1 值时未绑定场景



1968
1969
1970
# File 'lib/v20201201/models.rb', line 1968

def PlanId
  @PlanId
end

#SceneIdObject

Parameters:

  • DeviceId:

    设备Id

  • Limit:

    限制,默认0

  • Offset:

    偏移量,默认0

  • ChannelTypes:

    通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道

  • PlanId:

    录制计划ID, 当为“null”值时未绑定录制计划

  • SceneId:

    告警联动场景ID, 当为 -1 值时未绑定场景



1968
1969
1970
# File 'lib/v20201201/models.rb', line 1968

def SceneId
  @SceneId
end

Instance Method Details

#deserialize(params) ⇒ Object



1979
1980
1981
1982
1983
1984
1985
1986
# File 'lib/v20201201/models.rb', line 1979

def deserialize(params)
  @DeviceId = params['DeviceId']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @ChannelTypes = params['ChannelTypes']
  @PlanId = params['PlanId']
  @SceneId = params['SceneId']
end