Class: TencentCloud::Iss::V20230517::ControlDeviceSnapshotRequest

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

Overview

ControlDeviceSnapshot请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channelid = nil, snapnum = nil, interval = nil, expire = nil) ⇒ ControlDeviceSnapshotRequest

Returns a new instance of ControlDeviceSnapshotRequest.



1674
1675
1676
1677
1678
1679
# File 'lib/v20230517/models.rb', line 1674

def initialize(channelid=nil, snapnum=nil, interval=nil, expire=nil)
  @ChannelId = channelid
  @SnapNum = snapnum
  @Interval = interval
  @Expire = expire
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • ChannelId:

    通道ID

  • SnapNum:

    连拍张数,可选值范围1~10

  • Interval:

    抓拍间隔时间,可选值范围1~1800

  • Expire:

    图片存储时间,默认 7 天,仅支持(7, 15, 30, 60, 90, 180, 365)天



1672
1673
1674
# File 'lib/v20230517/models.rb', line 1672

def ChannelId
  @ChannelId
end

#ExpireObject

Parameters:

  • ChannelId:

    通道ID

  • SnapNum:

    连拍张数,可选值范围1~10

  • Interval:

    抓拍间隔时间,可选值范围1~1800

  • Expire:

    图片存储时间,默认 7 天,仅支持(7, 15, 30, 60, 90, 180, 365)天



1672
1673
1674
# File 'lib/v20230517/models.rb', line 1672

def Expire
  @Expire
end

#IntervalObject

Parameters:

  • ChannelId:

    通道ID

  • SnapNum:

    连拍张数,可选值范围1~10

  • Interval:

    抓拍间隔时间,可选值范围1~1800

  • Expire:

    图片存储时间,默认 7 天,仅支持(7, 15, 30, 60, 90, 180, 365)天



1672
1673
1674
# File 'lib/v20230517/models.rb', line 1672

def Interval
  @Interval
end

#SnapNumObject

Parameters:

  • ChannelId:

    通道ID

  • SnapNum:

    连拍张数,可选值范围1~10

  • Interval:

    抓拍间隔时间,可选值范围1~1800

  • Expire:

    图片存储时间,默认 7 天,仅支持(7, 15, 30, 60, 90, 180, 365)天



1672
1673
1674
# File 'lib/v20230517/models.rb', line 1672

def SnapNum
  @SnapNum
end

Instance Method Details

#deserialize(params) ⇒ Object



1681
1682
1683
1684
1685
1686
# File 'lib/v20230517/models.rb', line 1681

def deserialize(params)
  @ChannelId = params['ChannelId']
  @SnapNum = params['SnapNum']
  @Interval = params['Interval']
  @Expire = params['Expire']
end