Class: Moonbase::Models::DomainValue
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Moonbase::Models::DomainValue
- Defined in:
- lib/moonbase/models/domain_value.rb
Instance Attribute Summary collapse
-
#data ⇒ String
A valid internet domain name, without protocol (e.g., ‘https://’) or path.
- #type ⇒ Symbol, :"value/uri/domain"
Instance Method Summary collapse
-
#initialize(data:, type: :"value/uri/domain") ⇒ Object
constructor
Internet domain name.
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(data:, type: :"value/uri/domain") ⇒ Object
Internet domain name
|
|
# File 'lib/moonbase/models/domain_value.rb', line 17
|
Instance Attribute Details
#data ⇒ String
A valid internet domain name, without protocol (e.g., ‘https://’) or path.
10 |
# File 'lib/moonbase/models/domain_value.rb', line 10 required :data, String |
#type ⇒ Symbol, :"value/uri/domain"
15 |
# File 'lib/moonbase/models/domain_value.rb', line 15 required :type, const: :"value/uri/domain" |