Class: Zavudev::Models::BroadcastSendResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/zavudev/models/broadcast_send_response.rb,
sig/zavudev/models/broadcast_send_response.rbs

Overview

See Also:

  • Zavudev::Resources::Broadcasts#send_

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(broadcast:) ⇒ BroadcastSendResponse

Returns a new instance of BroadcastSendResponse.

Parameters:



# File 'lib/zavudev/models/broadcast_send_response.rb', line 12

Instance Attribute Details

#broadcastZavudev::Models::Broadcast

Parameters:

Returns:



10
# File 'lib/zavudev/models/broadcast_send_response.rb', line 10

required :broadcast, -> { Zavudev::Broadcast }

Instance Method Details

#to_hash{ broadcast: Zavudev::Broadcast }

Returns:



10
# File 'sig/zavudev/models/broadcast_send_response.rbs', line 10

def to_hash: -> { broadcast: Zavudev::Broadcast }