Class: Orb::Models::Item
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::Item
- Defined in:
- lib/orb/models/item.rb
Overview
Defined Under Namespace
Classes: ExternalConnection
Instance Attribute Summary collapse
- #created_at ⇒ Time
- #external_connections ⇒ Array<Orb::Models::Item::ExternalConnection>
- #id ⇒ String
-
#metadata ⇒ Hash{Symbol=>String}
User specified key-value pairs for the resource.
- #name ⇒ String
Method Summary
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 Orb::Internal::Type::BaseModel
Instance Attribute Details
#created_at ⇒ Time
15 |
# File 'lib/orb/models/item.rb', line 15 required :created_at, Time |
#external_connections ⇒ Array<Orb::Models::Item::ExternalConnection>
20 |
# File 'lib/orb/models/item.rb', line 20 required :external_connections, -> { Orb::Internal::Type::ArrayOf[Orb::Item::ExternalConnection] } |
#id ⇒ String
10 |
# File 'lib/orb/models/item.rb', line 10 required :id, String |
#metadata ⇒ Hash{Symbol=>String}
User specified key-value pairs for the resource. If not present, this defaults to an empty dictionary. Individual keys can be removed by setting the value to ‘null`, and the entire metadata mapping can be cleared by setting `metadata` to `null`.
29 |
# File 'lib/orb/models/item.rb', line 29 required :metadata, Orb::Internal::Type::HashOf[String] |
#name ⇒ String
34 |
# File 'lib/orb/models/item.rb', line 34 required :name, String |