Class: TencentCloud::Iss::V20230517::UpdateRecordBackupPlanModify
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::UpdateRecordBackupPlanModify
- Defined in:
- lib/v20230517/models.rb
Overview
修改录像上云计划数据结构
Instance Attribute Summary collapse
- #Add ⇒ Object
- #Del ⇒ Object
- #Describe ⇒ Object
- #LifeCycle ⇒ Object
- #OrganizationId ⇒ Object
- #PlanName ⇒ Object
- #TemplateId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(planname = nil, templateid = nil, describe = nil, lifecycle = nil, add = nil, del = nil, organizationid = nil) ⇒ UpdateRecordBackupPlanModify
constructor
A new instance of UpdateRecordBackupPlanModify.
Constructor Details
#initialize(planname = nil, templateid = nil, describe = nil, lifecycle = nil, add = nil, del = nil, organizationid = nil) ⇒ UpdateRecordBackupPlanModify
Returns a new instance of UpdateRecordBackupPlanModify.
7576 7577 7578 7579 7580 7581 7582 7583 7584 |
# File 'lib/v20230517/models.rb', line 7576 def initialize(planname=nil, templateid=nil, describe=nil, lifecycle=nil, add=nil, del=nil, organizationid=nil) @PlanName = planname @TemplateId = templateid @Describe = describe @LifeCycle = lifecycle @Add = add @Del = del @OrganizationId = organizationid end |
Instance Attribute Details
#Add ⇒ Object
7574 7575 7576 |
# File 'lib/v20230517/models.rb', line 7574 def Add @Add end |
#Del ⇒ Object
7574 7575 7576 |
# File 'lib/v20230517/models.rb', line 7574 def Del @Del end |
#Describe ⇒ Object
7574 7575 7576 |
# File 'lib/v20230517/models.rb', line 7574 def Describe @Describe end |
#LifeCycle ⇒ Object
7574 7575 7576 |
# File 'lib/v20230517/models.rb', line 7574 def LifeCycle @LifeCycle end |
#OrganizationId ⇒ Object
7574 7575 7576 |
# File 'lib/v20230517/models.rb', line 7574 def OrganizationId @OrganizationId end |
#PlanName ⇒ Object
7574 7575 7576 |
# File 'lib/v20230517/models.rb', line 7574 def PlanName @PlanName end |
#TemplateId ⇒ Object
7574 7575 7576 |
# File 'lib/v20230517/models.rb', line 7574 def TemplateId @TemplateId end |
Instance Method Details
#deserialize(params) ⇒ Object
7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 |
# File 'lib/v20230517/models.rb', line 7586 def deserialize(params) @PlanName = params['PlanName'] @TemplateId = params['TemplateId'] @Describe = params['Describe'] unless params['LifeCycle'].nil? @LifeCycle = LifeCycleData.new @LifeCycle.deserialize(params['LifeCycle']) end unless params['Add'].nil? @Add = [] params['Add'].each do |i| channelinfo_tmp = ChannelInfo.new channelinfo_tmp.deserialize(i) @Add << channelinfo_tmp end end @Del = params['Del'] @OrganizationId = params['OrganizationId'] end |