jp.co.yahoo.adssearchapi.v12.model.AssetServiceSetTrademarkStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ads-search-api-lib Show documentation
Show all versions of ads-search-api-lib Show documentation
Yahoo! JAPAN Ads Search Ads API library for Java
/*
* Yahoo!広告 検索広告 API リファレンス / Yahoo! JAPAN Ads Search Ads API Reference
* Yahoo!広告 検索広告 APIのWebサービスについて説明します。 Search Ads API Web Services supported in Yahoo! JAPAN Ads API.
*
* The version of the OpenAPI document: v12
*
*
* 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.v12.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\">AssetServiceSetTrademarkStatusオブジェクトは、アセットの情報を格納します。</div> <div lang=\"en\">AssetServiceSetTrademarkStatus object holds asset information.</div>
*/
@ApiModel(description = "AssetServiceSetTrademarkStatusオブジェクトは、アセットの情報を格納します。 AssetServiceSetTrademarkStatus object holds asset information. ")
@JsonPropertyOrder({
AssetServiceSetTrademarkStatus.JSON_PROPERTY_ASSET_ID
})
@JsonTypeName("AssetServiceSetTrademarkStatus")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AssetServiceSetTrademarkStatus {
public static final String JSON_PROPERTY_ASSET_ID = "assetId";
private Long assetId;
public AssetServiceSetTrademarkStatus() {
}
public AssetServiceSetTrademarkStatus assetId(Long assetId) {
this.assetId = assetId;
return this;
}
/**
* <div lang=\"ja\">アセットIDです。<br> このフィールドは必須となります。</div> <div lang=\"en\">Asset ID.<br>This field is required.</div>
* @return assetId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "アセットIDです。
このフィールドは必須となります。 Asset ID.
This field is required. ")
@JsonProperty(JSON_PROPERTY_ASSET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getAssetId() {
return assetId;
}
@JsonProperty(JSON_PROPERTY_ASSET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAssetId(Long assetId) {
this.assetId = assetId;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AssetServiceSetTrademarkStatus assetServiceSetTrademarkStatus = (AssetServiceSetTrademarkStatus) o;
return Objects.equals(this.assetId, assetServiceSetTrademarkStatus.assetId);
}
@Override
public int hashCode() {
return Objects.hash(assetId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AssetServiceSetTrademarkStatus {\n");
sb.append(" assetId: ").append(toIndentedString(assetId)).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 ");
}
}