Class: GrowsurfRuby::Models::Campaign::ParticipantUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/growsurf_ruby/models/campaign/participant_update_params.rb

Overview

Defined Under Namespace

Modules: ReferralStatus

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Method Summary

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from GrowsurfRuby::Internal::Type::BaseModel

Instance Attribute Details

#emailString?

Returns:

  • (String, nil)


24
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 24

optional :email, String

#first_nameString?

Returns:

  • (String, nil)


29
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 29

optional :first_name, String, api_name: :firstName

#idString

Returns:

  • (String)


14
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 14

required :id, String

#last_nameString?

Returns:

  • (String, nil)


34
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 34

optional :last_name, String, api_name: :lastName

#metadataHash{Symbol=>Object}?

Shallow custom metadata object.

Returns:

  • (Hash{Symbol=>Object}, nil)


40
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 40

optional :metadata, GrowsurfRuby::Internal::Type::HashOf[GrowsurfRuby::Internal::Type::Unknown]

#participant_id_or_emailString

Returns:

  • (String)


19
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 19

required :participant_id_or_email, String

#referral_statusSymbol, ...



45
46
47
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 45

optional :referral_status,
enum: -> { GrowsurfRuby::Campaign::ParticipantUpdateParams::ReferralStatus },
api_name: :referralStatus

#referred_byString?

Returns:

  • (String, nil)


52
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 52

optional :referred_by, String, api_name: :referredBy

#unsubscribedBoolean?

Returns:

  • (Boolean, nil)


57
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 57

optional :unsubscribed, GrowsurfRuby::Internal::Type::Boolean

#vanity_keysArray<String>?

Returns:

  • (Array<String>, nil)


62
# File 'lib/growsurf_ruby/models/campaign/participant_update_params.rb', line 62

optional :vanity_keys, GrowsurfRuby::Internal::Type::ArrayOf[String], api_name: :vanityKeys