![JAR search and dependency download from the Maven repository](/logo.png)
jp.co.yahoo.adsdisplayapi.v14.model.RecommendationServiceCreateAdList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-display-api-lib Show documentation
Show all versions of ads-display-api-lib Show documentation
Yahoo! JAPAN Ads Display Ads API library for Java
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: 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.adsdisplayapi.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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">RecommendationServiceCreateAdListオブジェクトは、広告の作成に関する最適化提案の詳細情報を表します。</div> <div lang=\"en\">RecommendationServiceCreateAdList object describes detailed information about a recommendation for creating ads.</div>
*/
@ApiModel(description = "RecommendationServiceCreateAdListオブジェクトは、広告の作成に関する最適化提案の詳細情報を表します。 RecommendationServiceCreateAdList object describes detailed information about a recommendation for creating ads. ")
@JsonPropertyOrder({
RecommendationServiceCreateAdList.JSON_PROPERTY_RECOMMENDATION_ID,
RecommendationServiceCreateAdList.JSON_PROPERTY_CAMPAIGN_ID,
RecommendationServiceCreateAdList.JSON_PROPERTY_CAMPAIGN_NAME,
RecommendationServiceCreateAdList.JSON_PROPERTY_AD_GROUP_ID,
RecommendationServiceCreateAdList.JSON_PROPERTY_AD_GROUP_NAME
})
@JsonTypeName("RecommendationServiceCreateAdList")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class RecommendationServiceCreateAdList {
public static final String JSON_PROPERTY_RECOMMENDATION_ID = "recommendationId";
private Long recommendationId;
public static final String JSON_PROPERTY_CAMPAIGN_ID = "campaignId";
private Long campaignId;
public static final String JSON_PROPERTY_CAMPAIGN_NAME = "campaignName";
private String campaignName;
public static final String JSON_PROPERTY_AD_GROUP_ID = "adGroupId";
private Long adGroupId;
public static final String JSON_PROPERTY_AD_GROUP_NAME = "adGroupName";
private String adGroupName;
public RecommendationServiceCreateAdList() {
}
public RecommendationServiceCreateAdList recommendationId(Long recommendationId) {
this.recommendationId = recommendationId;
return this;
}
/**
* <div lang=\"ja\"> 最適化提案IDです。<br> optimizationScoreLiftがnullでない場合は、1つのキャンペーンに関する提案に共通の最適化提案IDが割り当てられます。 </div> <div lang=\"en\"> Recommendation ID.<br> When optimizationScoreLift isn't null, the system will assign a common recommendation ID to the suggestion for the campaign. </div>
* @return recommendationId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 最適化提案IDです。
optimizationScoreLiftがnullでない場合は、1つのキャンペーンに関する提案に共通の最適化提案IDが割り当てられます。 Recommendation ID.
When optimizationScoreLift isn't null, the system will assign a common recommendation ID to the suggestion for the campaign. ")
@JsonProperty(JSON_PROPERTY_RECOMMENDATION_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getRecommendationId() {
return recommendationId;
}
@JsonProperty(JSON_PROPERTY_RECOMMENDATION_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRecommendationId(Long recommendationId) {
this.recommendationId = recommendationId;
}
public RecommendationServiceCreateAdList campaignId(Long campaignId) {
this.campaignId = campaignId;
return this;
}
/**
* <div lang=\"ja\"> 広告グループが存在しないキャンペーンのキャンペーンIDです。<br> </div> <div lang=\"en\"> Campaign ID without ad groups.<br> </div>
* @return campaignId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 広告グループが存在しないキャンペーンのキャンペーンIDです。
Campaign ID without ad groups.
")
@JsonProperty(JSON_PROPERTY_CAMPAIGN_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getCampaignId() {
return campaignId;
}
@JsonProperty(JSON_PROPERTY_CAMPAIGN_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCampaignId(Long campaignId) {
this.campaignId = campaignId;
}
public RecommendationServiceCreateAdList campaignName(String campaignName) {
this.campaignName = campaignName;
return this;
}
/**
* <div lang=\"ja\"> 広告グループが存在しないキャンペーンのキャンペーン名です。<br> </div> <div lang=\"en\"> Campaign name without ad groups.<br> </div>
* @return campaignName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 広告グループが存在しないキャンペーンのキャンペーン名です。
Campaign name without ad groups.
")
@JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCampaignName() {
return campaignName;
}
@JsonProperty(JSON_PROPERTY_CAMPAIGN_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCampaignName(String campaignName) {
this.campaignName = campaignName;
}
public RecommendationServiceCreateAdList adGroupId(Long adGroupId) {
this.adGroupId = adGroupId;
return this;
}
/**
* <div lang=\"ja\"> 広告が存在しない広告グループの広告グループIDです。<br> </div> <div lang=\"en\"> Ad group ID without ads.<br> </div>
* @return adGroupId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 広告が存在しない広告グループの広告グループIDです。
Ad group ID without ads.
")
@JsonProperty(JSON_PROPERTY_AD_GROUP_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAdGroupId() {
return adGroupId;
}
@JsonProperty(JSON_PROPERTY_AD_GROUP_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdGroupId(Long adGroupId) {
this.adGroupId = adGroupId;
}
public RecommendationServiceCreateAdList adGroupName(String adGroupName) {
this.adGroupName = adGroupName;
return this;
}
/**
* <div lang=\"ja\"> 広告が存在しない広告グループの広告グループ名です。<br> </div> <div lang=\"en\"> Ad group name without ads.<br> </div>
* @return adGroupName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 広告が存在しない広告グループの広告グループ名です。
Ad group name without ads.
")
@JsonProperty(JSON_PROPERTY_AD_GROUP_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAdGroupName() {
return adGroupName;
}
@JsonProperty(JSON_PROPERTY_AD_GROUP_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAdGroupName(String adGroupName) {
this.adGroupName = adGroupName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RecommendationServiceCreateAdList recommendationServiceCreateAdList = (RecommendationServiceCreateAdList) o;
return Objects.equals(this.recommendationId, recommendationServiceCreateAdList.recommendationId) &&
Objects.equals(this.campaignId, recommendationServiceCreateAdList.campaignId) &&
Objects.equals(this.campaignName, recommendationServiceCreateAdList.campaignName) &&
Objects.equals(this.adGroupId, recommendationServiceCreateAdList.adGroupId) &&
Objects.equals(this.adGroupName, recommendationServiceCreateAdList.adGroupName);
}
@Override
public int hashCode() {
return Objects.hash(recommendationId, campaignId, campaignName, adGroupId, adGroupName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RecommendationServiceCreateAdList {\n");
sb.append(" recommendationId: ").append(toIndentedString(recommendationId)).append("\n");
sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n");
sb.append(" campaignName: ").append(toIndentedString(campaignName)).append("\n");
sb.append(" adGroupId: ").append(toIndentedString(adGroupId)).append("\n");
sb.append(" adGroupName: ").append(toIndentedString(adGroupName)).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