Class: Orb::Models::CustomerCreatePortalSessionByExternalIDResponse

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

Overview

See Also:

  • Orb::Resources::Customers#create_portal_session_by_external_id

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(id:, created_at:, customer_id:, expires_at:, url:) ⇒ Object

Parameters:

  • id (String)
  • created_at (Time)
  • customer_id (String)
  • expires_at (Time, nil)
  • url (String)


# File 'lib/orb/models/customer_create_portal_session_by_external_id_response.rb', line 32

Instance Attribute Details

#created_atTime

Parameters:

  • value (Time)

Returns:

  • (Time)


15
# File 'lib/orb/models/customer_create_portal_session_by_external_id_response.rb', line 15

required :created_at, Time

#customer_idString

Parameters:

  • value (String)

Returns:

  • (String)


20
# File 'lib/orb/models/customer_create_portal_session_by_external_id_response.rb', line 20

required :customer_id, String

#expires_atTime?

Parameters:

  • value (Time, nil)

Returns:

  • (Time, nil)


25
# File 'lib/orb/models/customer_create_portal_session_by_external_id_response.rb', line 25

required :expires_at, Time, nil?: true

#idString

Parameters:

  • value (String)

Returns:

  • (String)


10
# File 'lib/orb/models/customer_create_portal_session_by_external_id_response.rb', line 10

required :id, String

#urlString

Parameters:

  • value (String)

Returns:

  • (String)


30
# File 'lib/orb/models/customer_create_portal_session_by_external_id_response.rb', line 30

required :url, String

Instance Method Details

#to_hash{

Returns:

  • ({)


31
# File 'sig/orb/models/customer_create_portal_session_by_external_id_response.rbs', line 31

def to_hash: -> {