Class: Zavudev::Models::InvitationCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/zavudev/models/invitation_create_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

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, 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(allowed_phone_countries: nil, client_email: nil, client_name: nil, client_phone: nil, expires_in_days: nil, phone_number_id: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Zavudev::Models::InvitationCreateParams for more details.

Parameters:

  • allowed_phone_countries (Array<String>) (defaults to: nil)

    ISO country codes for allowed phone numbers.

  • client_email (String) (defaults to: nil)

    Email of the client being invited.

  • client_name (String) (defaults to: nil)

    Name of the client being invited.

  • client_phone (String) (defaults to: nil)

    Phone number of the client in E.164 format.

  • expires_in_days (Integer) (defaults to: nil)

    Number of days until the invitation expires.

  • phone_number_id (String) (defaults to: nil)

    ID of a Zavu phone number to pre-assign for WhatsApp registration. If provided,

  • request_options (Zavudev::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/zavudev/models/invitation_create_params.rb', line 49

Instance Attribute Details

#allowed_phone_countriesArray<String>?

ISO country codes for allowed phone numbers.

Returns:

  • (Array<String>, nil)


14
15
16
# File 'lib/zavudev/models/invitation_create_params.rb', line 14

optional :allowed_phone_countries,
Zavudev::Internal::Type::ArrayOf[String],
api_name: :allowedPhoneCountries

#client_emailString?

Email of the client being invited.

Returns:

  • (String, nil)


22
# File 'lib/zavudev/models/invitation_create_params.rb', line 22

optional :client_email, String, api_name: :clientEmail

#client_nameString?

Name of the client being invited.

Returns:

  • (String, nil)


28
# File 'lib/zavudev/models/invitation_create_params.rb', line 28

optional :client_name, String, api_name: :clientName

#client_phoneString?

Phone number of the client in E.164 format.

Returns:

  • (String, nil)


34
# File 'lib/zavudev/models/invitation_create_params.rb', line 34

optional :client_phone, String, api_name: :clientPhone

#expires_in_daysInteger?

Number of days until the invitation expires.

Returns:

  • (Integer, nil)


40
# File 'lib/zavudev/models/invitation_create_params.rb', line 40

optional :expires_in_days, Integer, api_name: :expiresInDays

#phone_number_idString?

ID of a Zavu phone number to pre-assign for WhatsApp registration. If provided, the client will use this number instead of their own.

Returns:

  • (String, nil)


47
# File 'lib/zavudev/models/invitation_create_params.rb', line 47

optional :phone_number_id, String, api_name: :phoneNumberId