Class: Moonbase::Models::URLValue
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Moonbase::Models::URLValue
- Defined in:
- lib/moonbase/models/url_value.rb
Instance Attribute Summary collapse
-
#data ⇒ String
A valid URL, conforming to RFC 3986, up to 8,192 characters long.
- #type ⇒ Symbol, :"value/uri/url"
Instance Method Summary collapse
-
#initialize(data:, type: :"value/uri/url") ⇒ Object
constructor
Some parameter documentations has been truncated, see URLValue for more details.
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/url") ⇒ Object
Some parameter documentations has been truncated, see Moonbase::Models::URLValue for more details.
URL or web address
|
|
# File 'lib/moonbase/models/url_value.rb', line 19
|
Instance Attribute Details
#data ⇒ String
A valid URL, conforming to RFC 3986, up to 8,192 characters long. It should include the protocol, for example ‘https://’ or ‘support@moonbase.ai’ etc.
12 |
# File 'lib/moonbase/models/url_value.rb', line 12 required :data, String |
#type ⇒ Symbol, :"value/uri/url"
17 |
# File 'lib/moonbase/models/url_value.rb', line 17 required :type, const: :"value/uri/url" |