github :: DeploymentStatusEvent :: _deployment
Deployment hash that this status is associated with.github :: DeploymentStatusEvent :: _description
Optional human-readable description added to the status.github :: DeploymentStatusEvent :: _target_url
Optional link added to the status.github :: DeploymentStatusEvent :: deployment
Deployment hash that this status is associated with.github :: DeploymentStatusEvent :: deployment=
Deployment hash that this status is associated with.github :: DeploymentStatusEvent :: description
Optional human-readable description added to the status.github :: DeploymentStatusEvent :: description=
Optional human-readable description added to the status.github :: DeploymentStatusEvent :: target_url
Optional link added to the status.github :: DeploymentStatusEvent :: target_url=
Optional link added to the status.github $ DeploymentStatusEvent :: SELF
Type of this instance, automatically specialized in every classgithub $ DeploymentStatusEvent :: core_serialize_to
Actual serialization ofself
to serializer
github $ DeploymentStatusEvent :: from_deserializer
Create an instance of this class from thedeserializer
github :: GithubEvent :: _action
Action performed by the event.github :: DeploymentStatusEvent :: _deployment
Deployment hash that this status is associated with.github :: DeploymentStatusEvent :: _description
Optional human-readable description added to the status.github :: DeploymentStatusEvent :: _target_url
Optional link added to the status.serialization :: Serializable :: accept_inspect_serializer_core
serialization :: Serializable :: accept_json_serializer
Refinable service to customize the serialization of this class to JSONserialization :: Serializable :: accept_msgpack_attribute_counter
Hook to customize the behavior of theAttributeCounter
serialization :: Serializable :: accept_msgpack_serializer
Hook to customize the serialization of this class to MessagePackgithub :: GithubEvent :: action=
Action performed by the event.serialization :: Serializable :: add_to_bundle
Called by[]=
to dynamically choose the appropriate method according
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
core :: Object :: defaultinit
github :: GithubEvent :: defaultinit
github :: DeploymentStatusEvent :: deployment
Deployment hash that this status is associated with.github :: DeploymentStatusEvent :: deployment=
Deployment hash that this status is associated with.github :: DeploymentStatusEvent :: description
Optional human-readable description added to the status.github :: DeploymentStatusEvent :: description=
Optional human-readable description added to the status.serialization :: Serializable :: from_deserializer
Create an instance of this class from thedeserializer
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
serialization :: Serializable :: msgpack_extra_array_items
Hook to request a larger than usual metadata arraycore :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).serialization :: Serializable :: serialize_msgpack
Serializeself
to MessagePack bytes
serialization :: Serializable :: serialize_to
Serializeself
to serializer
serialization :: Serializable :: serialize_to_json
Serializeself
to JSON
serialization :: Serializable :: serialize_to_or_delay
Accept references or force direct serialization (usingserialize_to
)
github :: DeploymentStatusEvent :: target_url
Optional link added to the status.github :: DeploymentStatusEvent :: target_url=
Optional link added to the status.serialization :: Serializable :: to_pretty_json
Serializeself
to plain pretty JSON
Serializer::serialize
# Triggered when a deployement's status changes.
class DeploymentStatusEvent
super GithubEvent
serialize
# New deployment state.
#
# Can be `pending`, `success`, `failure`, or `error`.
var state: String is writable
# Optional link added to the status.
var target_url: nullable String is writable
# Deployment hash that this status is associated with.
var deployment: String is writable
# Optional human-readable description added to the status.
var description: nullable String is writable
end
lib/github/events.nit:104,1--122,3