Class: TencentCloud::Tke::V20180525::DescribeEKSClusterCredentialResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeEKSClusterCredentialResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeEKSClusterCredential返回参数结构体
Instance Attribute Summary collapse
- #Addresses ⇒ Object
- #Credential ⇒ Object
- #InternalLB ⇒ Object
- #Kubeconfig ⇒ Object
- #ProxyLB ⇒ Object
- #PublicLB ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(addresses = nil, credential = nil, publiclb = nil, internallb = nil, proxylb = nil, kubeconfig = nil, requestid = nil) ⇒ DescribeEKSClusterCredentialResponse
constructor
A new instance of DescribeEKSClusterCredentialResponse.
Constructor Details
#initialize(addresses = nil, credential = nil, publiclb = nil, internallb = nil, proxylb = nil, kubeconfig = nil, requestid = nil) ⇒ DescribeEKSClusterCredentialResponse
Returns a new instance of DescribeEKSClusterCredentialResponse.
6994 6995 6996 6997 6998 6999 7000 7001 7002 |
# File 'lib/v20180525/models.rb', line 6994 def initialize(addresses=nil, credential=nil, publiclb=nil, internallb=nil, proxylb=nil, kubeconfig=nil, requestid=nil) @Addresses = addresses @Credential = credential @PublicLB = publiclb @InternalLB = internallb @ProxyLB = proxylb @Kubeconfig = kubeconfig @RequestId = requestid end |
Instance Attribute Details
#Addresses ⇒ Object
6992 6993 6994 |
# File 'lib/v20180525/models.rb', line 6992 def Addresses @Addresses end |
#Credential ⇒ Object
6992 6993 6994 |
# File 'lib/v20180525/models.rb', line 6992 def Credential @Credential end |
#InternalLB ⇒ Object
6992 6993 6994 |
# File 'lib/v20180525/models.rb', line 6992 def InternalLB @InternalLB end |
#Kubeconfig ⇒ Object
6992 6993 6994 |
# File 'lib/v20180525/models.rb', line 6992 def Kubeconfig @Kubeconfig end |
#ProxyLB ⇒ Object
6992 6993 6994 |
# File 'lib/v20180525/models.rb', line 6992 def ProxyLB @ProxyLB end |
#PublicLB ⇒ Object
6992 6993 6994 |
# File 'lib/v20180525/models.rb', line 6992 def PublicLB @PublicLB end |
#RequestId ⇒ Object
6992 6993 6994 |
# File 'lib/v20180525/models.rb', line 6992 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 |
# File 'lib/v20180525/models.rb', line 7004 def deserialize(params) unless params['Addresses'].nil? @Addresses = [] params['Addresses'].each do |i| ipaddress_tmp = IPAddress.new ipaddress_tmp.deserialize(i) @Addresses << ipaddress_tmp end end unless params['Credential'].nil? @Credential = ClusterCredential.new @Credential.deserialize(params['Credential']) end unless params['PublicLB'].nil? @PublicLB = ClusterPublicLB.new @PublicLB.deserialize(params['PublicLB']) end unless params['InternalLB'].nil? @InternalLB = ClusterInternalLB.new @InternalLB.deserialize(params['InternalLB']) end @ProxyLB = params['ProxyLB'] @Kubeconfig = params['Kubeconfig'] @RequestId = params['RequestId'] end |