Class: TencentCloud::Tke::V20180525::DescribeEKSContainerInstanceEventResponse

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

Overview

DescribeEKSContainerInstanceEvent返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(events = nil, eksciid = nil, requestid = nil) ⇒ DescribeEKSContainerInstanceEventResponse

Returns a new instance of DescribeEKSContainerInstanceEventResponse.



7670
7671
7672
7673
7674
# File 'lib/v20180525/models.rb', line 7670

def initialize(events=nil, eksciid=nil, requestid=nil)
  @Events = events
  @EksCiId = eksciid
  @RequestId = requestid
end

Instance Attribute Details

#EksCiIdObject

Parameters:

  • Events:

    事件集合

  • EksCiId:

    容器实例id

  • RequestId:

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



7668
7669
7670
# File 'lib/v20180525/models.rb', line 7668

def EksCiId
  @EksCiId
end

#EventsObject

Parameters:

  • Events:

    事件集合

  • EksCiId:

    容器实例id

  • RequestId:

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



7668
7669
7670
# File 'lib/v20180525/models.rb', line 7668

def Events
  @Events
end

#RequestIdObject

Parameters:

  • Events:

    事件集合

  • EksCiId:

    容器实例id

  • RequestId:

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



7668
7669
7670
# File 'lib/v20180525/models.rb', line 7668

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
# File 'lib/v20180525/models.rb', line 7676

def deserialize(params)
  unless params['Events'].nil?
    @Events = []
    params['Events'].each do |i|
      event_tmp = Event.new
      event_tmp.deserialize(i)
      @Events << event_tmp
    end
  end
  @EksCiId = params['EksCiId']
  @RequestId = params['RequestId']
end