![JAR search and dependency download from the Maven repository](/logo.png)
jp.co.yahoo.adsdisplayapi.v13.model.StatsServiceGenderTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-display-api-lib Show documentation
Show all versions of ads-display-api-lib Show documentation
Yahoo! JAPAN Ads Display Ads API library for Java
The newest version!
/*
* Yahoo!広告 ディスプレイ広告 API リファレンス / Yahoo! JAPAN Ads Display Ads API Reference
* Yahoo!広告 ディスプレイ広告 APIのWebサービスについて説明します。 Display Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* The version of the OpenAPI document: v13
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package jp.co.yahoo.adsdisplayapi.v13.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jp.co.yahoo.adsdisplayapi.v13.model.StatsServiceEstimateFlg;
import jp.co.yahoo.adsdisplayapi.v13.model.StatsServiceGender;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">StatsServiceGenderTargetオブジェクトは、性別ターゲットの設定情報を保持します。</div> <div lang=\"en\">StatsServiceGenderTarget object holds configuration information of gender targeting.</div>
*/
@ApiModel(description = "StatsServiceGenderTargetオブジェクトは、性別ターゲットの設定情報を保持します。 StatsServiceGenderTarget object holds configuration information of gender targeting. ")
@JsonPropertyOrder({
StatsServiceGenderTarget.JSON_PROPERTY_ESTIMATE_FLG,
StatsServiceGenderTarget.JSON_PROPERTY_GENDER
})
@JsonTypeName("StatsServiceGenderTarget")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class StatsServiceGenderTarget {
public static final String JSON_PROPERTY_ESTIMATE_FLG = "estimateFlg";
private StatsServiceEstimateFlg estimateFlg;
public static final String JSON_PROPERTY_GENDER = "gender";
private StatsServiceGender gender;
public StatsServiceGenderTarget() {
}
public StatsServiceGenderTarget estimateFlg(StatsServiceEstimateFlg estimateFlg) {
this.estimateFlg = estimateFlg;
return this;
}
/**
* Get estimateFlg
* @return estimateFlg
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ESTIMATE_FLG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public StatsServiceEstimateFlg getEstimateFlg() {
return estimateFlg;
}
@JsonProperty(JSON_PROPERTY_ESTIMATE_FLG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEstimateFlg(StatsServiceEstimateFlg estimateFlg) {
this.estimateFlg = estimateFlg;
}
public StatsServiceGenderTarget gender(StatsServiceGender gender) {
this.gender = gender;
return this;
}
/**
* Get gender
* @return gender
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_GENDER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public StatsServiceGender getGender() {
return gender;
}
@JsonProperty(JSON_PROPERTY_GENDER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setGender(StatsServiceGender gender) {
this.gender = gender;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
StatsServiceGenderTarget statsServiceGenderTarget = (StatsServiceGenderTarget) o;
return Objects.equals(this.estimateFlg, statsServiceGenderTarget.estimateFlg) &&
Objects.equals(this.gender, statsServiceGenderTarget.gender);
}
@Override
public int hashCode() {
return Objects.hash(estimateFlg, gender);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class StatsServiceGenderTarget {\n");
sb.append(" estimateFlg: ").append(toIndentedString(estimateFlg)).append("\n");
sb.append(" gender: ").append(toIndentedString(gender)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy