Class: Cerca::Models::AttachedConnection

Inherits:
Connection show all
Defined in:
lib/cerca/models/attached_connection.rb

Overview

Instance Attribute Summary collapse

Attributes inherited from Connection

#account_label, #created_at, #id, #owner, #provider, #scopes, #type, #updated_at

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(attached_at:, metadata: nil) ⇒ Object

Parameters:

  • attached_at (String)
  • metadata (Hash{Symbol=>String}) (defaults to: nil)


# File 'lib/cerca/models/attached_connection.rb', line 17

Instance Attribute Details

#attached_atString

Returns:

  • (String)


10
# File 'lib/cerca/models/attached_connection.rb', line 10

required :attached_at, String, api_name: :attachedAt

#metadataHash{Symbol=>String}?

Returns:

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


15
# File 'lib/cerca/models/attached_connection.rb', line 15

optional :metadata, Cerca::Internal::Type::HashOf[String]