jp.co.yahoo.adssearchapi.v14.model.AdGroupServiceUserStatus 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: v14
*
*
* 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.v14.model;
import java.util.Objects;
import java.util.Arrays;
import io.swagger.annotations.ApiModel;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* <div lang=\"ja\">AdGroupServiceUserStatusは、配信設定を表します。<br> このフィールドは、ADD時は必須となり、SET時は省略可能となります。</div> <div lang=\"en\">AdGroupServiceUserStatus describes delivery settings.<br> This field is required in ADD operation, and will be optional in SET operation.</div> <dl class=term> <dt class=\"term__item\">ACTIVE</dt> <dd class=\"term__desc\"><span lang=\"ja\">広告は配信されている状態です。</span><span lang=\"en\">Currently ad delivery is active.</span></dd> <dt class=\"term__item\">PAUSED</dt> <dd class=\"term__desc\"><span lang=\"ja\">広告は一時停止の状態のため、配信されていません。</span><span lang=\"en\">Currently ad is paused, which the delivery is not active.</span></dd> <dt class=\"term__item\">UNKNOWN</dt> <dd class=\"term__desc\"><span lang=\"ja\">未知の値です。</span><span lang=\"en\">Unknown value.</span></dd> </dl>
*/
public enum AdGroupServiceUserStatus {
ACTIVE("ACTIVE"),
PAUSED("PAUSED"),
UNKNOWN("UNKNOWN");
private String value;
AdGroupServiceUserStatus(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static AdGroupServiceUserStatus fromValue(String value) {
for (AdGroupServiceUserStatus b : AdGroupServiceUserStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
}