Class PagerDutyContext
java.lang.Object
co.elastic.clients.elasticsearch.watcher.PagerDutyContext
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class PagerDutyContext extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PagerDutyContext.Builder
Builder forPagerDutyContext
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PagerDutyContext>
_DESERIALIZER
Json deserializer forPagerDutyContext
-
Method Summary
Modifier and Type Method Description java.lang.String
href()
Required - API name:href
static PagerDutyContext
of(java.util.function.Function<PagerDutyContext.Builder,ObjectBuilder<PagerDutyContext>> fn)
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
setupPagerDutyContextDeserializer(ObjectDeserializer<PagerDutyContext.Builder> op)
java.lang.String
src()
Required - API name:src
PagerDutyContextType
type()
Required - API name:type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forPagerDutyContext
-
-
Method Details
-
of
public static PagerDutyContext of(java.util.function.Function<PagerDutyContext.Builder,ObjectBuilder<PagerDutyContext>> fn) -
href
public final java.lang.String href()Required - API name:href
-
src
public final java.lang.String src()Required - API name:src
-
type
Required - API name:type
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupPagerDutyContextDeserializer
protected static void setupPagerDutyContextDeserializer(ObjectDeserializer<PagerDutyContext.Builder> op)
-