jp.co.yahoo.adssearchapi.v13.model.CampaignServiceIsRemove 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: v13
*
*
* 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.v13.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\"> CampaignServiceIsRemoveは、項目を削除するフラグです。<br> 設定値が「TRUE」の場合、設定されている値が無効になります。<br> このフィールドは、ADD時は無視され、SET時は省略可能となります。 </div> <div lang=\"en\"> CampaignServiceIsRemove is a flag for removing an information item.<br> If the set value is 'TRUE', the set value will be invalid.<br> This field will be ignored in ADD operation, and will be optional in SET operation. </div> <dl class=term> <dt class=\"term__item\">TRUE</dt> <dd class=\"term__desc\"><span lang=\"ja\">項目の削除。</span><span lang=\"en\">removes the information item.</span></dd> <dt class=\"term__item\">FALSE</dt> <dd class=\"term__desc\"><span lang=\"ja\">項目の削除なし。</span><span lang=\"en\">not remove the information item.</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 CampaignServiceIsRemove {
TRUE("TRUE"),
FALSE("FALSE"),
UNKNOWN("UNKNOWN");
private String value;
CampaignServiceIsRemove(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static CampaignServiceIsRemove fromValue(String value) {
for (CampaignServiceIsRemove b : CampaignServiceIsRemove.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
}