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.
2894 2895 2896 2897 |
# File 'lib/v20201207/models.rb', line 2894 def initialize(instanceid=nil, governanceservices=nil) @InstanceId = instanceid @GovernanceServices = governanceservices end |
Instance Attribute Details
#GovernanceServices ⇒ Object
2892 2893 2894 |
# File 'lib/v20201207/models.rb', line 2892 def GovernanceServices @GovernanceServices end |
#InstanceId ⇒ Object
2892 2893 2894 |
# File 'lib/v20201207/models.rb', line 2892 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 |
# File 'lib/v20201207/models.rb', line 2899 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 |