Class: TencentCloud::Tke::V20180525::DescribeClusterInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterInstancesRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterInstances请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #Filters ⇒ Object
- #InstanceIds ⇒ Object
- #InstanceRole ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, offset = nil, limit = nil, instanceids = nil, instancerole = nil, filters = nil) ⇒ DescribeClusterInstancesRequest
constructor
A new instance of DescribeClusterInstancesRequest.
Constructor Details
#initialize(clusterid = nil, offset = nil, limit = nil, instanceids = nil, instancerole = nil, filters = nil) ⇒ DescribeClusterInstancesRequest
Returns a new instance of DescribeClusterInstancesRequest.
5923 5924 5925 5926 5927 5928 5929 5930 |
# File 'lib/v20180525/models.rb', line 5923 def initialize(clusterid=nil, offset=nil, limit=nil, instanceids=nil, instancerole=nil, filters=nil) @ClusterId = clusterid @Offset = offset @Limit = limit @InstanceIds = instanceids @InstanceRole = instancerole @Filters = filters end |
Instance Attribute Details
#ClusterId ⇒ Object
5921 5922 5923 |
# File 'lib/v20180525/models.rb', line 5921 def ClusterId @ClusterId end |
#Filters ⇒ Object
5921 5922 5923 |
# File 'lib/v20180525/models.rb', line 5921 def Filters @Filters end |
#InstanceIds ⇒ Object
5921 5922 5923 |
# File 'lib/v20180525/models.rb', line 5921 def InstanceIds @InstanceIds end |
#InstanceRole ⇒ Object
5921 5922 5923 |
# File 'lib/v20180525/models.rb', line 5921 def InstanceRole @InstanceRole end |
#Limit ⇒ Object
5921 5922 5923 |
# File 'lib/v20180525/models.rb', line 5921 def Limit @Limit end |
#Offset ⇒ Object
5921 5922 5923 |
# File 'lib/v20180525/models.rb', line 5921 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 |
# File 'lib/v20180525/models.rb', line 5932 def deserialize(params) @ClusterId = params['ClusterId'] @Offset = params['Offset'] @Limit = params['Limit'] @InstanceIds = params['InstanceIds'] @InstanceRole = params['InstanceRole'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |