com.tencentcloudapi.youmall.v20180228.models.PersonInfo 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 PersonInfo extends AbstractModel{
/**
* 用户ID
*/
@SerializedName("PersonId")
@Expose
private Long PersonId;
/**
* 人脸图片Base64内容,已弃用,返回默认空值
*/
@SerializedName("PersonPicture")
@Expose
private String PersonPicture;
/**
* 性别:0男1女
*/
@SerializedName("Gender")
@Expose
private Long Gender;
/**
* 年龄
*/
@SerializedName("Age")
@Expose
private Long Age;
/**
* 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
*/
@SerializedName("PersonType")
@Expose
private Long PersonType;
/**
* 人脸图片Url,在有效期内可以访问下载
*/
@SerializedName("PersonPictureUrl")
@Expose
private String PersonPictureUrl;
/**
* 身份子类型:
PersonType=0时(普通顾客),0普通顾客
PersonType=1时(白名单),0店员,1商场人员,2其他类型人员,3区域经理,4注册用户,5VIP用户
PersonType=2时(黑名单),0普通黑名单,1小偷)
*/
@SerializedName("PersonSubType")
@Expose
private Long PersonSubType;
/**
* 到访次数,-1表示未知
*/
@SerializedName("VisitTimes")
@Expose
private Long VisitTimes;
/**
* 到访天数,-1表示未知
*/
@SerializedName("VisitDays")
@Expose
private Long VisitDays;
/**
* Get 用户ID
* @return PersonId 用户ID
*/
public Long getPersonId() {
return this.PersonId;
}
/**
* Set 用户ID
* @param PersonId 用户ID
*/
public void setPersonId(Long PersonId) {
this.PersonId = PersonId;
}
/**
* Get 人脸图片Base64内容,已弃用,返回默认空值
* @return PersonPicture 人脸图片Base64内容,已弃用,返回默认空值
*/
public String getPersonPicture() {
return this.PersonPicture;
}
/**
* Set 人脸图片Base64内容,已弃用,返回默认空值
* @param PersonPicture 人脸图片Base64内容,已弃用,返回默认空值
*/
public void setPersonPicture(String PersonPicture) {
this.PersonPicture = PersonPicture;
}
/**
* Get 性别:0男1女
* @return Gender 性别:0男1女
*/
public Long getGender() {
return this.Gender;
}
/**
* Set 性别:0男1女
* @param Gender 性别:0男1女
*/
public void setGender(Long Gender) {
this.Gender = Gender;
}
/**
* Get 年龄
* @return Age 年龄
*/
public Long getAge() {
return this.Age;
}
/**
* Set 年龄
* @param Age 年龄
*/
public void setAge(Long Age) {
this.Age = Age;
}
/**
* 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;
}
/**
* Get 人脸图片Url,在有效期内可以访问下载
* @return PersonPictureUrl 人脸图片Url,在有效期内可以访问下载
*/
public String getPersonPictureUrl() {
return this.PersonPictureUrl;
}
/**
* Set 人脸图片Url,在有效期内可以访问下载
* @param PersonPictureUrl 人脸图片Url,在有效期内可以访问下载
*/
public void setPersonPictureUrl(String PersonPictureUrl) {
this.PersonPictureUrl = PersonPictureUrl;
}
/**
* Get 身份子类型:
PersonType=0时(普通顾客),0普通顾客
PersonType=1时(白名单),0店员,1商场人员,2其他类型人员,3区域经理,4注册用户,5VIP用户
PersonType=2时(黑名单),0普通黑名单,1小偷)
* @return PersonSubType 身份子类型:
PersonType=0时(普通顾客),0普通顾客
PersonType=1时(白名单),0店员,1商场人员,2其他类型人员,3区域经理,4注册用户,5VIP用户
PersonType=2时(黑名单),0普通黑名单,1小偷)
*/
public Long getPersonSubType() {
return this.PersonSubType;
}
/**
* Set 身份子类型:
PersonType=0时(普通顾客),0普通顾客
PersonType=1时(白名单),0店员,1商场人员,2其他类型人员,3区域经理,4注册用户,5VIP用户
PersonType=2时(黑名单),0普通黑名单,1小偷)
* @param PersonSubType 身份子类型:
PersonType=0时(普通顾客),0普通顾客
PersonType=1时(白名单),0店员,1商场人员,2其他类型人员,3区域经理,4注册用户,5VIP用户
PersonType=2时(黑名单),0普通黑名单,1小偷)
*/
public void setPersonSubType(Long PersonSubType) {
this.PersonSubType = PersonSubType;
}
/**
* Get 到访次数,-1表示未知
* @return VisitTimes 到访次数,-1表示未知
*/
public Long getVisitTimes() {
return this.VisitTimes;
}
/**
* Set 到访次数,-1表示未知
* @param VisitTimes 到访次数,-1表示未知
*/
public void setVisitTimes(Long VisitTimes) {
this.VisitTimes = VisitTimes;
}
/**
* Get 到访天数,-1表示未知
* @return VisitDays 到访天数,-1表示未知
*/
public Long getVisitDays() {
return this.VisitDays;
}
/**
* Set 到访天数,-1表示未知
* @param VisitDays 到访天数,-1表示未知
*/
public void setVisitDays(Long VisitDays) {
this.VisitDays = VisitDays;
}
public PersonInfo() {
}
/**
* 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 PersonInfo(PersonInfo source) {
if (source.PersonId != null) {
this.PersonId = new Long(source.PersonId);
}
if (source.PersonPicture != null) {
this.PersonPicture = new String(source.PersonPicture);
}
if (source.Gender != null) {
this.Gender = new Long(source.Gender);
}
if (source.Age != null) {
this.Age = new Long(source.Age);
}
if (source.PersonType != null) {
this.PersonType = new Long(source.PersonType);
}
if (source.PersonPictureUrl != null) {
this.PersonPictureUrl = new String(source.PersonPictureUrl);
}
if (source.PersonSubType != null) {
this.PersonSubType = new Long(source.PersonSubType);
}
if (source.VisitTimes != null) {
this.VisitTimes = new Long(source.VisitTimes);
}
if (source.VisitDays != null) {
this.VisitDays = new Long(source.VisitDays);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "PersonId", this.PersonId);
this.setParamSimple(map, prefix + "PersonPicture", this.PersonPicture);
this.setParamSimple(map, prefix + "Gender", this.Gender);
this.setParamSimple(map, prefix + "Age", this.Age);
this.setParamSimple(map, prefix + "PersonType", this.PersonType);
this.setParamSimple(map, prefix + "PersonPictureUrl", this.PersonPictureUrl);
this.setParamSimple(map, prefix + "PersonSubType", this.PersonSubType);
this.setParamSimple(map, prefix + "VisitTimes", this.VisitTimes);
this.setParamSimple(map, prefix + "VisitDays", this.VisitDays);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy