Class: TencentCloud::Iss::V20230517::AddRecordBackupPlanRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::AddRecordBackupPlanRequest
- Defined in:
- lib/v20230517/models.rb
Overview
AddRecordBackupPlan请求参数结构体
Instance Attribute Summary collapse
- #Channels ⇒ Object
- #Describe ⇒ Object
- #LifeCycle ⇒ Object
- #OrganizationId ⇒ Object
- #PlanName ⇒ Object
- #TemplateId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templateid = nil, planname = nil, describe = nil, lifecycle = nil, channels = nil, organizationid = nil) ⇒ AddRecordBackupPlanRequest
constructor
A new instance of AddRecordBackupPlanRequest.
Constructor Details
#initialize(templateid = nil, planname = nil, describe = nil, lifecycle = nil, channels = nil, organizationid = nil) ⇒ AddRecordBackupPlanRequest
Returns a new instance of AddRecordBackupPlanRequest.
577 578 579 580 581 582 583 584 |
# File 'lib/v20230517/models.rb', line 577 def initialize(templateid=nil, planname=nil, describe=nil, lifecycle=nil, channels=nil, organizationid=nil) @TemplateId = templateid @PlanName = planname @Describe = describe @LifeCycle = lifecycle @Channels = channels @OrganizationId = organizationid end |
Instance Attribute Details
#Channels ⇒ Object
575 576 577 |
# File 'lib/v20230517/models.rb', line 575 def Channels @Channels end |
#Describe ⇒ Object
575 576 577 |
# File 'lib/v20230517/models.rb', line 575 def Describe @Describe end |
#LifeCycle ⇒ Object
575 576 577 |
# File 'lib/v20230517/models.rb', line 575 def LifeCycle @LifeCycle end |
#OrganizationId ⇒ Object
575 576 577 |
# File 'lib/v20230517/models.rb', line 575 def OrganizationId @OrganizationId end |
#PlanName ⇒ Object
575 576 577 |
# File 'lib/v20230517/models.rb', line 575 def PlanName @PlanName end |
#TemplateId ⇒ Object
575 576 577 |
# File 'lib/v20230517/models.rb', line 575 def TemplateId @TemplateId end |
Instance Method Details
#deserialize(params) ⇒ Object
586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'lib/v20230517/models.rb', line 586 def deserialize(params) @TemplateId = params['TemplateId'] @PlanName = params['PlanName'] @Describe = params['Describe'] unless params['LifeCycle'].nil? @LifeCycle = LifeCycleData.new @LifeCycle.deserialize(params['LifeCycle']) end unless params['Channels'].nil? @Channels = [] params['Channels'].each do |i| channelinfo_tmp = ChannelInfo.new channelinfo_tmp.deserialize(i) @Channels << channelinfo_tmp end end @OrganizationId = params['OrganizationId'] end |