Class TimeOfWeek
java.lang.Object
co.elastic.clients.elasticsearch.watcher.TimeOfWeek
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TimeOfWeek extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimeOfWeek.Builder
Builder forTimeOfWeek
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TimeOfWeek>
_DESERIALIZER
Json deserializer forTimeOfWeek
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
at()
Required - API name:at
static TimeOfWeek
of(java.util.function.Function<TimeOfWeek.Builder,ObjectBuilder<TimeOfWeek>> fn)
java.util.List<Day>
on()
Required - API name:on
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupTimeOfWeekDeserializer(ObjectDeserializer<TimeOfWeek.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTimeOfWeek
-
-
Method Details
-
of
public static TimeOfWeek of(java.util.function.Function<TimeOfWeek.Builder,ObjectBuilder<TimeOfWeek>> fn) -
at
public final java.util.List<java.lang.String> at()Required - API name:at
-
on
Required - API name:on
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTimeOfWeekDeserializer
-