Class: TencentCloud::Iss::V20230517::SnapshotConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::SnapshotConfig
- Defined in:
- lib/v20230517/models.rb
Overview
截图配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(timeinterval = nil, opertimeslot = nil) ⇒ SnapshotConfig
constructor
A new instance of SnapshotConfig.
Constructor Details
#initialize(timeinterval = nil, opertimeslot = nil) ⇒ SnapshotConfig
Returns a new instance of SnapshotConfig.
6856 6857 6858 6859 |
# File 'lib/v20230517/models.rb', line 6856 def initialize(timeinterval=nil, opertimeslot=nil) @TimeInterval = timeinterval @OperTimeSlot = opertimeslot end |
Instance Attribute Details
#OperTimeSlot ⇒ Object
6854 6855 6856 |
# File 'lib/v20230517/models.rb', line 6854 def OperTimeSlot @OperTimeSlot end |
#TimeInterval ⇒ Object
6854 6855 6856 |
# File 'lib/v20230517/models.rb', line 6854 def TimeInterval @TimeInterval end |
Instance Method Details
#deserialize(params) ⇒ Object
6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 |
# File 'lib/v20230517/models.rb', line 6861 def deserialize(params) @TimeInterval = params['TimeInterval'] unless params['OperTimeSlot'].nil? @OperTimeSlot = [] params['OperTimeSlot'].each do |i| opertimeslot_tmp = OperTimeSlot.new opertimeslot_tmp.deserialize(i) @OperTimeSlot << opertimeslot_tmp end end end |