Class: TencentCloud::Iss::V20230517::AddRecordPlanRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::AddRecordPlanRequest
- Defined in:
- lib/v20230517/models.rb
Overview
AddRecordPlan请求参数结构体
Instance Attribute Summary collapse
- #Channels ⇒ Object
- #Describe ⇒ Object
- #LifeCycle ⇒ Object
- #OrganizationId ⇒ Object
- #PlanName ⇒ Object
- #RepairMode ⇒ Object
- #StreamType ⇒ Object
- #TemplateId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(planname = nil, templateid = nil, lifecycle = nil, describe = nil, streamtype = nil, channels = nil, organizationid = nil, repairmode = nil) ⇒ AddRecordPlanRequest
constructor
A new instance of AddRecordPlanRequest.
Constructor Details
#initialize(planname = nil, templateid = nil, lifecycle = nil, describe = nil, streamtype = nil, channels = nil, organizationid = nil, repairmode = nil) ⇒ AddRecordPlanRequest
Returns a new instance of AddRecordPlanRequest.
769 770 771 772 773 774 775 776 777 778 |
# File 'lib/v20230517/models.rb', line 769 def initialize(planname=nil, templateid=nil, lifecycle=nil, describe=nil, streamtype=nil, channels=nil, organizationid=nil, repairmode=nil) @PlanName = planname @TemplateId = templateid @LifeCycle = lifecycle @Describe = describe @StreamType = streamtype @Channels = channels @OrganizationId = organizationid @RepairMode = repairmode end |
Instance Attribute Details
#Channels ⇒ Object
767 768 769 |
# File 'lib/v20230517/models.rb', line 767 def Channels @Channels end |
#Describe ⇒ Object
767 768 769 |
# File 'lib/v20230517/models.rb', line 767 def Describe @Describe end |
#LifeCycle ⇒ Object
767 768 769 |
# File 'lib/v20230517/models.rb', line 767 def LifeCycle @LifeCycle end |
#OrganizationId ⇒ Object
767 768 769 |
# File 'lib/v20230517/models.rb', line 767 def OrganizationId @OrganizationId end |
#PlanName ⇒ Object
767 768 769 |
# File 'lib/v20230517/models.rb', line 767 def PlanName @PlanName end |
#RepairMode ⇒ Object
767 768 769 |
# File 'lib/v20230517/models.rb', line 767 def RepairMode @RepairMode end |
#StreamType ⇒ Object
767 768 769 |
# File 'lib/v20230517/models.rb', line 767 def StreamType @StreamType end |
#TemplateId ⇒ Object
767 768 769 |
# File 'lib/v20230517/models.rb', line 767 def TemplateId @TemplateId end |
Instance Method Details
#deserialize(params) ⇒ Object
780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 |
# File 'lib/v20230517/models.rb', line 780 def deserialize(params) @PlanName = params['PlanName'] @TemplateId = params['TemplateId'] unless params['LifeCycle'].nil? @LifeCycle = LifeCycleData.new @LifeCycle.deserialize(params['LifeCycle']) end @Describe = params['Describe'] @StreamType = params['StreamType'] 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'] @RepairMode = params['RepairMode'] end |