Class: GrowsurfRuby::Models::Campaign::ParticipantRecordTransactionResponse::UnionMember0

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/growsurf_ruby/models/campaign/participant_record_transaction_response.rb,
sig/growsurf_ruby/models/campaign/participant_record_transaction_response.rbs

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

#initializeObject



23
# File 'sig/growsurf_ruby/models/campaign/participant_record_transaction_response.rbs', line 23

def initialize: (

Instance Attribute Details

#duplicateBoolean, false

Parameters:

  • value (false)

Returns:

  • (Boolean, false)


18
# File 'lib/growsurf_ruby/models/campaign/participant_record_transaction_response.rb', line 18

required :duplicate, const: false

#first_saleBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


23
# File 'lib/growsurf_ruby/models/campaign/participant_record_transaction_response.rb', line 23

required :first_sale, GrowsurfRuby::Internal::Type::Boolean, api_name: :firstSale

#messageString

Parameters:

  • value (String)

Returns:

  • (String)


28
# File 'lib/growsurf_ruby/models/campaign/participant_record_transaction_response.rb', line 28

required :message, String

#successBoolean, true

Parameters:

  • value (true)

Returns:

  • (Boolean, true)


33
# File 'lib/growsurf_ruby/models/campaign/participant_record_transaction_response.rb', line 33

required :success, const: true

Instance Method Details

#to_hash{

Returns:

  • ({)


30
# File 'sig/growsurf_ruby/models/campaign/participant_record_transaction_response.rbs', line 30

def to_hash: -> {