Class: TencentCloud::Tke::V20180525::DescribeTKEEdgeClusterStatusResponse

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

Overview

DescribeTKEEdgeClusterStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(phase = nil, conditions = nil, requestid = nil) ⇒ DescribeTKEEdgeClusterStatusResponse

Returns a new instance of DescribeTKEEdgeClusterStatusResponse.



10247
10248
10249
10250
10251
# File 'lib/v20180525/models.rb', line 10247

def initialize(phase=nil, conditions=nil, requestid=nil)
  @Phase = phase
  @Conditions = conditions
  @RequestId = requestid
end

Instance Attribute Details

#ConditionsObject

Parameters:

  • Phase:

    集群当前状态

  • Conditions:

    集群过程数组

  • RequestId:

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



10245
10246
10247
# File 'lib/v20180525/models.rb', line 10245

def Conditions
  @Conditions
end

#PhaseObject

Parameters:

  • Phase:

    集群当前状态

  • Conditions:

    集群过程数组

  • RequestId:

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



10245
10246
10247
# File 'lib/v20180525/models.rb', line 10245

def Phase
  @Phase
end

#RequestIdObject

Parameters:

  • Phase:

    集群当前状态

  • Conditions:

    集群过程数组

  • RequestId:

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



10245
10246
10247
# File 'lib/v20180525/models.rb', line 10245

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
# File 'lib/v20180525/models.rb', line 10253

def deserialize(params)
  @Phase = params['Phase']
  unless params['Conditions'].nil?
    @Conditions = []
    params['Conditions'].each do |i|
      clustercondition_tmp = ClusterCondition.new
      clustercondition_tmp.deserialize(i)
      @Conditions << clustercondition_tmp
    end
  end
  @RequestId = params['RequestId']
end