jp.co.yahoo.adssearchapi.v13.model.PageFeedAssetServiceDownloadJob Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-search-api-lib Show documentation
Show all versions of ads-search-api-lib Show documentation
Yahoo! JAPAN Ads Search Ads API library for Java
/*
* Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
* Yahoo!広告 検索広告 APIのWebサービスについて説明します。 Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* 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.PageFeedAssetServiceBulkEncoding;
import jp.co.yahoo.adssearchapi.v13.model.PageFeedAssetServiceBulkLang;
import jp.co.yahoo.adssearchapi.v13.model.PageFeedAssetServiceBulkOutput;
import jp.co.yahoo.adssearchapi.v13.model.PageFeedAssetServiceDownloadJobStatus;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">PageFeedAssetServiceDownloadJobオブジェクトは、ページフィードアセット情報をダウンロードする処理内容を格納します。</div> <div lang=\"en\">PageFeedAssetServiceDownloadJob object retains contents of page feed asset information for download.</div>
*/
@ApiModel(description = "PageFeedAssetServiceDownloadJobオブジェクトは、ページフィードアセット情報をダウンロードする処理内容を格納します。 PageFeedAssetServiceDownloadJob object retains contents of page feed asset information for download. ")
@JsonPropertyOrder({
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_ACCOUNT_ID,
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_BULK_ENCODING,
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_BULK_LANG,
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_BULK_OUTPUT,
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_DOWNLOAD_JOB_STATUS,
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_END_DATE,
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID,
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_JOB_ID,
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_PROGRESS,
PageFeedAssetServiceDownloadJob.JSON_PROPERTY_START_DATE
})
@JsonTypeName("PageFeedAssetServiceDownloadJob")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class PageFeedAssetServiceDownloadJob {
public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId";
private Long accountId;
public static final String JSON_PROPERTY_BULK_ENCODING = "bulkEncoding";
private PageFeedAssetServiceBulkEncoding bulkEncoding;
public static final String JSON_PROPERTY_BULK_LANG = "bulkLang";
private PageFeedAssetServiceBulkLang bulkLang;
public static final String JSON_PROPERTY_BULK_OUTPUT = "bulkOutput";
private PageFeedAssetServiceBulkOutput bulkOutput;
public static final String JSON_PROPERTY_DOWNLOAD_JOB_STATUS = "downloadJobStatus";
private PageFeedAssetServiceDownloadJobStatus downloadJobStatus;
public static final String JSON_PROPERTY_END_DATE = "endDate";
private String endDate;
public static final String JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID = "pageFeedAssetSetId";
private Long pageFeedAssetSetId;
public static final String JSON_PROPERTY_JOB_ID = "jobId";
private Long jobId;
public static final String JSON_PROPERTY_PROGRESS = "progress";
private Integer progress;
public static final String JSON_PROPERTY_START_DATE = "startDate";
private String startDate;
public PageFeedAssetServiceDownloadJob() {
}
public PageFeedAssetServiceDownloadJob accountId(Long accountId) {
this.accountId = accountId;
return this;
}
/**
* <div lang=\"ja\">アカウントIDです。<br> このフィールドは必須です。</div> <div lang=\"en\">Account ID.<br> This field is required.</div>
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "アカウントIDです。
このフィールドは必須です。 Account ID.
This field is required. ")
@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 PageFeedAssetServiceDownloadJob bulkEncoding(PageFeedAssetServiceBulkEncoding bulkEncoding) {
this.bulkEncoding = bulkEncoding;
return this;
}
/**
* Get bulkEncoding
* @return bulkEncoding
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BULK_ENCODING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public PageFeedAssetServiceBulkEncoding getBulkEncoding() {
return bulkEncoding;
}
@JsonProperty(JSON_PROPERTY_BULK_ENCODING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBulkEncoding(PageFeedAssetServiceBulkEncoding bulkEncoding) {
this.bulkEncoding = bulkEncoding;
}
public PageFeedAssetServiceDownloadJob bulkLang(PageFeedAssetServiceBulkLang bulkLang) {
this.bulkLang = bulkLang;
return this;
}
/**
* Get bulkLang
* @return bulkLang
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BULK_LANG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public PageFeedAssetServiceBulkLang getBulkLang() {
return bulkLang;
}
@JsonProperty(JSON_PROPERTY_BULK_LANG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBulkLang(PageFeedAssetServiceBulkLang bulkLang) {
this.bulkLang = bulkLang;
}
public PageFeedAssetServiceDownloadJob bulkOutput(PageFeedAssetServiceBulkOutput bulkOutput) {
this.bulkOutput = bulkOutput;
return this;
}
/**
* Get bulkOutput
* @return bulkOutput
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BULK_OUTPUT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public PageFeedAssetServiceBulkOutput getBulkOutput() {
return bulkOutput;
}
@JsonProperty(JSON_PROPERTY_BULK_OUTPUT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBulkOutput(PageFeedAssetServiceBulkOutput bulkOutput) {
this.bulkOutput = bulkOutput;
}
public PageFeedAssetServiceDownloadJob downloadJobStatus(PageFeedAssetServiceDownloadJobStatus downloadJobStatus) {
this.downloadJobStatus = downloadJobStatus;
return this;
}
/**
* Get downloadJobStatus
* @return downloadJobStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DOWNLOAD_JOB_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public PageFeedAssetServiceDownloadJobStatus getDownloadJobStatus() {
return downloadJobStatus;
}
@JsonProperty(JSON_PROPERTY_DOWNLOAD_JOB_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDownloadJobStatus(PageFeedAssetServiceDownloadJobStatus downloadJobStatus) {
this.downloadJobStatus = downloadJobStatus;
}
public PageFeedAssetServiceDownloadJob endDate(String endDate) {
this.endDate = endDate;
return this;
}
/**
* <div lang=\"ja\">ジョブの終了日です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。<br> 形式:yyyyMMddHHmmss</div><div lang=\"en\">End date of job.<br> Although this field will be returned in the response, it will be ignored on input. <br> Format:yyyyMMddHHmmss</div>
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ジョブの終了日です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
形式:yyyyMMddHHmmssEnd date of job.
Although this field will be returned in the response, it will be ignored on input.
Format:yyyyMMddHHmmss ")
@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 PageFeedAssetServiceDownloadJob pageFeedAssetSetId(Long pageFeedAssetSetId) {
this.pageFeedAssetSetId = pageFeedAssetSetId;
return this;
}
/**
* <div lang=\"ja\">ページフィードアセットセットIDです。<br> このフィールドは必須です。</div> <div lang=\"en\">PageFeedAssetSet ID.<br> This field is required.</div>
* @return pageFeedAssetSetId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ページフィードアセットセットIDです。
このフィールドは必須です。 PageFeedAssetSet ID.
This field is required. ")
@JsonProperty(JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPageFeedAssetSetId() {
return pageFeedAssetSetId;
}
@JsonProperty(JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPageFeedAssetSetId(Long pageFeedAssetSetId) {
this.pageFeedAssetSetId = pageFeedAssetSetId;
}
public PageFeedAssetServiceDownloadJob jobId(Long jobId) {
this.jobId = jobId;
return this;
}
/**
* <div lang=\"ja\">ジョブIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Job ID.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return jobId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ジョブIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Job ID.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_JOB_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getJobId() {
return jobId;
}
@JsonProperty(JSON_PROPERTY_JOB_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setJobId(Long jobId) {
this.jobId = jobId;
}
public PageFeedAssetServiceDownloadJob progress(Integer progress) {
this.progress = progress;
return this;
}
/**
* <div lang=\"ja\">ジョブの進捗状況です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Progress of page feed asset job.<br> Although this field will be returned in the response, it will be ignored on input.</div>
* @return progress
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ジョブの進捗状況です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Progress of page feed asset job.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_PROGRESS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getProgress() {
return progress;
}
@JsonProperty(JSON_PROPERTY_PROGRESS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProgress(Integer progress) {
this.progress = progress;
}
public PageFeedAssetServiceDownloadJob startDate(String startDate) {
this.startDate = startDate;
return this;
}
/**
* <div lang=\"ja\">ジョブの開始日です。<br>このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 <br> 形式:yyyyMMddHHmmss </div> <div lang=\"en\">Start date of job.<br> Although this field will be returned in the response, it will be ignored on input.<br> Format:yyyyMMddHHmmss</div>
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ジョブの開始日です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。
形式:yyyyMMddHHmmss Start date of job.
Although this field will be returned in the response, it will be ignored on input.
Format:yyyyMMddHHmmss ")
@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;
}
PageFeedAssetServiceDownloadJob pageFeedAssetServiceDownloadJob = (PageFeedAssetServiceDownloadJob) o;
return Objects.equals(this.accountId, pageFeedAssetServiceDownloadJob.accountId) &&
Objects.equals(this.bulkEncoding, pageFeedAssetServiceDownloadJob.bulkEncoding) &&
Objects.equals(this.bulkLang, pageFeedAssetServiceDownloadJob.bulkLang) &&
Objects.equals(this.bulkOutput, pageFeedAssetServiceDownloadJob.bulkOutput) &&
Objects.equals(this.downloadJobStatus, pageFeedAssetServiceDownloadJob.downloadJobStatus) &&
Objects.equals(this.endDate, pageFeedAssetServiceDownloadJob.endDate) &&
Objects.equals(this.pageFeedAssetSetId, pageFeedAssetServiceDownloadJob.pageFeedAssetSetId) &&
Objects.equals(this.jobId, pageFeedAssetServiceDownloadJob.jobId) &&
Objects.equals(this.progress, pageFeedAssetServiceDownloadJob.progress) &&
Objects.equals(this.startDate, pageFeedAssetServiceDownloadJob.startDate);
}
@Override
public int hashCode() {
return Objects.hash(accountId, bulkEncoding, bulkLang, bulkOutput, downloadJobStatus, endDate, pageFeedAssetSetId, jobId, progress, startDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PageFeedAssetServiceDownloadJob {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" bulkEncoding: ").append(toIndentedString(bulkEncoding)).append("\n");
sb.append(" bulkLang: ").append(toIndentedString(bulkLang)).append("\n");
sb.append(" bulkOutput: ").append(toIndentedString(bulkOutput)).append("\n");
sb.append(" downloadJobStatus: ").append(toIndentedString(downloadJobStatus)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" pageFeedAssetSetId: ").append(toIndentedString(pageFeedAssetSetId)).append("\n");
sb.append(" jobId: ").append(toIndentedString(jobId)).append("\n");
sb.append(" progress: ").append(toIndentedString(progress)).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 ");
}
}