
jp.co.yahoo.adsdisplayapi.v13.model.ContentsKeywordIdeaServiceKeyword 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 java.util.ArrayList;
import java.util.List;
import jp.co.yahoo.adsdisplayapi.v13.model.ContentsKeywordIdeaServiceMatchType;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* <div lang=\"ja\">ContentsKeywordIdeaServiceKeywordオブジェクトは、コンテンツターゲティングの検索条件です。</div> <div lang=\"en\">ContentsKeywordIdeaServiceKeyword object is search condition for contents targeting.</div>
*/
@ApiModel(description = "ContentsKeywordIdeaServiceKeywordオブジェクトは、コンテンツターゲティングの検索条件です。 ContentsKeywordIdeaServiceKeyword object is search condition for contents targeting. ")
@JsonPropertyOrder({
ContentsKeywordIdeaServiceKeyword.JSON_PROPERTY_KEYWORDS,
ContentsKeywordIdeaServiceKeyword.JSON_PROPERTY_MATCH_TYPE
})
@JsonTypeName("ContentsKeywordIdeaServiceKeyword")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ContentsKeywordIdeaServiceKeyword {
public static final String JSON_PROPERTY_KEYWORDS = "keywords";
private List keywords = null;
public static final String JSON_PROPERTY_MATCH_TYPE = "matchType";
private ContentsKeywordIdeaServiceMatchType matchType;
public ContentsKeywordIdeaServiceKeyword() {
}
public ContentsKeywordIdeaServiceKeyword keywords(List keywords) {
this.keywords = keywords;
return this;
}
public ContentsKeywordIdeaServiceKeyword addKeywordsItem(String keywordsItem) {
if (this.keywords == null) {
this.keywords = new ArrayList<>();
}
this.keywords.add(keywordsItem);
return this;
}
/**
* <div lang=\"ja\"> 検索条件:キーワード<br> ※キーワード提案用<br> ※キーワード、キーワードIDの同時指定はできません。 </div> <div lang=\"en\"> Search condition : Keyword.<br> *Keyword for suggesting.<br> *Can not specify Keyword and Keyword ID at the same time. </div>
* @return keywords
**/
@javax.annotation.Nullable
@ApiModelProperty(value = " 検索条件:キーワード
※キーワード提案用
※キーワード、キーワードIDの同時指定はできません。 Search condition : Keyword.
*Keyword for suggesting.
*Can not specify Keyword and Keyword ID at the same time. ")
@JsonProperty(JSON_PROPERTY_KEYWORDS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getKeywords() {
return keywords;
}
@JsonProperty(JSON_PROPERTY_KEYWORDS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setKeywords(List keywords) {
this.keywords = keywords;
}
public ContentsKeywordIdeaServiceKeyword matchType(ContentsKeywordIdeaServiceMatchType matchType) {
this.matchType = matchType;
return this;
}
/**
* Get matchType
* @return matchType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MATCH_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ContentsKeywordIdeaServiceMatchType getMatchType() {
return matchType;
}
@JsonProperty(JSON_PROPERTY_MATCH_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMatchType(ContentsKeywordIdeaServiceMatchType matchType) {
this.matchType = matchType;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ContentsKeywordIdeaServiceKeyword contentsKeywordIdeaServiceKeyword = (ContentsKeywordIdeaServiceKeyword) o;
return Objects.equals(this.keywords, contentsKeywordIdeaServiceKeyword.keywords) &&
Objects.equals(this.matchType, contentsKeywordIdeaServiceKeyword.matchType);
}
@Override
public int hashCode() {
return Objects.hash(keywords, matchType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ContentsKeywordIdeaServiceKeyword {\n");
sb.append(" keywords: ").append(toIndentedString(keywords)).append("\n");
sb.append(" matchType: ").append(toIndentedString(matchType)).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