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

jp.co.yahoo.adssearchapi.v14.model.AssetServiceCallAsset 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: 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 java.util.ArrayList; import java.util.List; import jp.co.yahoo.adssearchapi.v14.model.AssetServiceSchedule; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AssetServiceCallAssetオブジェクトは、電話番号アセットのアセット情報を格納します。<br> ADD時、このフィールドは省略可能となります。※typeがCALLの場合は必須です。</div> <div lang=\"en\">AssetServiceCallAsset contains Asset value information for call assets.<br> This field is optional in ADD operation. *If type is CALL, this field is required.<br></div> */ @ApiModel(description = "
AssetServiceCallAssetオブジェクトは、電話番号アセットのアセット情報を格納します。
ADD時、このフィールドは省略可能となります。※typeがCALLの場合は必須です。
AssetServiceCallAsset contains Asset value information for call assets.
This field is optional in ADD operation. *If type is CALL, this field is required.
") @JsonPropertyOrder({ AssetServiceCallAsset.JSON_PROPERTY_PHONE_NUMBER, AssetServiceCallAsset.JSON_PROPERTY_REVIEW_PHONE_NUMBER, AssetServiceCallAsset.JSON_PROPERTY_SCHEDULES }) @JsonTypeName("AssetServiceCallAsset") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AssetServiceCallAsset { public static final String JSON_PROPERTY_PHONE_NUMBER = "phoneNumber"; private String phoneNumber; public static final String JSON_PROPERTY_REVIEW_PHONE_NUMBER = "reviewPhoneNumber"; private String reviewPhoneNumber; public static final String JSON_PROPERTY_SCHEDULES = "schedules"; private List schedules = null; public AssetServiceCallAsset() { } public AssetServiceCallAsset phoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; return this; } /** * <div lang=\"ja\">電話番号です。<br> ADDおよびSET時、このフィールドは必須となります。</div> <div lang=\"en\">Phone number.<br> This field is required in ADD and SET operation.</div> * @return phoneNumber **/ @javax.annotation.Nullable @ApiModelProperty(value = "
電話番号です。
ADDおよびSET時、このフィールドは必須となります。
Phone number.
This field is required in ADD and SET operation.
") @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhoneNumber() { return phoneNumber; } @JsonProperty(JSON_PROPERTY_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public AssetServiceCallAsset reviewPhoneNumber(String reviewPhoneNumber) { this.reviewPhoneNumber = reviewPhoneNumber; return this; } /** * <div lang=\"ja\">審査中の電話番号です。<br> このフィールドは、リクエストの際には無視されます。<br> 審査中の間のみ、レスポンスの際に返却されます。</div> <div lang=\"en\">Phone number on editorial review.<br> This field will be ignored on input.<br> It will be returned at the time of response only during the review.</div> * @return reviewPhoneNumber **/ @javax.annotation.Nullable @ApiModelProperty(value = "
審査中の電話番号です。
このフィールドは、リクエストの際には無視されます。
審査中の間のみ、レスポンスの際に返却されます。
Phone number on editorial review.
This field will be ignored on input.
It will be returned at the time of response only during the review.
") @JsonProperty(JSON_PROPERTY_REVIEW_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getReviewPhoneNumber() { return reviewPhoneNumber; } @JsonProperty(JSON_PROPERTY_REVIEW_PHONE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setReviewPhoneNumber(String reviewPhoneNumber) { this.reviewPhoneNumber = reviewPhoneNumber; } public AssetServiceCallAsset schedules(List schedules) { this.schedules = schedules; return this; } public AssetServiceCallAsset addSchedulesItem(AssetServiceSchedule schedulesItem) { if (this.schedules == null) { this.schedules = new ArrayList<>(); } this.schedules.add(schedulesItem); return this; } /** * Get schedules * @return schedules **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SCHEDULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getSchedules() { return schedules; } @JsonProperty(JSON_PROPERTY_SCHEDULES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchedules(List schedules) { this.schedules = schedules; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AssetServiceCallAsset assetServiceCallAsset = (AssetServiceCallAsset) o; return Objects.equals(this.phoneNumber, assetServiceCallAsset.phoneNumber) && Objects.equals(this.reviewPhoneNumber, assetServiceCallAsset.reviewPhoneNumber) && Objects.equals(this.schedules, assetServiceCallAsset.schedules); } @Override public int hashCode() { return Objects.hash(phoneNumber, reviewPhoneNumber, schedules); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AssetServiceCallAsset {\n"); sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n"); sb.append(" reviewPhoneNumber: ").append(toIndentedString(reviewPhoneNumber)).append("\n"); sb.append(" schedules: ").append(toIndentedString(schedules)).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