
jp.co.yahoo.adsdisplayapi.v15.model.StatsServicePeriodCustomDate 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: v15
*
*
* 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.v15.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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">StatsServicePeriodCustomDateは、統計情報の取得日を保持するオブジェクトです。</div> <div lang=\"en\">StatsServicePeriodCustomDate object contains date of acquisition of stats information.</div>
*/
@ApiModel(description = "StatsServicePeriodCustomDateは、統計情報の取得日を保持するオブジェクトです。 StatsServicePeriodCustomDate object contains date of acquisition of stats information. ")
@JsonPropertyOrder({
StatsServicePeriodCustomDate.JSON_PROPERTY_END_DATE,
StatsServicePeriodCustomDate.JSON_PROPERTY_START_DATE
})
@JsonTypeName("StatsServicePeriodCustomDate")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class StatsServicePeriodCustomDate {
public static final String JSON_PROPERTY_END_DATE = "endDate";
private String endDate;
public static final String JSON_PROPERTY_START_DATE = "startDate";
private String startDate;
public StatsServicePeriodCustomDate() {
}
public StatsServicePeriodCustomDate endDate(String endDate) {
this.endDate = endDate;
return this;
}
/**
* <div lang=\"ja\"> 統計情報取得終了日<br> ※フォーマット:yyyyMMdd </div> <div lang=\"en\"> Acquisition end date of stats information<br> ∗ Format: yyyyMMdd </div>
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 統計情報取得終了日
※フォーマット:yyyyMMdd Acquisition end date of stats information
∗ Format: yyyyMMdd ")
@JsonProperty(JSON_PROPERTY_END_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEndDate() {
return endDate;
}
@JsonProperty(JSON_PROPERTY_END_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public StatsServicePeriodCustomDate startDate(String startDate) {
this.startDate = startDate;
return this;
}
/**
* <div lang=\"ja\"> 統計情報取得開始日<br> ※フォーマット:yyyyMMdd </div> <div lang=\"en\"> Acquisition start date of stats information<br> ∗ Format: yyyyMMdd </div>
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 統計情報取得開始日
※フォーマット:yyyyMMdd Acquisition start date of stats information
∗ Format: yyyyMMdd ")
@JsonProperty(JSON_PROPERTY_START_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getStartDate() {
return startDate;
}
@JsonProperty(JSON_PROPERTY_START_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStartDate(String startDate) {
this.startDate = startDate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
StatsServicePeriodCustomDate statsServicePeriodCustomDate = (StatsServicePeriodCustomDate) o;
return Objects.equals(this.endDate, statsServicePeriodCustomDate.endDate) &&
Objects.equals(this.startDate, statsServicePeriodCustomDate.startDate);
}
@Override
public int hashCode() {
return Objects.hash(endDate, startDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class StatsServicePeriodCustomDate {\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).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