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

jp.co.yahoo.adsdisplayapi.v15.model.AudienceListServiceAdActionRules Maven / Gradle / Ivy

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: v15 * * * 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.v15.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.adsdisplayapi.v15.model.AudienceListServiceAdActionType; import jp.co.yahoo.adsdisplayapi.v15.model.AudienceListServiceVideoViewRule; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonTypeName; /** * <div lang=\"ja\"> AudienceListServiceAdActionRulesオブジェクトは、広告アクションリストの条件を表します。<br> このフィールドは、ADD時に必須となり、SETおよびREMOVE時に無視されます。 </div> <div lang=\"en\"> AudienceListServiceAdActionRules object describes the rules for the ad action list.<br> This field is required in ADD operation, and will be ignored in SET and REMOVE operation. </div> */ @ApiModel(description = "
AudienceListServiceAdActionRulesオブジェクトは、広告アクションリストの条件を表します。
このフィールドは、ADD時に必須となり、SETおよびREMOVE時に無視されます。
AudienceListServiceAdActionRules object describes the rules for the ad action list.
This field is required in ADD operation, and will be ignored in SET and REMOVE operation.
") @JsonPropertyOrder({ AudienceListServiceAdActionRules.JSON_PROPERTY_AD_ACTION_TYPE, AudienceListServiceAdActionRules.JSON_PROPERTY_VIDEO_VIEW_RULE }) @JsonTypeName("AudienceListServiceAdActionRules") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class AudienceListServiceAdActionRules { public static final String JSON_PROPERTY_AD_ACTION_TYPE = "adActionType"; private AudienceListServiceAdActionType adActionType; public static final String JSON_PROPERTY_VIDEO_VIEW_RULE = "videoViewRule"; private AudienceListServiceVideoViewRule videoViewRule; public AudienceListServiceAdActionRules() { } public AudienceListServiceAdActionRules adActionType(AudienceListServiceAdActionType adActionType) { this.adActionType = adActionType; return this; } /** * Get adActionType * @return adActionType **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_AD_ACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AudienceListServiceAdActionType getAdActionType() { return adActionType; } @JsonProperty(JSON_PROPERTY_AD_ACTION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setAdActionType(AudienceListServiceAdActionType adActionType) { this.adActionType = adActionType; } public AudienceListServiceAdActionRules videoViewRule(AudienceListServiceVideoViewRule videoViewRule) { this.videoViewRule = videoViewRule; return this; } /** * Get videoViewRule * @return videoViewRule **/ @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_VIDEO_VIEW_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AudienceListServiceVideoViewRule getVideoViewRule() { return videoViewRule; } @JsonProperty(JSON_PROPERTY_VIDEO_VIEW_RULE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public void setVideoViewRule(AudienceListServiceVideoViewRule videoViewRule) { this.videoViewRule = videoViewRule; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AudienceListServiceAdActionRules audienceListServiceAdActionRules = (AudienceListServiceAdActionRules) o; return Objects.equals(this.adActionType, audienceListServiceAdActionRules.adActionType) && Objects.equals(this.videoViewRule, audienceListServiceAdActionRules.videoViewRule); } @Override public int hashCode() { return Objects.hash(adActionType, videoViewRule); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AudienceListServiceAdActionRules {\n"); sb.append(" adActionType: ").append(toIndentedString(adActionType)).append("\n"); sb.append(" videoViewRule: ").append(toIndentedString(videoViewRule)).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