Class PagerDutyEvent

All Implemented Interfaces:

public class PagerDutyEvent
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static PagerDutyEvent of​(java.util.function.Function<PagerDutyEvent.Builder,​ObjectBuilder<PagerDutyEvent>> fn)
    • account

      public final java.lang.String account()
      Required - API name: account
    • attachPayload

      public final boolean attachPayload()
      Required - API name: attach_payload
    • client

      public final java.lang.String client()
      Required - API name: client
    • clientUrl

      public final java.lang.String clientUrl()
      Required - API name: client_url
    • context

      public final java.util.List<PagerDutyContext> context()
      Required - API name: context
    • description

      public final java.lang.String description()
      Required - API name: description
    • eventType

      public final PagerDutyEventType eventType()
      Required - API name: event_type
    • incidentKey

      public final java.lang.String incidentKey()
      Required - API name: incident_key
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupPagerDutyEventDeserializer

      protected static void setupPagerDutyEventDeserializer​(ObjectDeserializer<PagerDutyEvent.Builder> op)