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

jp.co.yahoo.adssearchapi.v14.model.CampaignTargetServiceScheduleTarget 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: 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 jp.co.yahoo.adssearchapi.v14.model.CampaignTargetServiceDayOfWeek; import jp.co.yahoo.adssearchapi.v14.model.CampaignTargetServiceMinuteOfHour; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">CampaignTargetServiceScheduleTargetオブジェクトは、曜日・時間帯ターゲティングレポートを表します。<br> このフィールドは、ADD時およびSET時に省略可能となります。<br> ※targetTypeがSCHEDULEの場合、このフィールドはADD時に必須となります。</div> <div lang=\"en\">CampaignTargetServiceScheduleTarget describes Day of week/Hour targeting report.<br> *This field is optional in ADD and SET operation.<br> If targetType is SCHEDULE, this field is required in ADD operation.</div> */ @ApiModel(description = "
CampaignTargetServiceScheduleTargetオブジェクトは、曜日・時間帯ターゲティングレポートを表します。
このフィールドは、ADD時およびSET時に省略可能となります。
※targetTypeがSCHEDULEの場合、このフィールドはADD時に必須となります。
CampaignTargetServiceScheduleTarget describes Day of week/Hour targeting report.
*This field is optional in ADD and SET operation.
If targetType is SCHEDULE, this field is required in ADD operation.
") @JsonPropertyOrder({ CampaignTargetServiceScheduleTarget.JSON_PROPERTY_DAY_OF_WEEK, CampaignTargetServiceScheduleTarget.JSON_PROPERTY_END_HOUR, CampaignTargetServiceScheduleTarget.JSON_PROPERTY_END_MINUTE, CampaignTargetServiceScheduleTarget.JSON_PROPERTY_START_HOUR, CampaignTargetServiceScheduleTarget.JSON_PROPERTY_START_MINUTE }) @JsonTypeName("CampaignTargetServiceScheduleTarget") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class CampaignTargetServiceScheduleTarget { public static final String JSON_PROPERTY_DAY_OF_WEEK = "dayOfWeek"; private CampaignTargetServiceDayOfWeek dayOfWeek; public static final String JSON_PROPERTY_END_HOUR = "endHour"; private Integer endHour; public static final String JSON_PROPERTY_END_MINUTE = "endMinute"; private CampaignTargetServiceMinuteOfHour endMinute; public static final String JSON_PROPERTY_START_HOUR = "startHour"; private Integer startHour; public static final String JSON_PROPERTY_START_MINUTE = "startMinute"; private CampaignTargetServiceMinuteOfHour startMinute; public CampaignTargetServiceScheduleTarget() { } public CampaignTargetServiceScheduleTarget dayOfWeek(CampaignTargetServiceDayOfWeek 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 CampaignTargetServiceDayOfWeek getDayOfWeek() { return dayOfWeek; } @JsonProperty(JSON_PROPERTY_DAY_OF_WEEK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setDayOfWeek(CampaignTargetServiceDayOfWeek dayOfWeek) { this.dayOfWeek = dayOfWeek; } public CampaignTargetServiceScheduleTarget endHour(Integer endHour) { this.endHour = endHour; return this; } /** * <div lang=\"ja\">24時間表示の終了時刻です。<br>このフィールドは、ADD時に必須となります。</div> <div lang=\"en\">Ending hour in 24 hour time.<br>This field is required in ADD operation.</div> * @return endHour **/ @javax.annotation.Nullable @ApiModelProperty(value = "
24時間表示の終了時刻です。
このフィールドは、ADD時に必須となります。
Ending hour in 24 hour time.
This field is required in ADD operation.
") @JsonProperty(JSON_PROPERTY_END_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getEndHour() { return endHour; } @JsonProperty(JSON_PROPERTY_END_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndHour(Integer endHour) { this.endHour = endHour; } public CampaignTargetServiceScheduleTarget endMinute(CampaignTargetServiceMinuteOfHour 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 CampaignTargetServiceMinuteOfHour getEndMinute() { return endMinute; } @JsonProperty(JSON_PROPERTY_END_MINUTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setEndMinute(CampaignTargetServiceMinuteOfHour endMinute) { this.endMinute = endMinute; } public CampaignTargetServiceScheduleTarget startHour(Integer startHour) { this.startHour = startHour; return this; } /** * <div lang=\"ja\">24時間表示の開始時刻です。<br>このフィールドは、ADD時に必須となります。</div> <div lang=\"en\">Starting hour in 24 hour time.<br>This field is required in ADD operation.</div> * @return startHour **/ @javax.annotation.Nullable @ApiModelProperty(value = "
24時間表示の開始時刻です。
このフィールドは、ADD時に必須となります。
Starting hour in 24 hour time.
This field is required in ADD operation.
") @JsonProperty(JSON_PROPERTY_START_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getStartHour() { return startHour; } @JsonProperty(JSON_PROPERTY_START_HOUR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartHour(Integer startHour) { this.startHour = startHour; } public CampaignTargetServiceScheduleTarget startMinute(CampaignTargetServiceMinuteOfHour 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 CampaignTargetServiceMinuteOfHour getStartMinute() { return startMinute; } @JsonProperty(JSON_PROPERTY_START_MINUTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setStartMinute(CampaignTargetServiceMinuteOfHour startMinute) { this.startMinute = startMinute; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } CampaignTargetServiceScheduleTarget campaignTargetServiceScheduleTarget = (CampaignTargetServiceScheduleTarget) o; return Objects.equals(this.dayOfWeek, campaignTargetServiceScheduleTarget.dayOfWeek) && Objects.equals(this.endHour, campaignTargetServiceScheduleTarget.endHour) && Objects.equals(this.endMinute, campaignTargetServiceScheduleTarget.endMinute) && Objects.equals(this.startHour, campaignTargetServiceScheduleTarget.startHour) && Objects.equals(this.startMinute, campaignTargetServiceScheduleTarget.startMinute); } @Override public int hashCode() { return Objects.hash(dayOfWeek, endHour, endMinute, startHour, startMinute); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CampaignTargetServiceScheduleTarget {\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