jp.co.yahoo.adssearchapi.v12.model.PageFeedAssetServiceUploadJob 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: v12
*
*
* 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.v12.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.v12.model.PageFeedAssetServiceUploadJobStatus;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">PageFeedAssetServiceUploadJobオブジェクトは、ページフィードアセット情報をダウンロードする処理内容を格納します。</div> <div lang=\"en\">PageFeedAssetServiceUploadJob object retains contents of page feed asset information for upload.</div>
*/
@ApiModel(description = "PageFeedAssetServiceUploadJobオブジェクトは、ページフィードアセット情報をダウンロードする処理内容を格納します。 PageFeedAssetServiceUploadJob object retains contents of page feed asset information for upload. ")
@JsonPropertyOrder({
PageFeedAssetServiceUploadJob.JSON_PROPERTY_ACCOUNT_ID,
PageFeedAssetServiceUploadJob.JSON_PROPERTY_JOB_ID,
PageFeedAssetServiceUploadJob.JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID,
PageFeedAssetServiceUploadJob.JSON_PROPERTY_UPLOAD_JOB_STATUS,
PageFeedAssetServiceUploadJob.JSON_PROPERTY_PROGRESS,
PageFeedAssetServiceUploadJob.JSON_PROPERTY_ERROR_COUNT,
PageFeedAssetServiceUploadJob.JSON_PROPERTY_START_DATE,
PageFeedAssetServiceUploadJob.JSON_PROPERTY_END_DATE
})
@JsonTypeName("PageFeedAssetServiceUploadJob")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class PageFeedAssetServiceUploadJob {
public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId";
private Long accountId;
public static final String JSON_PROPERTY_JOB_ID = "jobId";
private Long jobId;
public static final String JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID = "pageFeedAssetSetId";
private Long pageFeedAssetSetId;
public static final String JSON_PROPERTY_UPLOAD_JOB_STATUS = "uploadJobStatus";
private PageFeedAssetServiceUploadJobStatus uploadJobStatus;
public static final String JSON_PROPERTY_PROGRESS = "progress";
private Integer progress;
public static final String JSON_PROPERTY_ERROR_COUNT = "errorCount";
private Integer errorCount;
public static final String JSON_PROPERTY_START_DATE = "startDate";
private String startDate;
public static final String JSON_PROPERTY_END_DATE = "endDate";
private String endDate;
public PageFeedAssetServiceUploadJob() {
}
public PageFeedAssetServiceUploadJob accountId(Long accountId) {
this.accountId = accountId;
return this;
}
/**
* <div lang=\"ja\">アカウントID</div> <div lang=\"en\">Account ID.</div>
* @return accountId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "アカウントID Account ID. ")
@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 PageFeedAssetServiceUploadJob jobId(Long jobId) {
this.jobId = jobId;
return this;
}
/**
* <div lang=\"ja\">ジョブID</div> <div lang=\"en\">Job ID.</div>
* @return jobId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ジョブID Job ID. ")
@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 PageFeedAssetServiceUploadJob pageFeedAssetSetId(Long pageFeedAssetSetId) {
this.pageFeedAssetSetId = pageFeedAssetSetId;
return this;
}
/**
* <div lang=\"ja\">ページフィードアセットセットID</div> <div lang=\"en\">PageFeedAssetSet ID.</div>
* @return pageFeedAssetSetId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ページフィードアセットセットID PageFeedAssetSet ID. ")
@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 PageFeedAssetServiceUploadJob uploadJobStatus(PageFeedAssetServiceUploadJobStatus uploadJobStatus) {
this.uploadJobStatus = uploadJobStatus;
return this;
}
/**
* Get uploadJobStatus
* @return uploadJobStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_UPLOAD_JOB_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public PageFeedAssetServiceUploadJobStatus getUploadJobStatus() {
return uploadJobStatus;
}
@JsonProperty(JSON_PROPERTY_UPLOAD_JOB_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUploadJobStatus(PageFeedAssetServiceUploadJobStatus uploadJobStatus) {
this.uploadJobStatus = uploadJobStatus;
}
public PageFeedAssetServiceUploadJob progress(Integer progress) {
this.progress = progress;
return this;
}
/**
* <div lang=\"ja\">ジョブの進捗状況</div> <div lang=\"en\">Progress of page feed asset job.</div>
* @return progress
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ジョブの進捗状況 Progress of page feed asset job. ")
@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 PageFeedAssetServiceUploadJob errorCount(Integer errorCount) {
this.errorCount = errorCount;
return this;
}
/**
* <div lang=\"ja\">エラーの件数</div> <div lang=\"en\">count of error occurred.</div>
* @return errorCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "エラーの件数 count of error occurred. ")
@JsonProperty(JSON_PROPERTY_ERROR_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getErrorCount() {
return errorCount;
}
@JsonProperty(JSON_PROPERTY_ERROR_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setErrorCount(Integer errorCount) {
this.errorCount = errorCount;
}
public PageFeedAssetServiceUploadJob startDate(String startDate) {
this.startDate = startDate;
return this;
}
/**
* <div lang=\"ja\">ジョブの開始日<br> 形式:yyyyMMddHHmmss</div> <div lang=\"en\">Start date of job.<br> Format:yyyyMMddHHmmss</div>
* @return startDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ジョブの開始日
形式:yyyyMMddHHmmss Start date of job.
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;
}
public PageFeedAssetServiceUploadJob endDate(String endDate) {
this.endDate = endDate;
return this;
}
/**
* <div lang=\"ja\">ジョブの終了日<br> 形式:yyyyMMddHHmmss</div> <div lang=\"en\">End date of job.<br> Format:yyyyMMddHHmmss</div>
* @return endDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ジョブの終了日
形式:yyyyMMddHHmmss End date of job.
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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PageFeedAssetServiceUploadJob pageFeedAssetServiceUploadJob = (PageFeedAssetServiceUploadJob) o;
return Objects.equals(this.accountId, pageFeedAssetServiceUploadJob.accountId) &&
Objects.equals(this.jobId, pageFeedAssetServiceUploadJob.jobId) &&
Objects.equals(this.pageFeedAssetSetId, pageFeedAssetServiceUploadJob.pageFeedAssetSetId) &&
Objects.equals(this.uploadJobStatus, pageFeedAssetServiceUploadJob.uploadJobStatus) &&
Objects.equals(this.progress, pageFeedAssetServiceUploadJob.progress) &&
Objects.equals(this.errorCount, pageFeedAssetServiceUploadJob.errorCount) &&
Objects.equals(this.startDate, pageFeedAssetServiceUploadJob.startDate) &&
Objects.equals(this.endDate, pageFeedAssetServiceUploadJob.endDate);
}
@Override
public int hashCode() {
return Objects.hash(accountId, jobId, pageFeedAssetSetId, uploadJobStatus, progress, errorCount, startDate, endDate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PageFeedAssetServiceUploadJob {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" jobId: ").append(toIndentedString(jobId)).append("\n");
sb.append(" pageFeedAssetSetId: ").append(toIndentedString(pageFeedAssetSetId)).append("\n");
sb.append(" uploadJobStatus: ").append(toIndentedString(uploadJobStatus)).append("\n");
sb.append(" progress: ").append(toIndentedString(progress)).append("\n");
sb.append(" errorCount: ").append(toIndentedString(errorCount)).append("\n");
sb.append(" startDate: ").append(toIndentedString(startDate)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).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 ");
}
}