Class: TencentCloud::Tse::V20201207::DescribeGovernanceInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeGovernanceInstancesRequest
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeGovernanceInstances请求参数结构体
Instance Attribute Summary collapse
- #HealthStatus ⇒ Object
- #Host ⇒ Object
- #InstanceId ⇒ Object
- #InstanceVersion ⇒ Object
- #Isolate ⇒ Object
- #Limit ⇒ Object
- #Location ⇒ Object
- #Metadatas ⇒ Object
- #Namespace ⇒ Object
- #Offset ⇒ Object
- #Protocol ⇒ Object
- #Service ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(service = nil, namespace = nil, instanceid = nil, host = nil, instanceversion = nil, protocol = nil, healthstatus = nil, isolate = nil, metadatas = nil, offset = nil, limit = nil, location = nil) ⇒ DescribeGovernanceInstancesRequest
constructor
A new instance of DescribeGovernanceInstancesRequest.
Constructor Details
#initialize(service = nil, namespace = nil, instanceid = nil, host = nil, instanceversion = nil, protocol = nil, healthstatus = nil, isolate = nil, metadatas = nil, offset = nil, limit = nil, location = nil) ⇒ DescribeGovernanceInstancesRequest
6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 |
# File 'lib/v20201207/models.rb', line 6001 def initialize(service=nil, namespace=nil, instanceid=nil, host=nil, instanceversion=nil, protocol=nil, healthstatus=nil, isolate=nil, =nil, offset=nil, limit=nil, location=nil) @Service = service @Namespace = namespace @InstanceId = instanceid @Host = host @InstanceVersion = instanceversion @Protocol = protocol @HealthStatus = healthstatus @Isolate = isolate @Metadatas = @Offset = offset @Limit = limit @Location = location end |
Instance Attribute Details
#HealthStatus ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def HealthStatus @HealthStatus end |
#Host ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def Host @Host end |
#InstanceId ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def InstanceId @InstanceId end |
#InstanceVersion ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def InstanceVersion @InstanceVersion end |
#Isolate ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def Isolate @Isolate end |
#Limit ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def Limit @Limit end |
#Location ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def Location @Location end |
#Metadatas ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def Metadatas @Metadatas end |
#Namespace ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def Namespace @Namespace end |
#Offset ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def Offset @Offset end |
#Protocol ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def Protocol @Protocol end |
#Service ⇒ Object
5999 6000 6001 |
# File 'lib/v20201207/models.rb', line 5999 def Service @Service end |
Instance Method Details
#deserialize(params) ⇒ Object
6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 |
# File 'lib/v20201207/models.rb', line 6016 def deserialize(params) @Service = params['Service'] @Namespace = params['Namespace'] @InstanceId = params['InstanceId'] @Host = params['Host'] @InstanceVersion = params['InstanceVersion'] @Protocol = params['Protocol'] @HealthStatus = params['HealthStatus'] @Isolate = params['Isolate'] unless params['Metadatas'].nil? @Metadatas = [] params['Metadatas'].each do |i| = Metadata.new .deserialize(i) @Metadatas << end end @Offset = params['Offset'] @Limit = params['Limit'] unless params['Location'].nil? @Location = Location.new @Location.deserialize(params['Location']) end end |