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

jp.co.yahoo.adssearchapi.v13.model.ReportDefinitionServiceReportDateRange Maven / Gradle / Ivy

The newest version!
/*
 * Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
 * 
Yahoo!広告 検索広告 APIのWebサービスについて説明します。
Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
OpenAPI Specification
Best Practice
Best Practice
* * The version of the OpenAPI document: v13 * * * 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.v13.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\">ReportDefinitionServiceReportDateRangeオブジェクトは、レポートの集計対象期間を表します。<br> ADD時、このフィールドは省略可能となります。</div> <div lang=\"en\">ReportDefinitionServiceReportDateRange object displays date range of the report.<br> This field is optional in ADD operation.</div> */ @ApiModel(description = "
ReportDefinitionServiceReportDateRangeオブジェクトは、レポートの集計対象期間を表します。
ADD時、このフィールドは省略可能となります。
ReportDefinitionServiceReportDateRange object displays date range of the report.
This field is optional in ADD operation.
") @JsonPropertyOrder({ ReportDefinitionServiceReportDateRange.JSON_PROPERTY_END_DATE, ReportDefinitionServiceReportDateRange.JSON_PROPERTY_START_DATE }) @JsonTypeName("ReportDefinitionServiceReportDateRange") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class ReportDefinitionServiceReportDateRange { 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 ReportDefinitionServiceReportDateRange() { } public ReportDefinitionServiceReportDateRange endDate(String endDate) { this.endDate = endDate; return this; } /** * <div lang=\"ja\">集計の終了日です。<br>※フォーマット:yyyyMMdd<br>DateRangeTypeがCUSTOM_DATEの場合、このフィールドはADD時に必須となります。</div> <div lang=\"en\">End date.<br>∗ Format: yyyyMMdd<br>If DateRangeType is CUSTOM_DATE, this field is required in ADD operation.</div> * @return endDate **/ @javax.annotation.Nullable @ApiModelProperty(value = "
集計の終了日です。
※フォーマット:yyyyMMdd
DateRangeTypeがCUSTOM_DATEの場合、このフィールドはADD時に必須となります。
End date.
∗ Format: yyyyMMdd
If DateRangeType is CUSTOM_DATE, this field is required in ADD 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 ReportDefinitionServiceReportDateRange startDate(String startDate) { this.startDate = startDate; return this; } /** * <div lang=\"ja\">集計の開始日です。<br>※フォーマット:yyyyMMdd<br>DateRangeTypeがCUSTOM_DATEの場合、このフィールドはADD時に必須となります。</div> <div lang=\"en\">Start date. <br>∗ Format: yyyyMMdd<br>If DateRangeType is CUSTOM_DATE, this field is required in ADD operation.</div> * @return startDate **/ @javax.annotation.Nullable @ApiModelProperty(value = "
集計の開始日です。
※フォーマット:yyyyMMdd
DateRangeTypeがCUSTOM_DATEの場合、このフィールドはADD時に必須となります。
Start date.
∗ Format: yyyyMMdd
If DateRangeType is CUSTOM_DATE, this field is required in ADD 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; } ReportDefinitionServiceReportDateRange reportDefinitionServiceReportDateRange = (ReportDefinitionServiceReportDateRange) o; return Objects.equals(this.endDate, reportDefinitionServiceReportDateRange.endDate) && Objects.equals(this.startDate, reportDefinitionServiceReportDateRange.startDate); } @Override public int hashCode() { return Objects.hash(endDate, startDate); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ReportDefinitionServiceReportDateRange {\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 - 2024 Weber Informatics LLC | Privacy Policy