Class: FinchAPI::Models::Connect::SessionNewResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/connect/session_new_response.rb

Overview

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(connect_url: , session_id: ) ⇒ Object

Parameters:

  • connect_url (String) (defaults to: )

    The Connect URL to redirect the user to for authentication

  • session_id (String) (defaults to: )

    The unique identifier for the created connect session



# File 'lib/finch_api/models/connect/session_new_response.rb', line 20

Instance Attribute Details

#connect_urlString

The Connect URL to redirect the user to for authentication

Returns:

  • (String)


12
# File 'lib/finch_api/models/connect/session_new_response.rb', line 12

required :connect_url, String

#session_idString

The unique identifier for the created connect session

Returns:

  • (String)


18
# File 'lib/finch_api/models/connect/session_new_response.rb', line 18

required :session_id, String