jp.co.yahoo.adssearchapi.v12.model.AdGroupAdServiceCreatedDateRange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-search-api-lib Show documentation
Show all versions of ads-search-api-lib Show documentation
Yahoo! JAPAN Ads Search Ads API library for Java
/*
* Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
* Yahoo!広告 検索広告 APIのWebサービスについて説明します。 Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* The version of the OpenAPI document: v12
*
*
* 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.adssearchapi.v12.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\"> AdGroupAdServiceCreatedDateRangeは、作成日による検索対象期間を表します。 </div> <div lang=\"en\"> AdGroupAdServiceCreatedDateRange represents the search target period by the creation date. </div>
*/
@ApiModel(description = " AdGroupAdServiceCreatedDateRangeは、作成日による検索対象期間を表します。 AdGroupAdServiceCreatedDateRange represents the search target period by the creation date. ")
@JsonPropertyOrder({
AdGroupAdServiceCreatedDateRange.JSON_PROPERTY_START_DATE,
AdGroupAdServiceCreatedDateRange.JSON_PROPERTY_END_DATE
})
@JsonTypeName("AdGroupAdServiceCreatedDateRange")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdGroupAdServiceCreatedDateRange {
public static final String JSON_PROPERTY_START_DATE = "startDate";
private String startDate;
public static final String JSON_PROPERTY_END_DATE = "endDate";
private String endDate;
public AdGroupAdServiceCreatedDateRange() {
}
public AdGroupAdServiceCreatedDateRange startDate(String startDate) {
this.startDate = startDate;
return this;
}
/**
* <div lang=\"ja\"> 検索対象期間の開始日です。<br> ※フォーマット:yyyyMMdd </div> <div lang=\"en\"> This is the start date of the search target period.<br> * Format: yyyyMMdd </div>
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 検索対象期間の開始日です。
※フォーマット:yyyyMMdd This is the start date of the search target period.
* 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;
}
public AdGroupAdServiceCreatedDateRange endDate(String endDate) {
this.endDate = endDate;
return this;
}
/**
* <div lang=\"ja\"> 検索対象期間の終了日です。<br> ※フォーマット:yyyyMMdd </div> <div lang=\"en\"> This is the end date of the search target period.<br> * Format: yyyyMMdd </div>
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 検索対象期間の終了日です。
※フォーマット:yyyyMMdd This is the end date of the search target period.
* 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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AdGroupAdServiceCreatedDateRange adGroupAdServiceCreatedDateRange = (AdGroupAdServiceCreatedDateRange) o;
return Objects.equals(this.startDate, adGroupAdServiceCreatedDateRange.startDate) &&
Objects.equals(this.endDate, adGroupAdServiceCreatedDateRange.endDate);
}
@Override
public int hashCode() {
return Objects.hash(startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AdGroupAdServiceCreatedDateRange {\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).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 ");
}
}