Class: TencentCloud::Wav::V20210129::QueryCustomerProfileListResponse

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

Overview

QueryCustomerProfileList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nextcursor = nil, pagedata = nil, requestid = nil) ⇒ QueryCustomerProfileListResponse

Returns a new instance of QueryCustomerProfileListResponse.



2466
2467
2468
2469
2470
# File 'lib/v20210129/models.rb', line 2466

def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
  @NextCursor = nextcursor
  @PageData = pagedata
  @RequestId = requestid
end

Instance Attribute Details

#NextCursorObject

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

Parameters:

  • NextCursor:

    分页游标,下次调用带上该值,则从当前的位置继续往后拉,以实现增量拉取。

  • PageData:

    潜客客户存档信息

  • RequestId:

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



2464
2465
2466
# File 'lib/v20210129/models.rb', line 2464

def NextCursor
  @NextCursor
end

#PageDataObject

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

Parameters:

  • NextCursor:

    分页游标,下次调用带上该值,则从当前的位置继续往后拉,以实现增量拉取。

  • PageData:

    潜客客户存档信息

  • RequestId:

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



2464
2465
2466
# File 'lib/v20210129/models.rb', line 2464

def PageData
  @PageData
end

#RequestIdObject

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

Parameters:

  • NextCursor:

    分页游标,下次调用带上该值,则从当前的位置继续往后拉,以实现增量拉取。

  • PageData:

    潜客客户存档信息

  • RequestId:

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



2464
2465
2466
# File 'lib/v20210129/models.rb', line 2464

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
# File 'lib/v20210129/models.rb', line 2472

def deserialize(params)
  @NextCursor = params['NextCursor']
  unless params['PageData'].nil?
    @PageData = []
    params['PageData'].each do |i|
      customerprofile_tmp = CustomerProfile.new
      customerprofile_tmp.deserialize(i)
      @PageData << customerprofile_tmp
    end
  end
  @RequestId = params['RequestId']
end