com.tencentcloudapi.youmall.v20180228.models.DescribePersonInfoRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-youmall Show documentation
Show all versions of tencentcloud-sdk-java-youmall Show documentation
Tencent Cloud Open API SDK for Java
/*
* 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.youmall.v20180228.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribePersonInfoRequest extends AbstractModel{
/**
* 公司ID
*/
@SerializedName("CompanyId")
@Expose
private String CompanyId;
/**
* 门店ID
*/
@SerializedName("ShopId")
@Expose
private Long ShopId;
/**
* 起始ID,第一次拉取时StartPersonId传0,后续送入的值为上一页最后一条数据项的PersonId
*/
@SerializedName("StartPersonId")
@Expose
private Long StartPersonId;
/**
* 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* Limit:每页的数据项,最大100,超过100会被强制指定为100
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
*/
@SerializedName("PictureExpires")
@Expose
private Long PictureExpires;
/**
* 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
*/
@SerializedName("PersonType")
@Expose
private Long PersonType;
/**
* Get 公司ID
* @return CompanyId 公司ID
*/
public String getCompanyId() {
return this.CompanyId;
}
/**
* Set 公司ID
* @param CompanyId 公司ID
*/
public void setCompanyId(String CompanyId) {
this.CompanyId = CompanyId;
}
/**
* Get 门店ID
* @return ShopId 门店ID
*/
public Long getShopId() {
return this.ShopId;
}
/**
* Set 门店ID
* @param ShopId 门店ID
*/
public void setShopId(Long ShopId) {
this.ShopId = ShopId;
}
/**
* Get 起始ID,第一次拉取时StartPersonId传0,后续送入的值为上一页最后一条数据项的PersonId
* @return StartPersonId 起始ID,第一次拉取时StartPersonId传0,后续送入的值为上一页最后一条数据项的PersonId
*/
public Long getStartPersonId() {
return this.StartPersonId;
}
/**
* Set 起始ID,第一次拉取时StartPersonId传0,后续送入的值为上一页最后一条数据项的PersonId
* @param StartPersonId 起始ID,第一次拉取时StartPersonId传0,后续送入的值为上一页最后一条数据项的PersonId
*/
public void setStartPersonId(Long StartPersonId) {
this.StartPersonId = StartPersonId;
}
/**
* Get 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
* @return Offset 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
* @param Offset 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
/**
* Get Limit:每页的数据项,最大100,超过100会被强制指定为100
* @return Limit Limit:每页的数据项,最大100,超过100会被强制指定为100
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set Limit:每页的数据项,最大100,超过100会被强制指定为100
* @param Limit Limit:每页的数据项,最大100,超过100会被强制指定为100
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
* @return PictureExpires 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
*/
public Long getPictureExpires() {
return this.PictureExpires;
}
/**
* Set 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
* @param PictureExpires 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
*/
public void setPictureExpires(Long PictureExpires) {
this.PictureExpires = PictureExpires;
}
/**
* Get 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
* @return PersonType 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
*/
public Long getPersonType() {
return this.PersonType;
}
/**
* Set 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
* @param PersonType 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
*/
public void setPersonType(Long PersonType) {
this.PersonType = PersonType;
}
public DescribePersonInfoRequest() {
}
/**
* 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 DescribePersonInfoRequest(DescribePersonInfoRequest source) {
if (source.CompanyId != null) {
this.CompanyId = new String(source.CompanyId);
}
if (source.ShopId != null) {
this.ShopId = new Long(source.ShopId);
}
if (source.StartPersonId != null) {
this.StartPersonId = new Long(source.StartPersonId);
}
if (source.Offset != null) {
this.Offset = new Long(source.Offset);
}
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
if (source.PictureExpires != null) {
this.PictureExpires = new Long(source.PictureExpires);
}
if (source.PersonType != null) {
this.PersonType = new Long(source.PersonType);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CompanyId", this.CompanyId);
this.setParamSimple(map, prefix + "ShopId", this.ShopId);
this.setParamSimple(map, prefix + "StartPersonId", this.StartPersonId);
this.setParamSimple(map, prefix + "Offset", this.Offset);
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamSimple(map, prefix + "PictureExpires", this.PictureExpires);
this.setParamSimple(map, prefix + "PersonType", this.PersonType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy