jp.co.yahoo.adssearchapi.v12.model.PageFeedAssetServiceReviewSummary 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
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.
*
* 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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">PageFeedAssetServiceReviewSummaryオブジェクトは、ページフィードアセットの審査成績、状況サマリーを格納します。</div> <div lang=\"en\">PageFeedAssetServiceReviewSummary object retains the examination results of the page feed asset, the situation summary acquisition result.</div>
*/
@ApiModel(description = "PageFeedAssetServiceReviewSummaryオブジェクトは、ページフィードアセットの審査成績、状況サマリーを格納します。 PageFeedAssetServiceReviewSummary object retains the examination results of the page feed asset, the situation summary acquisition result. ")
@JsonPropertyOrder({
PageFeedAssetServiceReviewSummary.JSON_PROPERTY_ACCOUNT_ID,
PageFeedAssetServiceReviewSummary.JSON_PROPERTY_APPROVED_COUNT,
PageFeedAssetServiceReviewSummary.JSON_PROPERTY_APPROVED_WITH_REVIEW_COUNT,
PageFeedAssetServiceReviewSummary.JSON_PROPERTY_ENTITY_COUNT,
PageFeedAssetServiceReviewSummary.JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID,
PageFeedAssetServiceReviewSummary.JSON_PROPERTY_POST_DISAPPROVED_COUNT,
PageFeedAssetServiceReviewSummary.JSON_PROPERTY_PRE_DISAPPROVED_COUNT,
PageFeedAssetServiceReviewSummary.JSON_PROPERTY_REVIEW_COUNT
})
@JsonTypeName("PageFeedAssetServiceReviewSummary")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class PageFeedAssetServiceReviewSummary {
public static final String JSON_PROPERTY_ACCOUNT_ID = "accountId";
private Long accountId;
public static final String JSON_PROPERTY_APPROVED_COUNT = "approvedCount";
private Long approvedCount;
public static final String JSON_PROPERTY_APPROVED_WITH_REVIEW_COUNT = "approvedWithReviewCount";
private Long approvedWithReviewCount;
public static final String JSON_PROPERTY_ENTITY_COUNT = "entityCount";
private Long entityCount;
public static final String JSON_PROPERTY_PAGE_FEED_ASSET_SET_ID = "pageFeedAssetSetId";
private Long pageFeedAssetSetId;
public static final String JSON_PROPERTY_POST_DISAPPROVED_COUNT = "postDisapprovedCount";
private Long postDisapprovedCount;
public static final String JSON_PROPERTY_PRE_DISAPPROVED_COUNT = "preDisapprovedCount";
private Long preDisapprovedCount;
public static final String JSON_PROPERTY_REVIEW_COUNT = "reviewCount";
private Long reviewCount;
public PageFeedAssetServiceReviewSummary() {
}
public PageFeedAssetServiceReviewSummary 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 PageFeedAssetServiceReviewSummary approvedCount(Long approvedCount) {
this.approvedCount = approvedCount;
return this;
}
/**
* <div lang=\"ja\">承認済みの件数</div> <div lang=\"en\">Count of approved.</div>
* @return approvedCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "承認済みの件数 Count of approved. ")
@JsonProperty(JSON_PROPERTY_APPROVED_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getApprovedCount() {
return approvedCount;
}
@JsonProperty(JSON_PROPERTY_APPROVED_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setApprovedCount(Long approvedCount) {
this.approvedCount = approvedCount;
}
public PageFeedAssetServiceReviewSummary approvedWithReviewCount(Long approvedWithReviewCount) {
this.approvedWithReviewCount = approvedWithReviewCount;
return this;
}
/**
* <div lang=\"ja\">編集内容審査中の件数</div> <div lang=\"en\">Count of approved with review.</div>
* @return approvedWithReviewCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "編集内容審査中の件数 Count of approved with review. ")
@JsonProperty(JSON_PROPERTY_APPROVED_WITH_REVIEW_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getApprovedWithReviewCount() {
return approvedWithReviewCount;
}
@JsonProperty(JSON_PROPERTY_APPROVED_WITH_REVIEW_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setApprovedWithReviewCount(Long approvedWithReviewCount) {
this.approvedWithReviewCount = approvedWithReviewCount;
}
public PageFeedAssetServiceReviewSummary entityCount(Long entityCount) {
this.entityCount = entityCount;
return this;
}
/**
* <div lang=\"ja\">ページフィードアセットセット内にあるページフィードアセットの総件数</div> <div lang=\"en\">Total count of page feed asset in page feed asset set.</div>
* @return entityCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "ページフィードアセットセット内にあるページフィードアセットの総件数 Total count of page feed asset in page feed asset set. ")
@JsonProperty(JSON_PROPERTY_ENTITY_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getEntityCount() {
return entityCount;
}
@JsonProperty(JSON_PROPERTY_ENTITY_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEntityCount(Long entityCount) {
this.entityCount = entityCount;
}
public PageFeedAssetServiceReviewSummary 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 PageFeedAssetServiceReviewSummary postDisapprovedCount(Long postDisapprovedCount) {
this.postDisapprovedCount = postDisapprovedCount;
return this;
}
/**
* <div lang=\"ja\">配信停止の件数</div> <div lang=\"en\">Count of distribution cancelled.</div>
* @return postDisapprovedCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "配信停止の件数 Count of distribution cancelled. ")
@JsonProperty(JSON_PROPERTY_POST_DISAPPROVED_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPostDisapprovedCount() {
return postDisapprovedCount;
}
@JsonProperty(JSON_PROPERTY_POST_DISAPPROVED_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPostDisapprovedCount(Long postDisapprovedCount) {
this.postDisapprovedCount = postDisapprovedCount;
}
public PageFeedAssetServiceReviewSummary preDisapprovedCount(Long preDisapprovedCount) {
this.preDisapprovedCount = preDisapprovedCount;
return this;
}
/**
* <div lang=\"ja\">掲載不可の件数</div> <div lang=\"en\">Count of disapproved.</div>
* @return preDisapprovedCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "掲載不可の件数 Count of disapproved. ")
@JsonProperty(JSON_PROPERTY_PRE_DISAPPROVED_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPreDisapprovedCount() {
return preDisapprovedCount;
}
@JsonProperty(JSON_PROPERTY_PRE_DISAPPROVED_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPreDisapprovedCount(Long preDisapprovedCount) {
this.preDisapprovedCount = preDisapprovedCount;
}
public PageFeedAssetServiceReviewSummary reviewCount(Long reviewCount) {
this.reviewCount = reviewCount;
return this;
}
/**
* <div lang=\"ja\">審査中の件数</div> <div lang=\"en\">Count of review.</div>
* @return reviewCount
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "審査中の件数 Count of review. ")
@JsonProperty(JSON_PROPERTY_REVIEW_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getReviewCount() {
return reviewCount;
}
@JsonProperty(JSON_PROPERTY_REVIEW_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReviewCount(Long reviewCount) {
this.reviewCount = reviewCount;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PageFeedAssetServiceReviewSummary pageFeedAssetServiceReviewSummary = (PageFeedAssetServiceReviewSummary) o;
return Objects.equals(this.accountId, pageFeedAssetServiceReviewSummary.accountId) &&
Objects.equals(this.approvedCount, pageFeedAssetServiceReviewSummary.approvedCount) &&
Objects.equals(this.approvedWithReviewCount, pageFeedAssetServiceReviewSummary.approvedWithReviewCount) &&
Objects.equals(this.entityCount, pageFeedAssetServiceReviewSummary.entityCount) &&
Objects.equals(this.pageFeedAssetSetId, pageFeedAssetServiceReviewSummary.pageFeedAssetSetId) &&
Objects.equals(this.postDisapprovedCount, pageFeedAssetServiceReviewSummary.postDisapprovedCount) &&
Objects.equals(this.preDisapprovedCount, pageFeedAssetServiceReviewSummary.preDisapprovedCount) &&
Objects.equals(this.reviewCount, pageFeedAssetServiceReviewSummary.reviewCount);
}
@Override
public int hashCode() {
return Objects.hash(accountId, approvedCount, approvedWithReviewCount, entityCount, pageFeedAssetSetId, postDisapprovedCount, preDisapprovedCount, reviewCount);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PageFeedAssetServiceReviewSummary {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" approvedCount: ").append(toIndentedString(approvedCount)).append("\n");
sb.append(" approvedWithReviewCount: ").append(toIndentedString(approvedWithReviewCount)).append("\n");
sb.append(" entityCount: ").append(toIndentedString(entityCount)).append("\n");
sb.append(" pageFeedAssetSetId: ").append(toIndentedString(pageFeedAssetSetId)).append("\n");
sb.append(" postDisapprovedCount: ").append(toIndentedString(postDisapprovedCount)).append("\n");
sb.append(" preDisapprovedCount: ").append(toIndentedString(preDisapprovedCount)).append("\n");
sb.append(" reviewCount: ").append(toIndentedString(reviewCount)).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 ");
}
}