jp.co.yahoo.adssearchapi.v14.model.AccountServiceStatus 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\">AccountServiceStatusは、アカウントの契約状況を表します。<br> MCCアカウントの場合、このフィールドは<code>SERVING</code>になります。<br> このフィールドは、レスポンスの際に返却されますが、リクエストの際には無視されます。</div> <div lang=\"en\">Account status.<br> If isManagerAccount is \"TRUE\", this field will be <code>SERVING</code>.<br> Although this field will be returned in the response, it will be ignored on input.</div> <dl class=term> <dt class=\"term__item\">INPROGRESS</dt> <dd class=\"term__desc\"><span lang=\"ja\">審査中</span><span lang=\"en\">Under review.</span></dd> <dt class=\"term__item\">WAIT_DECIDE</dt> <dd class=\"term__desc\"><span lang=\"ja\">確定待ち</span><span lang=\"en\">Waiting confirmation.</span></dd> <dt class=\"term__item\">SUSPENDED</dt> <dd class=\"term__desc\"><span lang=\"ja\">サービス停止中</span><span lang=\"en\">The account service is not active.</span></dd> <dt class=\"term__item\">SERVING</dt> <dd class=\"term__desc\"><span lang=\"ja\">サービス中</span><span lang=\"en\">The account is active.</span></dd> <dt class=\"term__item\">ENDED</dt> <dd class=\"term__desc\"><span lang=\"ja\">サービス終了</span><span lang=\"en\">The account service has ended.</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 AccountServiceStatus {
INPROGRESS("INPROGRESS"),
WAIT_DECIDE("WAIT_DECIDE"),
SUSPENDED("SUSPENDED"),
SERVING("SERVING"),
ENDED("ENDED"),
UNKNOWN("UNKNOWN");
private String value;
AccountServiceStatus(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static AccountServiceStatus fromValue(String value) {
for (AccountServiceStatus b : AccountServiceStatus.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
}