Class: TencentCloud::Iotvideoindustry::V20201201::DescribeChannelsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeChannelsRequest
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeChannels请求参数结构体
Instance Attribute Summary collapse
- #ChannelTypes ⇒ Object
- #DeviceId ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #PlanId ⇒ Object
- #SceneId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceid = nil, limit = nil, offset = nil, channeltypes = nil, planid = nil, sceneid = nil) ⇒ DescribeChannelsRequest
constructor
A new instance of DescribeChannelsRequest.
Constructor Details
#initialize(deviceid = nil, limit = nil, offset = nil, channeltypes = nil, planid = nil, sceneid = nil) ⇒ DescribeChannelsRequest
Returns a new instance of DescribeChannelsRequest.
1926 1927 1928 1929 1930 1931 1932 1933 |
# File 'lib/v20201201/models.rb', line 1926 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
#ChannelTypes ⇒ Object
1924 1925 1926 |
# File 'lib/v20201201/models.rb', line 1924 def ChannelTypes @ChannelTypes end |
#DeviceId ⇒ Object
1924 1925 1926 |
# File 'lib/v20201201/models.rb', line 1924 def DeviceId @DeviceId end |
#Limit ⇒ Object
1924 1925 1926 |
# File 'lib/v20201201/models.rb', line 1924 def Limit @Limit end |
#Offset ⇒ Object
1924 1925 1926 |
# File 'lib/v20201201/models.rb', line 1924 def Offset @Offset end |
#PlanId ⇒ Object
1924 1925 1926 |
# File 'lib/v20201201/models.rb', line 1924 def PlanId @PlanId end |
#SceneId ⇒ Object
1924 1925 1926 |
# File 'lib/v20201201/models.rb', line 1924 def SceneId @SceneId end |
Instance Method Details
#deserialize(params) ⇒ Object
1935 1936 1937 1938 1939 1940 1941 1942 |
# File 'lib/v20201201/models.rb', line 1935 def deserialize(params) @DeviceId = params['DeviceId'] @Limit = params['Limit'] @Offset = params['Offset'] @ChannelTypes = params['ChannelTypes'] @PlanId = params['PlanId'] @SceneId = params['SceneId'] end |