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.
7535 7536 7537 7538 7539 7540 7541 7542 7543 |
# File 'lib/v20180525/models.rb', line 7535 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
7533 7534 7535 |
# File 'lib/v20180525/models.rb', line 7533 def Addresses @Addresses end |
#Credential ⇒ Object
7533 7534 7535 |
# File 'lib/v20180525/models.rb', line 7533 def Credential @Credential end |
#InternalLB ⇒ Object
7533 7534 7535 |
# File 'lib/v20180525/models.rb', line 7533 def InternalLB @InternalLB end |
#Kubeconfig ⇒ Object
7533 7534 7535 |
# File 'lib/v20180525/models.rb', line 7533 def Kubeconfig @Kubeconfig end |
#ProxyLB ⇒ Object
7533 7534 7535 |
# File 'lib/v20180525/models.rb', line 7533 def ProxyLB @ProxyLB end |
#PublicLB ⇒ Object
7533 7534 7535 |
# File 'lib/v20180525/models.rb', line 7533 def PublicLB @PublicLB end |
#RequestId ⇒ Object
7533 7534 7535 |
# File 'lib/v20180525/models.rb', line 7533 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 |
# File 'lib/v20180525/models.rb', line 7545 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 |