Class: TencentCloud::Tse::V20201207::CreateGovernanceServicesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::CreateGovernanceServicesRequest
- Defined in:
- lib/v20201207/models.rb
Overview
CreateGovernanceServices请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, governanceservices = nil) ⇒ CreateGovernanceServicesRequest
constructor
A new instance of CreateGovernanceServicesRequest.
Constructor Details
#initialize(instanceid = nil, governanceservices = nil) ⇒ CreateGovernanceServicesRequest
Returns a new instance of CreateGovernanceServicesRequest.
2873 2874 2875 2876 |
# File 'lib/v20201207/models.rb', line 2873 def initialize(instanceid=nil, governanceservices=nil) @InstanceId = instanceid @GovernanceServices = governanceservices end |
Instance Attribute Details
#GovernanceServices ⇒ Object
2871 2872 2873 |
# File 'lib/v20201207/models.rb', line 2871 def GovernanceServices @GovernanceServices end |
#InstanceId ⇒ Object
2871 2872 2873 |
# File 'lib/v20201207/models.rb', line 2871 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 |
# File 'lib/v20201207/models.rb', line 2878 def deserialize(params) @InstanceId = params['InstanceId'] unless params['GovernanceServices'].nil? @GovernanceServices = [] params['GovernanceServices'].each do |i| governanceserviceinput_tmp = GovernanceServiceInput.new governanceserviceinput_tmp.deserialize(i) @GovernanceServices << governanceserviceinput_tmp end end end |