
jp.co.yahoo.adsdisplayapi.v15.model.GuaranteedCampaignServicePackage 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: v15
*
*
* 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.v15.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\"> GuaranteedCampaignServicePackageオブジェクトは、予約型のキャンペーンの商品に関する情報を表します。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> The GuaranteedCampaignServicePackage object serves package of guaranteed campaign.<br> Although this field will be returned in the response, it will be ignored on input. </div>
*/
@ApiModel(description = " GuaranteedCampaignServicePackageオブジェクトは、予約型のキャンペーンの商品に関する情報を表します。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 The GuaranteedCampaignServicePackage object serves package of guaranteed campaign.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonPropertyOrder({
GuaranteedCampaignServicePackage.JSON_PROPERTY_PACKAGE_ID,
GuaranteedCampaignServicePackage.JSON_PROPERTY_PACKAGE_HISTORY_ID,
GuaranteedCampaignServicePackage.JSON_PROPERTY_PACKAGE_NAME
})
@JsonTypeName("GuaranteedCampaignServicePackage")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class GuaranteedCampaignServicePackage {
public static final String JSON_PROPERTY_PACKAGE_ID = "packageId";
private Long packageId;
public static final String JSON_PROPERTY_PACKAGE_HISTORY_ID = "packageHistoryId";
private Long packageHistoryId;
public static final String JSON_PROPERTY_PACKAGE_NAME = "packageName";
private String packageName;
public GuaranteedCampaignServicePackage() {
}
public GuaranteedCampaignServicePackage packageId(Long packageId) {
this.packageId = packageId;
return this;
}
/**
* <div lang=\"ja\"> 商品IDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Package ID.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return packageId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 商品IDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Package ID.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_PACKAGE_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPackageId() {
return packageId;
}
@JsonProperty(JSON_PROPERTY_PACKAGE_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPackageId(Long packageId) {
this.packageId = packageId;
}
public GuaranteedCampaignServicePackage packageHistoryId(Long packageHistoryId) {
this.packageHistoryId = packageHistoryId;
return this;
}
/**
* <div lang=\"ja\"> 商品履歴IDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Package history ID.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return packageHistoryId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 商品履歴IDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Package history ID.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_PACKAGE_HISTORY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPackageHistoryId() {
return packageHistoryId;
}
@JsonProperty(JSON_PROPERTY_PACKAGE_HISTORY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPackageHistoryId(Long packageHistoryId) {
this.packageHistoryId = packageHistoryId;
}
public GuaranteedCampaignServicePackage packageName(String packageName) {
this.packageName = packageName;
return this;
}
/**
* <div lang=\"ja\"> 商品名です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Package name.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return packageName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 商品名です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Package name.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_PACKAGE_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPackageName() {
return packageName;
}
@JsonProperty(JSON_PROPERTY_PACKAGE_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPackageName(String packageName) {
this.packageName = packageName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GuaranteedCampaignServicePackage guaranteedCampaignServicePackage = (GuaranteedCampaignServicePackage) o;
return Objects.equals(this.packageId, guaranteedCampaignServicePackage.packageId) &&
Objects.equals(this.packageHistoryId, guaranteedCampaignServicePackage.packageHistoryId) &&
Objects.equals(this.packageName, guaranteedCampaignServicePackage.packageName);
}
@Override
public int hashCode() {
return Objects.hash(packageId, packageHistoryId, packageName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GuaranteedCampaignServicePackage {\n");
sb.append(" packageId: ").append(toIndentedString(packageId)).append("\n");
sb.append(" packageHistoryId: ").append(toIndentedString(packageHistoryId)).append("\n");
sb.append(" packageName: ").append(toIndentedString(packageName)).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