jp.co.yahoo.adssearchapi.v14.model.ConversionTrackerServiceConversionDateRange 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: v14
*
*
* 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.v14.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\">ConversionTrackerServiceConversionDateRangeオブジェクトは、コンバージョンの取得期間を指定します。</div> <div lang=\"en\">ConversionTrackerServiceConversionDateRange object is used to specify a period to obtain conversion.</div>
*/
@ApiModel(description = "ConversionTrackerServiceConversionDateRangeオブジェクトは、コンバージョンの取得期間を指定します。 ConversionTrackerServiceConversionDateRange object is used to specify a period to obtain conversion. ")
@JsonPropertyOrder({
ConversionTrackerServiceConversionDateRange.JSON_PROPERTY_END_DATE,
ConversionTrackerServiceConversionDateRange.JSON_PROPERTY_START_DATE
})
@JsonTypeName("ConversionTrackerServiceConversionDateRange")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ConversionTrackerServiceConversionDateRange {
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 ConversionTrackerServiceConversionDateRange() {
}
public ConversionTrackerServiceConversionDateRange endDate(String endDate) {
this.endDate = endDate;
return this;
}
/**
* <div lang=\"ja\">コンバージョン実績集計終了期間です。</div> <div lang=\"en\">Conversion performance aggregation period end.</div>
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "コンバージョン実績集計終了期間です。 Conversion performance aggregation period end. ")
@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 ConversionTrackerServiceConversionDateRange startDate(String startDate) {
this.startDate = startDate;
return this;
}
/**
* <div lang=\"ja\">コンバージョン実績集計開始期間です。</div> <div lang=\"en\">Conversion performance aggregation period start.</div>
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "コンバージョン実績集計開始期間です。 Conversion performance aggregation period start. ")
@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;
}
ConversionTrackerServiceConversionDateRange conversionTrackerServiceConversionDateRange = (ConversionTrackerServiceConversionDateRange) o;
return Objects.equals(this.endDate, conversionTrackerServiceConversionDateRange.endDate) &&
Objects.equals(this.startDate, conversionTrackerServiceConversionDateRange.startDate);
}
@Override
public int hashCode() {
return Objects.hash(endDate, startDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConversionTrackerServiceConversionDateRange {\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 ");
}
}