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.



7129
7130
7131
7132
7133
# File 'lib/v20180525/models.rb', line 7129

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。



7127
7128
7129
# File 'lib/v20180525/models.rb', line 7127

def EksCiId
  @EksCiId
end

#EventsObject

Parameters:

  • Events:

    事件集合

  • EksCiId:

    容器实例id

  • RequestId:

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



7127
7128
7129
# File 'lib/v20180525/models.rb', line 7127

def Events
  @Events
end

#RequestIdObject

Parameters:

  • Events:

    事件集合

  • EksCiId:

    容器实例id

  • RequestId:

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



7127
7128
7129
# File 'lib/v20180525/models.rb', line 7127

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
# File 'lib/v20180525/models.rb', line 7135

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