View Source Craftgate.Model.WebhookData (Craftgate v1.0.42)
Elixir equivalent of the Java data class io.craftgate.model.WebhookData
Link to this section Summary
Functions
Callback implementation for Construct.cast/2
.
Callback implementation for Construct.make/2
.
Callback implementation for Construct.make!/2
.
Attempts to parse the input as an instance of this struct
Bangified version of parse/1
Returns the names of the fields that are serializable/deserializable
Attempts to serialize this struct as a JSON string
Bangified version of serialize/2
Link to this section Types
@type t() :: %Craftgate.Model.WebhookData{ event_time: NaiveDateTime.t() | nil, event_timestamp: integer() | nil, event_type: Craftgate.Model.WebhookEventType.t() | nil, payload_id: String.t() | nil, status: Craftgate.Model.WebhookStatus.t() | nil }
Link to this section Functions
Callback implementation for Construct.cast/2
.
Callback implementation for Construct.make/2
.
Callback implementation for Construct.make!/2
.
Attempts to parse the input as an instance of this struct
See also: Craftgate.Serializable.parse/2
Bangified version of parse/1
@spec serializable_fields() :: [atom()]
Returns the names of the fields that are serializable/deserializable
Attempts to serialize this struct as a JSON string
Bangified version of serialize/2