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

jp.co.yahoo.adsdisplayapi.v15.model.FeedFtp 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 jp.co.yahoo.adsdisplayapi.v15.model.FeedFtpServiceActiveStatus; import jp.co.yahoo.adsdisplayapi.v15.model.FeedFtpServiceItemListUploadType; import jp.co.yahoo.adsdisplayapi.v15.model.FeedFtpServiceSchedule; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">FeedFtpオブジェクトは、定期アップロード設定情報を保持します。</div> <div lang=\"en\">FeedFtp object retains Periodic Upload setting information.</div> */ @ApiModel(description = "
FeedFtpオブジェクトは、定期アップロード設定情報を保持します。
FeedFtp object retains Periodic Upload setting information.
") @JsonPropertyOrder({ FeedFtp.JSON_PROPERTY_ACCOUNT_ID, FeedFtp.JSON_PROPERTY_ACTIVE_STATUS, FeedFtp.JSON_PROPERTY_FEED_ID, FeedFtp.JSON_PROPERTY_FEED_URL, FeedFtp.JSON_PROPERTY_ITEM_LIST_UPLOAD_TYPE, FeedFtp.JSON_PROPERTY_SCHEDULE, FeedFtp.JSON_PROPERTY_USER_NAME, FeedFtp.JSON_PROPERTY_USER_PASSWORD }) @JsonTypeName("FeedFtp") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class FeedFtp { public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId"; private Long accountId; public static final String JSON_PROPERTY_ACTIVE_STATUS = "activeStatus"; private FeedFtpServiceActiveStatus activeStatus; public static final String JSON_PROPERTY_FEED_ID = "feedId"; private Long feedId; public static final String JSON_PROPERTY_FEED_URL = "feedUrl"; private String feedUrl; public static final String JSON_PROPERTY_ITEM_LIST_UPLOAD_TYPE = "itemListUploadType"; private FeedFtpServiceItemListUploadType itemListUploadType; public static final String JSON_PROPERTY_SCHEDULE = "schedule"; private FeedFtpServiceSchedule schedule; public static final String JSON_PROPERTY_USER_NAME = "userName"; private String userName; public static final String JSON_PROPERTY_USER_PASSWORD = "userPassword"; private String userPassword; public FeedFtp() { } public FeedFtp accountId(Long accountId) { this.accountId = accountId; return this; } /** * <div lang=\"ja\"> アカウントIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Account ID.<br> Although this field will be returned in the response, it will be ignored on input. </div> * @return accountId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
アカウントIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
Account ID.
Although this field will be returned in the response, it will be ignored on input.
") @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getAccountId() { return accountId; } @JsonProperty(JSON_PROPERTY_ACCOUNT_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAccountId(Long accountId) { this.accountId = accountId; } public FeedFtp activeStatus(FeedFtpServiceActiveStatus activeStatus) { this.activeStatus = activeStatus; return this; } /** * Get activeStatus * @return activeStatus **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ACTIVE_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public FeedFtpServiceActiveStatus getActiveStatus() { return activeStatus; } @JsonProperty(JSON_PROPERTY_ACTIVE_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setActiveStatus(FeedFtpServiceActiveStatus activeStatus) { this.activeStatus = activeStatus; } public FeedFtp feedId(Long feedId) { this.feedId = feedId; return this; } /** * <div lang=\"ja\"> Feedを識別するIdです。<br> このフィールドは、リクエストの場合は必須です。 </div> <div lang=\"en\"> Feed ID.<br> This field is required in requests. </div> * @return feedId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
Feedを識別するIdです。
このフィールドは、リクエストの場合は必須です。
Feed ID.
This field is required in requests.
") @JsonProperty(JSON_PROPERTY_FEED_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getFeedId() { return feedId; } @JsonProperty(JSON_PROPERTY_FEED_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFeedId(Long feedId) { this.feedId = feedId; } public FeedFtp feedUrl(String feedUrl) { this.feedUrl = feedUrl; return this; } /** * <div lang=\"ja\"> 商品リストファイルのURLです。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> URL of item list file.<br> This field is required in ADD operation, and will be optional in SET operation. </div> * @return feedUrl **/ @javax.annotation.Nullable @ApiModelProperty(value = "
商品リストファイルのURLです。
このフィールドは、ADD時は必須となり、SET時は省略可能となります。
URL of item list file.
This field is required in ADD operation, and will be optional in SET operation.
") @JsonProperty(JSON_PROPERTY_FEED_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFeedUrl() { return feedUrl; } @JsonProperty(JSON_PROPERTY_FEED_URL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setFeedUrl(String feedUrl) { this.feedUrl = feedUrl; } public FeedFtp itemListUploadType(FeedFtpServiceItemListUploadType itemListUploadType) { this.itemListUploadType = itemListUploadType; return this; } /** * Get itemListUploadType * @return itemListUploadType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ITEM_LIST_UPLOAD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public FeedFtpServiceItemListUploadType getItemListUploadType() { return itemListUploadType; } @JsonProperty(JSON_PROPERTY_ITEM_LIST_UPLOAD_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setItemListUploadType(FeedFtpServiceItemListUploadType itemListUploadType) { this.itemListUploadType = itemListUploadType; } public FeedFtp schedule(FeedFtpServiceSchedule schedule) { this.schedule = schedule; return this; } /** * Get schedule * @return schedule **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public FeedFtpServiceSchedule getSchedule() { return schedule; } @JsonProperty(JSON_PROPERTY_SCHEDULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setSchedule(FeedFtpServiceSchedule schedule) { this.schedule = schedule; } public FeedFtp userName(String userName) { this.userName = userName; return this; } /** * <div lang=\"ja\"> ユーザー名です。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> User name.<br> This field is required in ADD operation, and will be optional in SET operation. </div> * @return userName **/ @javax.annotation.Nullable @ApiModelProperty(value = "
ユーザー名です。
このフィールドは、ADD時は必須となり、SET時は省略可能となります。
User name.
This field is required in ADD operation, and will be optional in SET operation.
") @JsonProperty(JSON_PROPERTY_USER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUserName() { return userName; } @JsonProperty(JSON_PROPERTY_USER_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUserName(String userName) { this.userName = userName; } public FeedFtp userPassword(String userPassword) { this.userPassword = userPassword; return this; } /** * <div lang=\"ja\"> パスワードです。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。 </div> <div lang=\"en\"> Password.<br> This field is required in ADD operation, and will be optional in SET operation. </div> * @return userPassword **/ @javax.annotation.Nullable @ApiModelProperty(value = "
パスワードです。
このフィールドは、ADD時は必須となり、SET時は省略可能となります。
Password.
This field is required in ADD operation, and will be optional in SET operation.
") @JsonProperty(JSON_PROPERTY_USER_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUserPassword() { return userPassword; } @JsonProperty(JSON_PROPERTY_USER_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setUserPassword(String userPassword) { this.userPassword = userPassword; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FeedFtp feedFtp = (FeedFtp) o; return Objects.equals(this.accountId, feedFtp.accountId) && Objects.equals(this.activeStatus, feedFtp.activeStatus) && Objects.equals(this.feedId, feedFtp.feedId) && Objects.equals(this.feedUrl, feedFtp.feedUrl) && Objects.equals(this.itemListUploadType, feedFtp.itemListUploadType) && Objects.equals(this.schedule, feedFtp.schedule) && Objects.equals(this.userName, feedFtp.userName) && Objects.equals(this.userPassword, feedFtp.userPassword); } @Override public int hashCode() { return Objects.hash(accountId, activeStatus, feedId, feedUrl, itemListUploadType, schedule, userName, userPassword); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class FeedFtp {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" activeStatus: ").append(toIndentedString(activeStatus)).append("\n"); sb.append(" feedId: ").append(toIndentedString(feedId)).append("\n"); sb.append(" feedUrl: ").append(toIndentedString(feedUrl)).append("\n"); sb.append(" itemListUploadType: ").append(toIndentedString(itemListUploadType)).append("\n"); sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n"); sb.append(" userName: ").append(toIndentedString(userName)).append("\n"); sb.append(" userPassword: ").append(toIndentedString(userPassword)).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