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.
6955 6956 6957 6958 6959 6960 6961 6962 6963 |
# File 'lib/v20180525/models.rb', line 6955 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
6953 6954 6955 |
# File 'lib/v20180525/models.rb', line 6953 def Addresses @Addresses end |
#Credential ⇒ Object
6953 6954 6955 |
# File 'lib/v20180525/models.rb', line 6953 def Credential @Credential end |
#InternalLB ⇒ Object
6953 6954 6955 |
# File 'lib/v20180525/models.rb', line 6953 def InternalLB @InternalLB end |
#Kubeconfig ⇒ Object
6953 6954 6955 |
# File 'lib/v20180525/models.rb', line 6953 def Kubeconfig @Kubeconfig end |
#ProxyLB ⇒ Object
6953 6954 6955 |
# File 'lib/v20180525/models.rb', line 6953 def ProxyLB @ProxyLB end |
#PublicLB ⇒ Object
6953 6954 6955 |
# File 'lib/v20180525/models.rb', line 6953 def PublicLB @PublicLB end |
#RequestId ⇒ Object
6953 6954 6955 |
# File 'lib/v20180525/models.rb', line 6953 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 |
# File 'lib/v20180525/models.rb', line 6965 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 |