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

jp.co.yahoo.adssearchapi.v13.model.AdGroupWebpageServiceWebpageCondition 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 jp.co.yahoo.adssearchapi.v13.model.AdGroupWebpageServiceOperator; import jp.co.yahoo.adssearchapi.v13.model.AdGroupWebpageServiceWebpageConditionType; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\">AdGroupWebpageServiceWebpageConditionオブジェクトは、Webpageの条件を保持します。<br> このフィールドは、ADD時は必須となり、SET時は無視されます。</div> <div lang=\"en\">AdGroupWebpageServiceWebpageCondition object contains the rules of webpage.<br> This field is required in ADD operation, and will be ignored in SET operation.</div> */ @ApiModel(description = "
AdGroupWebpageServiceWebpageConditionオブジェクトは、Webpageの条件を保持します。
このフィールドは、ADD時は必須となり、SET時は無視されます。
AdGroupWebpageServiceWebpageCondition object contains the rules of webpage.
This field is required in ADD operation, and will be ignored in SET operation.
") @JsonPropertyOrder({ AdGroupWebpageServiceWebpageCondition.JSON_PROPERTY_ARGUMENT, AdGroupWebpageServiceWebpageCondition.JSON_PROPERTY_WEBPAGE_CONDITION_TYPE, AdGroupWebpageServiceWebpageCondition.JSON_PROPERTY_OPERATOR }) @JsonTypeName("AdGroupWebpageServiceWebpageCondition") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AdGroupWebpageServiceWebpageCondition { public static final String JSON_PROPERTY_ARGUMENT = "argument"; private String argument; public static final String JSON_PROPERTY_WEBPAGE_CONDITION_TYPE = "webpageConditionType"; private AdGroupWebpageServiceWebpageConditionType webpageConditionType; public static final String JSON_PROPERTY_OPERATOR = "operator"; private AdGroupWebpageServiceOperator operator; public AdGroupWebpageServiceWebpageCondition() { } public AdGroupWebpageServiceWebpageCondition argument(String argument) { this.argument = argument; return this; } /** * <div lang=\"ja\">条件の設定値です。<br>ADD時、このフィールドは必須です。※typeがALL_PAGESの場合は省略可能となります。SET時、このフィールドは無視されます。</div> <div lang=\"en\">Value of rule setting.<br>This field is required in ADD operation, and will be ignored in SET operation. *If type is 'ALL_PAGES', this field is optional in ADD operation.</div> * @return argument **/ @javax.annotation.Nullable @ApiModelProperty(value = "
条件の設定値です。
ADD時、このフィールドは必須です。※typeがALL_PAGESの場合は省略可能となります。SET時、このフィールドは無視されます。
Value of rule setting.
This field is required in ADD operation, and will be ignored in SET operation. *If type is 'ALL_PAGES', this field is optional in ADD operation.
") @JsonProperty(JSON_PROPERTY_ARGUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getArgument() { return argument; } @JsonProperty(JSON_PROPERTY_ARGUMENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setArgument(String argument) { this.argument = argument; } public AdGroupWebpageServiceWebpageCondition webpageConditionType(AdGroupWebpageServiceWebpageConditionType webpageConditionType) { this.webpageConditionType = webpageConditionType; return this; } /** * Get webpageConditionType * @return webpageConditionType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_WEBPAGE_CONDITION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AdGroupWebpageServiceWebpageConditionType getWebpageConditionType() { return webpageConditionType; } @JsonProperty(JSON_PROPERTY_WEBPAGE_CONDITION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setWebpageConditionType(AdGroupWebpageServiceWebpageConditionType webpageConditionType) { this.webpageConditionType = webpageConditionType; } public AdGroupWebpageServiceWebpageCondition operator(AdGroupWebpageServiceOperator operator) { this.operator = operator; return this; } /** * Get operator * @return operator **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_OPERATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AdGroupWebpageServiceOperator getOperator() { return operator; } @JsonProperty(JSON_PROPERTY_OPERATOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setOperator(AdGroupWebpageServiceOperator operator) { this.operator = operator; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AdGroupWebpageServiceWebpageCondition adGroupWebpageServiceWebpageCondition = (AdGroupWebpageServiceWebpageCondition) o; return Objects.equals(this.argument, adGroupWebpageServiceWebpageCondition.argument) && Objects.equals(this.webpageConditionType, adGroupWebpageServiceWebpageCondition.webpageConditionType) && Objects.equals(this.operator, adGroupWebpageServiceWebpageCondition.operator); } @Override public int hashCode() { return Objects.hash(argument, webpageConditionType, operator); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AdGroupWebpageServiceWebpageCondition {\n"); sb.append(" argument: ").append(toIndentedString(argument)).append("\n"); sb.append(" webpageConditionType: ").append(toIndentedString(webpageConditionType)).append("\n"); sb.append(" operator: ").append(toIndentedString(operator)).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