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

net.jdcloud.Poi.model.PoiHeatCitySynRequest Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2018 JDCLOUD.COM
 *
 * 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.
 *
 * OpenAPI spec version: 1.0
 * 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */

package net.jdcloud.Poi.model;

import net.jdcloud.Poi.model.poiheatcitysyn.*;
import com.jdcloud.sdk.apim.service.JdcloudRequest;
import com.jdcloud.sdk.apim.annotation.*;
import java.util.Objects;
import java.util.Arrays;
import java.io.Serializable;
import java.io.IOException;
import javax.xml.bind.annotation.*;
import com.google.gson.annotations.SerializedName;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;

/**
 * PoiHeatCitySynRequest
 */
@XmlRootElement(name = "poiHeatCitySyn_request")
@XmlAccessorType(XmlAccessType.FIELD)

public class PoiHeatCitySynRequest extends JdcloudRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @XmlElement(name = "geom")
    @SerializedName("geom")
    @QueryParameter
    private String geom = null;

    @XmlElement(name = "distance")
    @SerializedName("distance")
    @QueryParameter
    private String distance = null;

    @XmlElement(name = "month")
    @SerializedName("month")
    @QueryParameter
    private String month = null;

    @XmlElement(name = "positionType")
    @SerializedName("positionType")
    @QueryParameter
    private String positionType = null;

    @XmlElement(name = "gridType")
    @SerializedName("gridType")
    @QueryParameter
    private String gridType = null;

    @XmlElement(name = "region")
    @SerializedName("region")
    @QueryParameter
    private String region = null;

    @XmlElement(name = "positionCityType")
    @SerializedName("positionCityType")
    @QueryParameter
    private String positionCityType = null;

    public PoiHeatCitySynRequest geom(String geom) {
        this.geom = geom;
        return this;
    }

    /**
     * 自定义电子围栏,WGS84坐标系坐标
     * @return geom
    **/

    public String getGeom() {
        return geom;
    }

    public void setGeom(String geom) {
        this.geom = geom;
    }

    public PoiHeatCitySynRequest distance(String distance) {
        this.distance = distance;
        return this;
    }

    /**
     * point为点时表示圆的半径,单位是米
     * @return distance
    **/

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public PoiHeatCitySynRequest month(String month) {
        this.month = month;
        return this;
    }

    /**
     * 数据月份
     * @return month
    **/

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public PoiHeatCitySynRequest positionType(String positionType) {
        this.positionType = positionType;
        return this;
    }

    /**
     * 位置标签,如职住地
     * @return positionType
    **/

    public String getPositionType() {
        return positionType;
    }

    public void setPositionType(String positionType) {
        this.positionType = positionType;
    }

    public PoiHeatCitySynRequest gridType(String gridType) {
        this.gridType = gridType;
        return this;
    }

    /**
     * 网格标准
     * @return gridType
    **/

    public String getGridType() {
        return gridType;
    }

    public void setGridType(String gridType) {
        this.gridType = gridType;
    }

    public PoiHeatCitySynRequest region(String region) {
        this.region = region;
        return this;
    }

    /**
     * 城市编码
     * @return region
    **/

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public PoiHeatCitySynRequest positionCityType(String positionCityType) {
        this.positionCityType = positionCityType;
        return this;
    }

    /**
     * 城市位置标签,如工作地
     * @return positionCityType
    **/

    public String getPositionCityType() {
        return positionCityType;
    }

    public void setPositionCityType(String positionCityType) {
        this.positionCityType = positionCityType;
    }


    @Override
    public boolean equals(java.lang.Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        PoiHeatCitySynRequest poiHeatCitySynRequest = (PoiHeatCitySynRequest) o;
        return Objects.equals(this.geom, poiHeatCitySynRequest.geom) &&
        Objects.equals(this.distance, poiHeatCitySynRequest.distance) &&
        Objects.equals(this.month, poiHeatCitySynRequest.month) &&
        Objects.equals(this.positionType, poiHeatCitySynRequest.positionType) &&
        Objects.equals(this.gridType, poiHeatCitySynRequest.gridType) &&
        Objects.equals(this.region, poiHeatCitySynRequest.region) &&
        Objects.equals(this.positionCityType, poiHeatCitySynRequest.positionCityType);
    }

    @Override
    public int hashCode() {
        return Objects.hash(geom, distance, month, positionType, gridType, region, positionCityType);
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class PoiHeatCitySynRequest {\n");
        
        sb.append("    geom: ").append(toIndentedString(geom)).append("\n");
        sb.append("    distance: ").append(toIndentedString(distance)).append("\n");
        sb.append("    month: ").append(toIndentedString(month)).append("\n");
        sb.append("    positionType: ").append(toIndentedString(positionType)).append("\n");
        sb.append("    gridType: ").append(toIndentedString(gridType)).append("\n");
        sb.append("    region: ").append(toIndentedString(region)).append("\n");
        sb.append("    positionCityType: ").append(toIndentedString(positionCityType)).append("\n");
        sb.append("}");
        return sb.toString();
    }

    /**
     * Convert the given object to string with each line indented by 4 spaces
     * (except the first line).
     */
    private String toIndentedString(java.lang.Object o) {
        if (o == null) {
          return "null";
        }
        return o.toString().replace("\n", "\n    ");
    }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy