
com.tencentcloudapi.tiia.v20190529.models.CreateGroupRequest 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.tiia.v20190529.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateGroupRequest extends AbstractModel{
/**
* 图库ID,不可重复,仅支持字母、数字和下划线。图库数量单个用户上限为30。
*/
@SerializedName("GroupId")
@Expose
private String GroupId;
/**
* 图库名称描述。
*/
@SerializedName("GroupName")
@Expose
private String GroupName;
/**
* 图片库可容纳的最大图片特征条数,一张图片对应一条图片特征数据,不支持修改。
单个图片库容量最大可达亿级,达到容量限制后继续创建图片将会报错。
注意,包月计费下支持绑定的最小库容量为500万。
*/
@SerializedName("MaxCapacity")
@Expose
private Long MaxCapacity;
/**
* 图库简介。
*/
@SerializedName("Brief")
@Expose
private String Brief;
/**
* 访问限制默认为10qps,如需扩容请联系[在线客服](https://cloud.tencent.com/online-service)申请。
*/
@SerializedName("MaxQps")
@Expose
private Long MaxQps;
/**
* 图库类型,用于决定图像搜索的服务类型和算法版本,默认为4。
GroupType不支持修改,若不确定适用的服务类型,建议先对不同类型分别小规模测试后再开始正式使用。
参数取值:
4:通用图像搜索1.0版。
7:商品图像搜索2.0升级版。
5:商品图像搜索1.0版。
6:图案花纹搜索1.0版。
1 - 3:通用图像搜索旧版,不推荐使用。
*/
@SerializedName("GroupType")
@Expose
private Long GroupType;
/**
* Get 图库ID,不可重复,仅支持字母、数字和下划线。图库数量单个用户上限为30。
* @return GroupId 图库ID,不可重复,仅支持字母、数字和下划线。图库数量单个用户上限为30。
*/
public String getGroupId() {
return this.GroupId;
}
/**
* Set 图库ID,不可重复,仅支持字母、数字和下划线。图库数量单个用户上限为30。
* @param GroupId 图库ID,不可重复,仅支持字母、数字和下划线。图库数量单个用户上限为30。
*/
public void setGroupId(String GroupId) {
this.GroupId = GroupId;
}
/**
* Get 图库名称描述。
* @return GroupName 图库名称描述。
*/
public String getGroupName() {
return this.GroupName;
}
/**
* Set 图库名称描述。
* @param GroupName 图库名称描述。
*/
public void setGroupName(String GroupName) {
this.GroupName = GroupName;
}
/**
* Get 图片库可容纳的最大图片特征条数,一张图片对应一条图片特征数据,不支持修改。
单个图片库容量最大可达亿级,达到容量限制后继续创建图片将会报错。
注意,包月计费下支持绑定的最小库容量为500万。
* @return MaxCapacity 图片库可容纳的最大图片特征条数,一张图片对应一条图片特征数据,不支持修改。
单个图片库容量最大可达亿级,达到容量限制后继续创建图片将会报错。
注意,包月计费下支持绑定的最小库容量为500万。
*/
public Long getMaxCapacity() {
return this.MaxCapacity;
}
/**
* Set 图片库可容纳的最大图片特征条数,一张图片对应一条图片特征数据,不支持修改。
单个图片库容量最大可达亿级,达到容量限制后继续创建图片将会报错。
注意,包月计费下支持绑定的最小库容量为500万。
* @param MaxCapacity 图片库可容纳的最大图片特征条数,一张图片对应一条图片特征数据,不支持修改。
单个图片库容量最大可达亿级,达到容量限制后继续创建图片将会报错。
注意,包月计费下支持绑定的最小库容量为500万。
*/
public void setMaxCapacity(Long MaxCapacity) {
this.MaxCapacity = MaxCapacity;
}
/**
* Get 图库简介。
* @return Brief 图库简介。
*/
public String getBrief() {
return this.Brief;
}
/**
* Set 图库简介。
* @param Brief 图库简介。
*/
public void setBrief(String Brief) {
this.Brief = Brief;
}
/**
* Get 访问限制默认为10qps,如需扩容请联系[在线客服](https://cloud.tencent.com/online-service)申请。
* @return MaxQps 访问限制默认为10qps,如需扩容请联系[在线客服](https://cloud.tencent.com/online-service)申请。
*/
public Long getMaxQps() {
return this.MaxQps;
}
/**
* Set 访问限制默认为10qps,如需扩容请联系[在线客服](https://cloud.tencent.com/online-service)申请。
* @param MaxQps 访问限制默认为10qps,如需扩容请联系[在线客服](https://cloud.tencent.com/online-service)申请。
*/
public void setMaxQps(Long MaxQps) {
this.MaxQps = MaxQps;
}
/**
* Get 图库类型,用于决定图像搜索的服务类型和算法版本,默认为4。
GroupType不支持修改,若不确定适用的服务类型,建议先对不同类型分别小规模测试后再开始正式使用。
参数取值:
4:通用图像搜索1.0版。
7:商品图像搜索2.0升级版。
5:商品图像搜索1.0版。
6:图案花纹搜索1.0版。
1 - 3:通用图像搜索旧版,不推荐使用。
* @return GroupType 图库类型,用于决定图像搜索的服务类型和算法版本,默认为4。
GroupType不支持修改,若不确定适用的服务类型,建议先对不同类型分别小规模测试后再开始正式使用。
参数取值:
4:通用图像搜索1.0版。
7:商品图像搜索2.0升级版。
5:商品图像搜索1.0版。
6:图案花纹搜索1.0版。
1 - 3:通用图像搜索旧版,不推荐使用。
*/
public Long getGroupType() {
return this.GroupType;
}
/**
* Set 图库类型,用于决定图像搜索的服务类型和算法版本,默认为4。
GroupType不支持修改,若不确定适用的服务类型,建议先对不同类型分别小规模测试后再开始正式使用。
参数取值:
4:通用图像搜索1.0版。
7:商品图像搜索2.0升级版。
5:商品图像搜索1.0版。
6:图案花纹搜索1.0版。
1 - 3:通用图像搜索旧版,不推荐使用。
* @param GroupType 图库类型,用于决定图像搜索的服务类型和算法版本,默认为4。
GroupType不支持修改,若不确定适用的服务类型,建议先对不同类型分别小规模测试后再开始正式使用。
参数取值:
4:通用图像搜索1.0版。
7:商品图像搜索2.0升级版。
5:商品图像搜索1.0版。
6:图案花纹搜索1.0版。
1 - 3:通用图像搜索旧版,不推荐使用。
*/
public void setGroupType(Long GroupType) {
this.GroupType = GroupType;
}
public CreateGroupRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public CreateGroupRequest(CreateGroupRequest source) {
if (source.GroupId != null) {
this.GroupId = new String(source.GroupId);
}
if (source.GroupName != null) {
this.GroupName = new String(source.GroupName);
}
if (source.MaxCapacity != null) {
this.MaxCapacity = new Long(source.MaxCapacity);
}
if (source.Brief != null) {
this.Brief = new String(source.Brief);
}
if (source.MaxQps != null) {
this.MaxQps = new Long(source.MaxQps);
}
if (source.GroupType != null) {
this.GroupType = new Long(source.GroupType);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "GroupId", this.GroupId);
this.setParamSimple(map, prefix + "GroupName", this.GroupName);
this.setParamSimple(map, prefix + "MaxCapacity", this.MaxCapacity);
this.setParamSimple(map, prefix + "Brief", this.Brief);
this.setParamSimple(map, prefix + "MaxQps", this.MaxQps);
this.setParamSimple(map, prefix + "GroupType", this.GroupType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy