Class: TencentCloud::Dlc::V20210125::DescribeDataEngineEventsResponse

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

Overview

DescribeDataEngineEvents返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(events = nil, page = nil, size = nil, totalpages = nil, totalcount = nil, requestid = nil) ⇒ DescribeDataEngineEventsResponse

Returns a new instance of DescribeDataEngineEventsResponse.



6619
6620
6621
6622
6623
6624
6625
6626
# File 'lib/v20210125/models.rb', line 6619

def initialize(events=nil, page=nil, size=nil, totalpages=nil, totalcount=nil, requestid=nil)
  @Events = events
  @Page = page
  @Size = size
  @TotalPages = totalpages
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#EventsObject

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

Parameters:

  • Events:

    事件详细信息

  • Page:

    分页号

  • Size:

    分页大小

  • TotalPages:

    总页数

  • TotalCount:

    总条数

  • RequestId:

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



6617
6618
6619
# File 'lib/v20210125/models.rb', line 6617

def Events
  @Events
end

#PageObject

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

Parameters:

  • Events:

    事件详细信息

  • Page:

    分页号

  • Size:

    分页大小

  • TotalPages:

    总页数

  • TotalCount:

    总条数

  • RequestId:

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



6617
6618
6619
# File 'lib/v20210125/models.rb', line 6617

def Page
  @Page
end

#RequestIdObject

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

Parameters:

  • Events:

    事件详细信息

  • Page:

    分页号

  • Size:

    分页大小

  • TotalPages:

    总页数

  • TotalCount:

    总条数

  • RequestId:

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



6617
6618
6619
# File 'lib/v20210125/models.rb', line 6617

def RequestId
  @RequestId
end

#SizeObject

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

Parameters:

  • Events:

    事件详细信息

  • Page:

    分页号

  • Size:

    分页大小

  • TotalPages:

    总页数

  • TotalCount:

    总条数

  • RequestId:

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



6617
6618
6619
# File 'lib/v20210125/models.rb', line 6617

def Size
  @Size
end

#TotalCountObject

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

Parameters:

  • Events:

    事件详细信息

  • Page:

    分页号

  • Size:

    分页大小

  • TotalPages:

    总页数

  • TotalCount:

    总条数

  • RequestId:

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



6617
6618
6619
# File 'lib/v20210125/models.rb', line 6617

def TotalCount
  @TotalCount
end

#TotalPagesObject

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

Parameters:

  • Events:

    事件详细信息

  • Page:

    分页号

  • Size:

    分页大小

  • TotalPages:

    总页数

  • TotalCount:

    总条数

  • RequestId:

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



6617
6618
6619
# File 'lib/v20210125/models.rb', line 6617

def TotalPages
  @TotalPages
end

Instance Method Details

#deserialize(params) ⇒ Object



6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
# File 'lib/v20210125/models.rb', line 6628

def deserialize(params)
  unless params['Events'].nil?
    @Events = []
    params['Events'].each do |i|
      houseeventsinfo_tmp = HouseEventsInfo.new
      houseeventsinfo_tmp.deserialize(i)
      @Events << houseeventsinfo_tmp
    end
  end
  @Page = params['Page']
  @Size = params['Size']
  @TotalPages = params['TotalPages']
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end