All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.mps.v20190612.models.DescribePersonSamplesRequest Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.mps.v20190612.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribePersonSamplesRequest extends AbstractModel{

    /**
    * 拉取的人物类型,可选值:
  • UserDefine:用户自定义人物库;
  • Default:系统默认人物库。
  • 默认值:UserDefine,拉取用户自定义人物库人物。 说明:如果是拉取系统默认人物库,只能使用人物名字或者人物 ID + 人物名字的方式进行拉取,且人脸图片只返回一张。 */ @SerializedName("Type") @Expose private String Type; /** * 人物 ID,数组长度限制:100。 */ @SerializedName("PersonIds") @Expose private String [] PersonIds; /** * 人物名称,数组长度限制:20。 */ @SerializedName("Names") @Expose private String [] Names; /** * 人物标签,数组长度限制:20。 */ @SerializedName("Tags") @Expose private String [] Tags; /** * 分页偏移量,默认值:0。 */ @SerializedName("Offset") @Expose private Long Offset; /** * 返回记录条数,默认值:100,最大值:100。 */ @SerializedName("Limit") @Expose private Long Limit; /** * Get 拉取的人物类型,可选值:
  • UserDefine:用户自定义人物库;
  • Default:系统默认人物库。
  • 默认值:UserDefine,拉取用户自定义人物库人物。 说明:如果是拉取系统默认人物库,只能使用人物名字或者人物 ID + 人物名字的方式进行拉取,且人脸图片只返回一张。 * @return Type 拉取的人物类型,可选值:
  • UserDefine:用户自定义人物库;
  • Default:系统默认人物库。
  • 默认值:UserDefine,拉取用户自定义人物库人物。 说明:如果是拉取系统默认人物库,只能使用人物名字或者人物 ID + 人物名字的方式进行拉取,且人脸图片只返回一张。 */ public String getType() { return this.Type; } /** * Set 拉取的人物类型,可选值:
  • UserDefine:用户自定义人物库;
  • Default:系统默认人物库。
  • 默认值:UserDefine,拉取用户自定义人物库人物。 说明:如果是拉取系统默认人物库,只能使用人物名字或者人物 ID + 人物名字的方式进行拉取,且人脸图片只返回一张。 * @param Type 拉取的人物类型,可选值:
  • UserDefine:用户自定义人物库;
  • Default:系统默认人物库。
  • 默认值:UserDefine,拉取用户自定义人物库人物。 说明:如果是拉取系统默认人物库,只能使用人物名字或者人物 ID + 人物名字的方式进行拉取,且人脸图片只返回一张。 */ public void setType(String Type) { this.Type = Type; } /** * Get 人物 ID,数组长度限制:100。 * @return PersonIds 人物 ID,数组长度限制:100。 */ public String [] getPersonIds() { return this.PersonIds; } /** * Set 人物 ID,数组长度限制:100。 * @param PersonIds 人物 ID,数组长度限制:100。 */ public void setPersonIds(String [] PersonIds) { this.PersonIds = PersonIds; } /** * Get 人物名称,数组长度限制:20。 * @return Names 人物名称,数组长度限制:20。 */ public String [] getNames() { return this.Names; } /** * Set 人物名称,数组长度限制:20。 * @param Names 人物名称,数组长度限制:20。 */ public void setNames(String [] Names) { this.Names = Names; } /** * Get 人物标签,数组长度限制:20。 * @return Tags 人物标签,数组长度限制:20。 */ public String [] getTags() { return this.Tags; } /** * Set 人物标签,数组长度限制:20。 * @param Tags 人物标签,数组长度限制:20。 */ public void setTags(String [] Tags) { this.Tags = Tags; } /** * Get 分页偏移量,默认值:0。 * @return Offset 分页偏移量,默认值:0。 */ public Long getOffset() { return this.Offset; } /** * Set 分页偏移量,默认值:0。 * @param Offset 分页偏移量,默认值:0。 */ public void setOffset(Long Offset) { this.Offset = Offset; } /** * Get 返回记录条数,默认值:100,最大值:100。 * @return Limit 返回记录条数,默认值:100,最大值:100。 */ public Long getLimit() { return this.Limit; } /** * Set 返回记录条数,默认值:100,最大值:100。 * @param Limit 返回记录条数,默认值:100,最大值:100。 */ public void setLimit(Long Limit) { this.Limit = Limit; } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Type", this.Type); this.setParamArraySimple(map, prefix + "PersonIds.", this.PersonIds); this.setParamArraySimple(map, prefix + "Names.", this.Names); this.setParamArraySimple(map, prefix + "Tags.", this.Tags); this.setParamSimple(map, prefix + "Offset", this.Offset); this.setParamSimple(map, prefix + "Limit", this.Limit); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy