jp.co.yahoo.adssearchapi.v12.model.FeedItemServiceDayOfWeek 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\">FeedItemServiceDayOfWeekは、曜日を表します。<br> このフィールドは、ADDおよびSET時に必須となります。</div> <div lang=\"en\">A day of the week.<br> This field is required in ADD and SET operation.</div> <dl class=term> <dt class=\"term__item\">MONDAY</dt> <dd class=\"term__desc\"><span lang=\"ja\">月曜日です。</span><span lang=\"en\">For Monday of the week.</span></dd> <dt class=\"term__item\">TUESDAY</dt> <dd class=\"term__desc\"><span lang=\"ja\">火曜日です。</span><span lang=\"en\">For Tuesday of the week.</span></dd> <dt class=\"term__item\">WEDNESDAY</dt> <dd class=\"term__desc\"><span lang=\"ja\">水曜日です。</span><span lang=\"en\">For Wednesday of the week.</span></dd> <dt class=\"term__item\">THURSDAY</dt> <dd class=\"term__desc\"><span lang=\"ja\">木曜日です。</span><span lang=\"en\">For Thursday of the week.</span></dd> <dt class=\"term__item\">FRIDAY</dt> <dd class=\"term__desc\"><span lang=\"ja\">金曜日です。</span><span lang=\"en\">For Friday of the week.</span></dd> <dt class=\"term__item\">SATURDAY</dt> <dd class=\"term__desc\"><span lang=\"ja\">土曜日です。</span><span lang=\"en\">For Saturday of the week.</span></dd> <dt class=\"term__item\">SUNDAY</dt> <dd class=\"term__desc\"><span lang=\"ja\">日曜日です。</span><span lang=\"en\">For Sunday of the week.</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 FeedItemServiceDayOfWeek {
MONDAY("MONDAY"),
TUESDAY("TUESDAY"),
WEDNESDAY("WEDNESDAY"),
THURSDAY("THURSDAY"),
FRIDAY("FRIDAY"),
SATURDAY("SATURDAY"),
SUNDAY("SUNDAY"),
UNKNOWN("UNKNOWN");
private String value;
FeedItemServiceDayOfWeek(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static FeedItemServiceDayOfWeek fromValue(String value) {
for (FeedItemServiceDayOfWeek b : FeedItemServiceDayOfWeek.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
}