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

com.tencentcloudapi.youmall.v20180228.models.GenderAgeTrafficDetail 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.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 GenderAgeTrafficDetail extends AbstractModel{

    /**
    * 性别: 0男1女
    */
    @SerializedName("Gender")
    @Expose
    private Long Gender;

    /**
    * 年龄区间,枚举值:0-17、18-23、24-30、31-40、41-50、51-60、>60
    */
    @SerializedName("AgeGap")
    @Expose
    private String AgeGap;

    /**
    * 客流量
    */
    @SerializedName("TrafficCount")
    @Expose
    private Long TrafficCount;

    /**
     * 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 年龄区间,枚举值:0-17、18-23、24-30、31-40、41-50、51-60、>60 
     * @return AgeGap 年龄区间,枚举值:0-17、18-23、24-30、31-40、41-50、51-60、>60
     */
    public String getAgeGap() {
        return this.AgeGap;
    }

    /**
     * Set 年龄区间,枚举值:0-17、18-23、24-30、31-40、41-50、51-60、>60
     * @param AgeGap 年龄区间,枚举值:0-17、18-23、24-30、31-40、41-50、51-60、>60
     */
    public void setAgeGap(String AgeGap) {
        this.AgeGap = AgeGap;
    }

    /**
     * Get 客流量 
     * @return TrafficCount 客流量
     */
    public Long getTrafficCount() {
        return this.TrafficCount;
    }

    /**
     * Set 客流量
     * @param TrafficCount 客流量
     */
    public void setTrafficCount(Long TrafficCount) {
        this.TrafficCount = TrafficCount;
    }

    public GenderAgeTrafficDetail() {
    }

    /**
     * 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 GenderAgeTrafficDetail(GenderAgeTrafficDetail source) {
        if (source.Gender != null) {
            this.Gender = new Long(source.Gender);
        }
        if (source.AgeGap != null) {
            this.AgeGap = new String(source.AgeGap);
        }
        if (source.TrafficCount != null) {
            this.TrafficCount = new Long(source.TrafficCount);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Gender", this.Gender);
        this.setParamSimple(map, prefix + "AgeGap", this.AgeGap);
        this.setParamSimple(map, prefix + "TrafficCount", this.TrafficCount);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy