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

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

There is a newer version: 8.1.1-spring5
Show 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 jp.co.yahoo.adssearchapi.v13.model.AssetServiceDayOfWeek; import jp.co.yahoo.adssearchapi.v13.model.AssetServiceMinuteOfHour; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AssetServiceScheduleオブジェクトは、広告表示アセットの配信スケジュール設定を表します。<br> このフィールドは、ADDおよびSET時に省略可能となります。</div> <div lang=\"en\">AssetServiceSchedule object describes display schedule from ad display asset.<br> This field is optional in ADD and SET operation.</div> */ @ApiModel(description = "
AssetServiceScheduleオブジェクトは、広告表示アセットの配信スケジュール設定を表します。
このフィールドは、ADDおよびSET時に省略可能となります。
AssetServiceSchedule object describes display schedule from ad display asset.
This field is optional in ADD and SET operation.
") @JsonPropertyOrder({ AssetServiceSchedule.JSON_PROPERTY_DAY_OF_WEEK, AssetServiceSchedule.JSON_PROPERTY_END_HOUR, AssetServiceSchedule.JSON_PROPERTY_END_MINUTE, AssetServiceSchedule.JSON_PROPERTY_START_HOUR, AssetServiceSchedule.JSON_PROPERTY_START_MINUTE }) @JsonTypeName("AssetServiceSchedule") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AssetServiceSchedule { public static final String JSON_PROPERTY_DAY_OF_WEEK = "dayOfWeek"; private AssetServiceDayOfWeek dayOfWeek; public static final String JSON_PROPERTY_END_HOUR = "endHour"; private Long endHour; public static final String JSON_PROPERTY_END_MINUTE = "endMinute"; private AssetServiceMinuteOfHour endMinute; public static final String JSON_PROPERTY_START_HOUR = "startHour"; private Long startHour; public static final String JSON_PROPERTY_START_MINUTE = "startMinute"; private AssetServiceMinuteOfHour startMinute; public AssetServiceSchedule() { } public AssetServiceSchedule dayOfWeek(AssetServiceDayOfWeek dayOfWeek) { this.dayOfWeek = dayOfWeek; return this; } /** * Get dayOfWeek * @return dayOfWeek **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_DAY_OF_WEEK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AssetServiceDayOfWeek getDayOfWeek() { return dayOfWeek; } @JsonProperty(JSON_PROPERTY_DAY_OF_WEEK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDayOfWeek(AssetServiceDayOfWeek dayOfWeek) { this.dayOfWeek = dayOfWeek; } public AssetServiceSchedule endHour(Long endHour) { this.endHour = endHour; return this; } /** * <div lang=\"ja\">終了時です。<br> ※0 ~ 24の範囲で設定してください。<br> このフィールドは、ADDおよびSET時に必須となります。</div> <div lang=\"en\">End time in hour.<br> *Specify from 0 - 24.<br> This field is required in ADD and SET operation.</div> * @return endHour **/ @javax.annotation.Nullable @ApiModelProperty(value = "
終了時です。
※0 ~ 24の範囲で設定してください。
このフィールドは、ADDおよびSET時に必須となります。
End time in hour.
*Specify from 0 - 24.
This field is required in ADD and SET operation.
") @JsonProperty(JSON_PROPERTY_END_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getEndHour() { return endHour; } @JsonProperty(JSON_PROPERTY_END_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndHour(Long endHour) { this.endHour = endHour; } public AssetServiceSchedule endMinute(AssetServiceMinuteOfHour endMinute) { this.endMinute = endMinute; return this; } /** * Get endMinute * @return endMinute **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_END_MINUTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AssetServiceMinuteOfHour getEndMinute() { return endMinute; } @JsonProperty(JSON_PROPERTY_END_MINUTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndMinute(AssetServiceMinuteOfHour endMinute) { this.endMinute = endMinute; } public AssetServiceSchedule startHour(Long startHour) { this.startHour = startHour; return this; } /** * <div lang=\"ja\">開始時です。<br> ※0 ~ 23の範囲で設定してください。<br> このフィールドは、ADDおよびSET時に必須となります。</div> <div lang=\"en\">Start time in hour.<br> *Specify from 0 - 23.<br> This field is required in ADD and SET operation.</div> * @return startHour **/ @javax.annotation.Nullable @ApiModelProperty(value = "
開始時です。
※0 ~ 23の範囲で設定してください。
このフィールドは、ADDおよびSET時に必須となります。
Start time in hour.
*Specify from 0 - 23.
This field is required in ADD and SET operation.
") @JsonProperty(JSON_PROPERTY_START_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getStartHour() { return startHour; } @JsonProperty(JSON_PROPERTY_START_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartHour(Long startHour) { this.startHour = startHour; } public AssetServiceSchedule startMinute(AssetServiceMinuteOfHour startMinute) { this.startMinute = startMinute; return this; } /** * Get startMinute * @return startMinute **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_START_MINUTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AssetServiceMinuteOfHour getStartMinute() { return startMinute; } @JsonProperty(JSON_PROPERTY_START_MINUTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartMinute(AssetServiceMinuteOfHour startMinute) { this.startMinute = startMinute; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AssetServiceSchedule assetServiceSchedule = (AssetServiceSchedule) o; return Objects.equals(this.dayOfWeek, assetServiceSchedule.dayOfWeek) && Objects.equals(this.endHour, assetServiceSchedule.endHour) && Objects.equals(this.endMinute, assetServiceSchedule.endMinute) && Objects.equals(this.startHour, assetServiceSchedule.startHour) && Objects.equals(this.startMinute, assetServiceSchedule.startMinute); } @Override public int hashCode() { return Objects.hash(dayOfWeek, endHour, endMinute, startHour, startMinute); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AssetServiceSchedule {\n"); sb.append(" dayOfWeek: ").append(toIndentedString(dayOfWeek)).append("\n"); sb.append(" endHour: ").append(toIndentedString(endHour)).append("\n"); sb.append(" endMinute: ").append(toIndentedString(endMinute)).append("\n"); sb.append(" startHour: ").append(toIndentedString(startHour)).append("\n"); sb.append(" startMinute: ").append(toIndentedString(startMinute)).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