jp.co.yahoo.adssearchapi.v12.model.BaseAccountServiceIncludeAdminAuth 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: v12
*
*
* 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.v12.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\"> BaseAccountServiceIncludeAdminAuthオブジェクトは、取得するアカウントに管理権限のアカウントを含むかどうかを表します。<br> このフィールドは、省略可能となります。<br> リクエスト時にauthTypeフィールドでREFERABLEを指定した場合、このフィールドは無視されます。 </div> <div lang=\"en\"> BaseAccountServiceIncludeAdminAuth indicates whether to include accounts with admin access for accounts you get. This field is optional. If it is specified REFERABLE in authType on request, this field will be ignored. </div> <dl class=term> <dt class=\"term__item\">ONLY_ADMIN</dt> <dd class=\"term__desc\"><span lang=\"ja\">管理権限のアカウントのみを取得します。</span><span lang=\"en\">Retrieve only accounts with admin access.</span></dd> <dt class=\"term__item\">EXCLUDE_ADMIN</dt> <dd class=\"term__desc\"><span lang=\"ja\">管理権限のアカウントを除外します。</span><span lang=\"en\">Exclude accounts without admin access.</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 BaseAccountServiceIncludeAdminAuth {
ONLY_ADMIN("ONLY_ADMIN"),
EXCLUDE_ADMIN("EXCLUDE_ADMIN"),
UNKNOWN("UNKNOWN");
private String value;
BaseAccountServiceIncludeAdminAuth(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static BaseAccountServiceIncludeAdminAuth fromValue(String value) {
for (BaseAccountServiceIncludeAdminAuth b : BaseAccountServiceIncludeAdminAuth.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
}