Class: TencentCloud::Tke::V20180525::DescribeClusterControllersResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

DescribeClusterControllers返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(controllerstatusset = nil, requestid = nil) ⇒ DescribeClusterControllersResponse

Returns a new instance of DescribeClusterControllersResponse.



5613
5614
5615
5616
# File 'lib/v20180525/models.rb', line 5613

def initialize(controllerstatusset=nil, requestid=nil)
  @ControllerStatusSet = controllerstatusset
  @RequestId = requestid
end

Instance Attribute Details

#ControllerStatusSetObject

Parameters:

  • ControllerStatusSet:

    描述集群中各个控制器的状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5611
5612
5613
# File 'lib/v20180525/models.rb', line 5611

def ControllerStatusSet
  @ControllerStatusSet
end

#RequestIdObject

Parameters:

  • ControllerStatusSet:

    描述集群中各个控制器的状态

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5611
5612
5613
# File 'lib/v20180525/models.rb', line 5611

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
# File 'lib/v20180525/models.rb', line 5618

def deserialize(params)
  unless params['ControllerStatusSet'].nil?
    @ControllerStatusSet = []
    params['ControllerStatusSet'].each do |i|
      controllerstatus_tmp = ControllerStatus.new
      controllerstatus_tmp.deserialize(i)
      @ControllerStatusSet << controllerstatus_tmp
    end
  end
  @RequestId = params['RequestId']
end