jp.co.yahoo.adssearchapi.v14.model.BaseAccountServiceIncludeMccAccount 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
The 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.
*
* 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\"> BaseAccountServiceIncludeMccAccountオブジェクトは、取得するアカウントにMCCアカウントを含むかどうかを表します。<br> このフィールドは、省略可能となります。その際、GET時のデフォルト設定値はALLとなります。 </div> <div lang=\"en\"> BaseAccountServiceIncludeMccAccount represents whether the account to be retrieved includes an MCC account.<br> This field is optional. The default value in GET operation will be ALL. </div> <dl class=term> <dt class=\"term__item\">ONLY_MCC</dt> <dd class=\"term__desc\"><span lang=\"ja\">MCCアカウントのみです。</span><span lang=\"en\">MCC account only.</span></dd> <dt class=\"term__item\">ONLY_ROOT_MCC</dt> <dd class=\"term__desc\"><span lang=\"ja\">ルートMCCアカウントのみです。</span><span lang=\"en\">Root MCC account only.</span></dd> <dt class=\"term__item\">ONLY_ADS_ACCOUNT</dt> <dd class=\"term__desc\"><span lang=\"ja\">検索広告アカウントのみです。</span><span lang=\"en\">Search Ads account only.</span></dd> <dt class=\"term__item\">ALL</dt> <dd class=\"term__desc\"><span lang=\"ja\">全てのアカウントです。</span><span lang=\"en\">All accounts.</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 BaseAccountServiceIncludeMccAccount {
ONLY_MCC("ONLY_MCC"),
ONLY_ROOT_MCC("ONLY_ROOT_MCC"),
ONLY_ADS_ACCOUNT("ONLY_ADS_ACCOUNT"),
ALL("ALL"),
UNKNOWN("UNKNOWN");
private String value;
BaseAccountServiceIncludeMccAccount(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static BaseAccountServiceIncludeMccAccount fromValue(String value) {
for (BaseAccountServiceIncludeMccAccount b : BaseAccountServiceIncludeMccAccount.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
}