All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.co.yahoo.adsdisplayapi.v15.model.ReportDefinitionServiceDateRange Maven / Gradle / Ivy

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\"> ReportDefinitionServiceDateRangeオブジェクトは、レポートの集計対象期間を表します。<br> このフィールドは、ADD時に省略可能となり、REMOVE時に無視されます。<br> DateRangeTypeがCUSTOM_DATEの場合、必須項目です。 </div> <div lang=\"en\"> The ReportDefinitionServiceDateRange object serves the report compilation target period. <br> This field is optional in ADD operation, and will be ignored in REMOVE operation. <br> This field is required if DateRangeType is set to &#34;CUSTOM DATE&#34;. </div> */ @ApiModel(description = "
ReportDefinitionServiceDateRangeオブジェクトは、レポートの集計対象期間を表します。
このフィールドは、ADD時に省略可能となり、REMOVE時に無視されます。
DateRangeTypeがCUSTOM_DATEの場合、必須項目です。
The ReportDefinitionServiceDateRange object serves the report compilation target period.
This field is optional in ADD operation, and will be ignored in REMOVE operation.
This field is required if DateRangeType is set to "CUSTOM DATE".
") @JsonPropertyOrder({ ReportDefinitionServiceDateRange.JSON_PROPERTY_END_DATE, ReportDefinitionServiceDateRange.JSON_PROPERTY_START_DATE }) @JsonTypeName("ReportDefinitionServiceDateRange") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class ReportDefinitionServiceDateRange { 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 ReportDefinitionServiceDateRange() { } public ReportDefinitionServiceDateRange endDate(String endDate) { this.endDate = endDate; return this; } /** * <div lang=\"ja\"> 集計終了日です。<br> ※フォーマット:yyyyMMdd<br> このフィールドは、ADD時に必須となり、REMOVE時に無視されます。 </div> <div lang=\"en\"> The compilation end date. <br> ∗ Format: yyyyMMdd<br> This field is required in ADD operation, and will be ignored in REMOVE operation. </div> * @return endDate **/ @javax.annotation.Nullable @ApiModelProperty(value = "
集計終了日です。
※フォーマット:yyyyMMdd
このフィールドは、ADD時に必須となり、REMOVE時に無視されます。
The compilation end date.
∗ Format: yyyyMMdd
This field is required in ADD operation, and will be ignored in REMOVE operation.
") @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 ReportDefinitionServiceDateRange startDate(String startDate) { this.startDate = startDate; return this; } /** * <div lang=\"ja\"> 集計開始日です。<br> ※フォーマット:yyyyMMdd<br> このフィールドは、ADD時に必須となり、REMOVE時に無視されます。 </div> <div lang=\"en\"> The compilation start date.<br> ∗ Format: yyyyMMdd<br> This field is required in ADD operation, and will be ignored in REMOVE operation. </div> * @return startDate **/ @javax.annotation.Nullable @ApiModelProperty(value = "
集計開始日です。
※フォーマット:yyyyMMdd
このフィールドは、ADD時に必須となり、REMOVE時に無視されます。
The compilation start date.
∗ Format: yyyyMMdd
This field is required in ADD operation, and will be ignored in REMOVE operation.
") @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; } ReportDefinitionServiceDateRange reportDefinitionServiceDateRange = (ReportDefinitionServiceDateRange) o; return Objects.equals(this.endDate, reportDefinitionServiceDateRange.endDate) && Objects.equals(this.startDate, reportDefinitionServiceDateRange.startDate); } @Override public int hashCode() { return Objects.hash(endDate, startDate); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportDefinitionServiceDateRange {\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