Class: TencentCloud::Ivld::V20210903::DescribeCustomPersonsResponse

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

Overview

DescribeCustomPersons返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, personinfoset = nil, requestid = nil) ⇒ DescribeCustomPersonsResponse

Returns a new instance of DescribeCustomPersonsResponse.



1099
1100
1101
1102
1103
# File 'lib/v20210903/models.rb', line 1099

def initialize(totalcount=nil, personinfoset=nil, requestid=nil)
  @TotalCount = totalcount
  @PersonInfoSet = personinfoset
  @RequestId = requestid
end

Instance Attribute Details

#PersonInfoSetObject

Parameters:

  • TotalCount:

    满足过滤条件的自定义人物数量

  • PersonInfoSet:

    自定义人物信息

  • RequestId:

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



1097
1098
1099
# File 'lib/v20210903/models.rb', line 1097

def PersonInfoSet
  @PersonInfoSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    满足过滤条件的自定义人物数量

  • PersonInfoSet:

    自定义人物信息

  • RequestId:

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



1097
1098
1099
# File 'lib/v20210903/models.rb', line 1097

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    满足过滤条件的自定义人物数量

  • PersonInfoSet:

    自定义人物信息

  • RequestId:

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



1097
1098
1099
# File 'lib/v20210903/models.rb', line 1097

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
# File 'lib/v20210903/models.rb', line 1105

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['PersonInfoSet'].nil?
    @PersonInfoSet = []
    params['PersonInfoSet'].each do |i|
      custompersoninfo_tmp = CustomPersonInfo.new
      custompersoninfo_tmp.deserialize(i)
      @PersonInfoSet << custompersoninfo_tmp
    end
  end
  @RequestId = params['RequestId']
end