Class: TencentCloud::Monitor::V20180724::DescribeProductEventListResponse

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

Overview

DescribeProductEventList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(events = nil, overview = nil, total = nil, requestid = nil) ⇒ DescribeProductEventListResponse

Returns a new instance of DescribeProductEventListResponse.



7920
7921
7922
7923
7924
7925
# File 'lib/v20180724/models.rb', line 7920

def initialize(events=nil, overview=nil, total=nil, requestid=nil)
  @Events = events
  @OverView = overview
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#EventsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 事件列表

  • 事件统计

  • 事件总数

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



7918
7919
7920
# File 'lib/v20180724/models.rb', line 7918

def Events
  @Events
end

#OverViewObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 事件列表

  • 事件统计

  • 事件总数

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



7918
7919
7920
# File 'lib/v20180724/models.rb', line 7918

def OverView
  @OverView
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 事件列表

  • 事件统计

  • 事件总数

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



7918
7919
7920
# File 'lib/v20180724/models.rb', line 7918

def RequestId
  @RequestId
end

#TotalObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 事件列表

  • 事件统计

  • 事件总数

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



7918
7919
7920
# File 'lib/v20180724/models.rb', line 7918

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
# File 'lib/v20180724/models.rb', line 7927

def deserialize(params)
  unless params['Events'].nil?
    @Events = []
    params['Events'].each do |i|
      describeproducteventlistevents_tmp = DescribeProductEventListEvents.new
      describeproducteventlistevents_tmp.deserialize(i)
      @Events << describeproducteventlistevents_tmp
    end
  end
  unless params['OverView'].nil?
    @OverView = DescribeProductEventListOverView.new
    @OverView.deserialize(params['OverView'])
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end