
jp.co.yahoo.adsdisplayapi.v13.model.ReportDefinitionServiceCrossCampaignId 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: 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.adsdisplayapi.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.adsdisplayapi.v13.model.ReportDefinitionServiceAccount;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\"> ReportDefinitionServiceCrossCampaignIdは、横断リーチレポートの組み合わせの対象となるアカウントおよびキャンペーンIDを示します。<br> このフィールドは、ADD時に省略可能となり、REMOVE時に無視されます。<br> ※ADD時、crossCampaignTypeが<code>CAMPAIGN_ID</code>の場合は必須です。 </div> <div lang=\"en\"> ReportDefinitionServiceCrossCampaignId indicates account and campaign ID that is subject to Cross-campaign Reach Report combination.<br> This field is optional in ADD operation, and will be ignored in REMOVE operation.<br> *If crossCampaignType is <code>CAMPAIGN_ID</code>, this field is required in ADD operation. </div>
*/
@ApiModel(description = " ReportDefinitionServiceCrossCampaignIdは、横断リーチレポートの組み合わせの対象となるアカウントおよびキャンペーンIDを示します。
このフィールドは、ADD時に省略可能となり、REMOVE時に無視されます。
※ADD時、crossCampaignTypeがCAMPAIGN_ID
の場合は必須です。 ReportDefinitionServiceCrossCampaignId indicates account and campaign ID that is subject to Cross-campaign Reach Report combination.
This field is optional in ADD operation, and will be ignored in REMOVE operation.
*If crossCampaignType is CAMPAIGN_ID
, this field is required in ADD operation. ")
@JsonPropertyOrder({
ReportDefinitionServiceCrossCampaignId.JSON_PROPERTY_ACCOUNT,
ReportDefinitionServiceCrossCampaignId.JSON_PROPERTY_CAMPAIGN_ID
})
@JsonTypeName("ReportDefinitionServiceCrossCampaignId")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ReportDefinitionServiceCrossCampaignId {
public static final String JSON_PROPERTY_ACCOUNT = "account";
private ReportDefinitionServiceAccount account;
public static final String JSON_PROPERTY_CAMPAIGN_ID = "campaignId";
private Long campaignId;
public ReportDefinitionServiceCrossCampaignId() {
}
public ReportDefinitionServiceCrossCampaignId account(ReportDefinitionServiceAccount account) {
this.account = account;
return this;
}
/**
* Get account
* @return account
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ACCOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ReportDefinitionServiceAccount getAccount() {
return account;
}
@JsonProperty(JSON_PROPERTY_ACCOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAccount(ReportDefinitionServiceAccount account) {
this.account = account;
}
public ReportDefinitionServiceCrossCampaignId campaignId(Long campaignId) {
this.campaignId = campaignId;
return this;
}
/**
* <div lang=\"ja\"> 横断リーチレポートの組み合わせの対象となるキャンペーンIDです。<br> このフィールドは、ADD時に省略可能となり、REMOVE時に無視されます。<br> ※ADD時、crossCampaignReachTypeが<code>CAMPAIGN_ID</code>の場合は必須です。 </div> <div lang=\"en\"> Campaign ID that is subject to combination of Cross-campaign Reach Report. <br> This field is optional in ADD operation, and will be ignored in REMOVE operation. <br> *If crossCampaignReachType is <code>CAMPAIGN_ID</code>, this field is required in ADD operation. </div>
* @return campaignId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 横断リーチレポートの組み合わせの対象となるキャンペーンIDです。
このフィールドは、ADD時に省略可能となり、REMOVE時に無視されます。
※ADD時、crossCampaignReachTypeがCAMPAIGN_ID
の場合は必須です。 Campaign ID that is subject to combination of Cross-campaign Reach Report.
This field is optional in ADD operation, and will be ignored in REMOVE operation.
*If crossCampaignReachType is CAMPAIGN_ID
, this field is required in ADD operation. ")
@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;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ReportDefinitionServiceCrossCampaignId reportDefinitionServiceCrossCampaignId = (ReportDefinitionServiceCrossCampaignId) o;
return Objects.equals(this.account, reportDefinitionServiceCrossCampaignId.account) &&
Objects.equals(this.campaignId, reportDefinitionServiceCrossCampaignId.campaignId);
}
@Override
public int hashCode() {
return Objects.hash(account, campaignId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ReportDefinitionServiceCrossCampaignId {\n");
sb.append(" account: ").append(toIndentedString(account)).append("\n");
sb.append(" campaignId: ").append(toIndentedString(campaignId)).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