All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.co.yahoo.adssearchapi.v13.model.AdGroupAdServiceSetTrademarkStatus Maven / Gradle / Ivy

There is a newer version: 8.1.1-spring5
Show 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.
OpenAPI Specification
Best Practice
Best Practice
* * 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.adssearchapi.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 com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AdGroupAdServiceSetTrademarkStatusオブジェクトは、広告の情報を格納します。</div> <div lang=\"en\">AdGroupAdServiceSetTrademarkStatus object holds ads information.</div> */ @ApiModel(description = "
AdGroupAdServiceSetTrademarkStatusオブジェクトは、広告の情報を格納します。
AdGroupAdServiceSetTrademarkStatus object holds ads information.
") @JsonPropertyOrder({ AdGroupAdServiceSetTrademarkStatus.JSON_PROPERTY_AD_GROUP_ID, AdGroupAdServiceSetTrademarkStatus.JSON_PROPERTY_AD_ID, AdGroupAdServiceSetTrademarkStatus.JSON_PROPERTY_CAMPAIGN_ID }) @JsonTypeName("AdGroupAdServiceSetTrademarkStatus") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AdGroupAdServiceSetTrademarkStatus { public static final String JSON_PROPERTY_AD_GROUP_ID = "adGroupId"; private Long adGroupId; public static final String JSON_PROPERTY_AD_ID = "adId"; private Long adId; public static final String JSON_PROPERTY_CAMPAIGN_ID = "campaignId"; private Long campaignId; public AdGroupAdServiceSetTrademarkStatus() { } public AdGroupAdServiceSetTrademarkStatus adGroupId(Long adGroupId) { this.adGroupId = adGroupId; return this; } /** * <div lang=\"ja\">広告グループIDです。<br> このフィールドは必須となります。</div> <div lang=\"en\">Ad group ID.<br> This field is required.</div> * @return adGroupId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
広告グループIDです。
このフィールドは必須となります。
Ad group ID.
This field is required.
") @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 AdGroupAdServiceSetTrademarkStatus adId(Long adId) { this.adId = adId; return this; } /** * <div lang=\"ja\">広告IDです。<br> このフィールドは必須となります。</div> <div lang=\"en\">Ad ID.<br> This field is required.</div> * @return adId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
広告IDです。
このフィールドは必須となります。
Ad ID.
This field is required.
") @JsonProperty(JSON_PROPERTY_AD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getAdId() { return adId; } @JsonProperty(JSON_PROPERTY_AD_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdId(Long adId) { this.adId = adId; } public AdGroupAdServiceSetTrademarkStatus campaignId(Long campaignId) { this.campaignId = campaignId; return this; } /** * <div lang=\"ja\">キャンペーンIDです。<br> このフィールドは必須となります。</div> <div lang=\"en\">Campaign ID.<br> This field is required.</div> * @return campaignId **/ @javax.annotation.Nullable @ApiModelProperty(value = "
キャンペーンIDです。
このフィールドは必須となります。
Campaign ID.
This field is required.
") @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; } AdGroupAdServiceSetTrademarkStatus adGroupAdServiceSetTrademarkStatus = (AdGroupAdServiceSetTrademarkStatus) o; return Objects.equals(this.adGroupId, adGroupAdServiceSetTrademarkStatus.adGroupId) && Objects.equals(this.adId, adGroupAdServiceSetTrademarkStatus.adId) && Objects.equals(this.campaignId, adGroupAdServiceSetTrademarkStatus.campaignId); } @Override public int hashCode() { return Objects.hash(adGroupId, adId, campaignId); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AdGroupAdServiceSetTrademarkStatus {\n"); sb.append(" adGroupId: ").append(toIndentedString(adGroupId)).append("\n"); sb.append(" adId: ").append(toIndentedString(adId)).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 - 2024 Weber Informatics LLC | Privacy Policy