
jp.co.yahoo.adsdisplayapi.v14.model.GuaranteedCampaignServiceLabel 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\"> 紐づけられているラベル情報を表します。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> GuaranteedCampaignServiceLabel object describes label information to be associated.<br> Although this field will be returned in the response, it will be ignored on input. </div>
*/
@ApiModel(description = " 紐づけられているラベル情報を表します。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 GuaranteedCampaignServiceLabel object describes label information to be associated.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonPropertyOrder({
GuaranteedCampaignServiceLabel.JSON_PROPERTY_COLOR,
GuaranteedCampaignServiceLabel.JSON_PROPERTY_DESCRIPTION,
GuaranteedCampaignServiceLabel.JSON_PROPERTY_LABEL_ID,
GuaranteedCampaignServiceLabel.JSON_PROPERTY_LABEL_NAME
})
@JsonTypeName("GuaranteedCampaignServiceLabel")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class GuaranteedCampaignServiceLabel {
public static final String JSON_PROPERTY_COLOR = "color";
private String color;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;
public static final String JSON_PROPERTY_LABEL_ID = "labelId";
private Long labelId;
public static final String JSON_PROPERTY_LABEL_NAME = "labelName";
private String labelName;
public GuaranteedCampaignServiceLabel() {
}
public GuaranteedCampaignServiceLabel color(String color) {
this.color = color;
return this;
}
/**
* <div lang=\"ja\"> カラーです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Color.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return color
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " カラーです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Color.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_COLOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getColor() {
return color;
}
@JsonProperty(JSON_PROPERTY_COLOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setColor(String color) {
this.color = color;
}
public GuaranteedCampaignServiceLabel description(String description) {
this.description = description;
return this;
}
/**
* <div lang=\"ja\"> 説明文です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Description.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 説明文です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Description.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDescription() {
return description;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDescription(String description) {
this.description = description;
}
public GuaranteedCampaignServiceLabel labelId(Long labelId) {
this.labelId = labelId;
return this;
}
/**
* <div lang=\"ja\"> ラベルIDです。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Label ID.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return labelId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " ラベルIDです。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Label ID.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_LABEL_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getLabelId() {
return labelId;
}
@JsonProperty(JSON_PROPERTY_LABEL_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLabelId(Long labelId) {
this.labelId = labelId;
}
public GuaranteedCampaignServiceLabel labelName(String labelName) {
this.labelName = labelName;
return this;
}
/**
* <div lang=\"ja\"> ラベル名です。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 </div> <div lang=\"en\"> Label name.<br> Although this field will be returned in the response, it will be ignored on input. </div>
* @return labelName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " ラベル名です。
このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。 Label name.
Although this field will be returned in the response, it will be ignored on input. ")
@JsonProperty(JSON_PROPERTY_LABEL_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLabelName() {
return labelName;
}
@JsonProperty(JSON_PROPERTY_LABEL_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLabelName(String labelName) {
this.labelName = labelName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GuaranteedCampaignServiceLabel guaranteedCampaignServiceLabel = (GuaranteedCampaignServiceLabel) o;
return Objects.equals(this.color, guaranteedCampaignServiceLabel.color) &&
Objects.equals(this.description, guaranteedCampaignServiceLabel.description) &&
Objects.equals(this.labelId, guaranteedCampaignServiceLabel.labelId) &&
Objects.equals(this.labelName, guaranteedCampaignServiceLabel.labelName);
}
@Override
public int hashCode() {
return Objects.hash(color, description, labelId, labelName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GuaranteedCampaignServiceLabel {\n");
sb.append(" color: ").append(toIndentedString(color)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" labelId: ").append(toIndentedString(labelId)).append("\n");
sb.append(" labelName: ").append(toIndentedString(labelName)).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