
jp.co.yahoo.adsdisplayapi.v15.model.AuditLogServiceDateRange 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\"> AuditLogServiceDateRangeは、addメソッド実行時にダウンロード対象とする更新期間を保持するオブジェクトです。<br> このフィールドは、リクエストの場合は省略可能となります。 </div> <div lang=\"en\"> AuditLogServiceDateRange object is container storing the downloading date range of add method.<br> This field is optional in requests. </div>
*/
@ApiModel(description = " AuditLogServiceDateRangeは、addメソッド実行時にダウンロード対象とする更新期間を保持するオブジェクトです。
このフィールドは、リクエストの場合は省略可能となります。 AuditLogServiceDateRange object is container storing the downloading date range of add method.
This field is optional in requests. ")
@JsonPropertyOrder({
AuditLogServiceDateRange.JSON_PROPERTY_END_DATE,
AuditLogServiceDateRange.JSON_PROPERTY_START_DATE
})
@JsonTypeName("AuditLogServiceDateRange")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AuditLogServiceDateRange {
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 AuditLogServiceDateRange() {
}
public AuditLogServiceDateRange endDate(String endDate) {
this.endDate = endDate;
return this;
}
/**
* <div lang=\"ja\"> 終了日付です。<br> このフィールドは、リクエストの場合は省略可能となります。<br> ・入力形式:Ymd形式<br> ・デフォルト値:現在の日付<br> ・指定可能範囲:現在の日付<br> ※終了日付は開始日付以降の日付を指定してください。 </div> <div lang=\"en\"> End date.<br> This field is optional in requests.<br> - Entry format : Ymd format<br> - Default value : Current date<br> - Available range : Current date<br> *Enter the date after Start date. </div>
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 終了日付です。
このフィールドは、リクエストの場合は省略可能となります。
・入力形式:Ymd形式
・デフォルト値:現在の日付
・指定可能範囲:現在の日付
※終了日付は開始日付以降の日付を指定してください。 End date.
This field is optional in requests.
- Entry format : Ymd format
- Default value : Current date
- Available range : Current date
*Enter the date after Start date. ")
@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 AuditLogServiceDateRange startDate(String startDate) {
this.startDate = startDate;
return this;
}
/**
* <div lang=\"ja\"> 開始日付です。<br> このフィールドは、リクエストの場合は省略可能となります。<br> ・入力形式:Ymd形式<br> ・デフォルト値:2週間前の日付<br> ・指定可能範囲:1年前の日付 </div> <div lang=\"en\"> Start date.<br> This field is optional in requests.<br> - Entry format : Ymd format<br> - Default value : Dated 2 weeks ago<br> - Available range : Date one year ago </div>
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 開始日付です。
このフィールドは、リクエストの場合は省略可能となります。
・入力形式:Ymd形式
・デフォルト値:2週間前の日付
・指定可能範囲:1年前の日付 Start date.
This field is optional in requests.
- Entry format : Ymd format
- Default value : Dated 2 weeks ago
- Available range : Date one year ago ")
@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;
}
AuditLogServiceDateRange auditLogServiceDateRange = (AuditLogServiceDateRange) o;
return Objects.equals(this.endDate, auditLogServiceDateRange.endDate) &&
Objects.equals(this.startDate, auditLogServiceDateRange.startDate);
}
@Override
public int hashCode() {
return Objects.hash(endDate, startDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuditLogServiceDateRange {\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