Class: TencentCloud::Tke::V20180525::DescribeClustersRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClustersRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusters请求参数结构体
Instance Attribute Summary collapse
-
#ClusterIds ⇒ Object
表示获取账号下所有集群).
-
#ClusterType ⇒ Object
表示获取账号下所有集群).
-
#Filters ⇒ Object
表示获取账号下所有集群).
-
#Limit ⇒ Object
表示获取账号下所有集群).
-
#Offset ⇒ Object
表示获取账号下所有集群).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterids = nil, offset = nil, limit = nil, filters = nil, clustertype = nil) ⇒ DescribeClustersRequest
constructor
A new instance of DescribeClustersRequest.
Constructor Details
#initialize(clusterids = nil, offset = nil, limit = nil, filters = nil, clustertype = nil) ⇒ DescribeClustersRequest
Returns a new instance of DescribeClustersRequest.
6852 6853 6854 6855 6856 6857 6858 |
# File 'lib/v20180525/models.rb', line 6852 def initialize(clusterids=nil, offset=nil, limit=nil, filters=nil, clustertype=nil) @ClusterIds = clusterids @Offset = offset @Limit = limit @Filters = filters @ClusterType = clustertype end |
Instance Attribute Details
#ClusterIds ⇒ Object
表示获取账号下所有集群)
6850 6851 6852 |
# File 'lib/v20180525/models.rb', line 6850 def ClusterIds @ClusterIds end |
#ClusterType ⇒ Object
表示获取账号下所有集群)
6850 6851 6852 |
# File 'lib/v20180525/models.rb', line 6850 def ClusterType @ClusterType end |
#Filters ⇒ Object
表示获取账号下所有集群)
6850 6851 6852 |
# File 'lib/v20180525/models.rb', line 6850 def Filters @Filters end |
#Limit ⇒ Object
表示获取账号下所有集群)
6850 6851 6852 |
# File 'lib/v20180525/models.rb', line 6850 def Limit @Limit end |
#Offset ⇒ Object
表示获取账号下所有集群)
6850 6851 6852 |
# File 'lib/v20180525/models.rb', line 6850 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 |
# File 'lib/v20180525/models.rb', line 6860 def deserialize(params) @ClusterIds = params['ClusterIds'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @ClusterType = params['ClusterType'] end |