Class: Inttegro::Broadcast::CancelResponse

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/broadcast/cancel_response.rb

Overview

Typed representation of the cancel response object in the Inttegro API.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#broadcast ⇒ Inttegro::Broadcast::CancelDetail? (readonly)

Value of the broadcast field in the Inttegro API payload.

Optional in the API payload; omitted values default to nil. Wire name: broadcast.



24
25
26
# File 'lib/inttegro/broadcast/cancel_response.rb', line 24

class CancelResponse < T::Struct
  const :broadcast, T.nilable(Inttegro::Broadcast::CancelDetail), default: nil
end