Module: Imagekitio::Models::CustomMetadataField::Schema::DefaultValue

Extended by:
Internal::Type::Union
Defined in:
lib/imagekitio/models/custom_metadata_field.rb,
sig/imagekitio/models/custom_metadata_field.rbs

Overview

The default value for this custom metadata field. Data type of default value depends on the field type.

See Also:

  • Imagekitio::Models::CustomMetadataField::Schema#default_value

Defined Under Namespace

Modules: Mixed

Constant Summary collapse

MixedArray =
Imagekitio::Internal::Type::ArrayOf[union: -> {
  Imagekitio::CustomMetadataField::Schema::DefaultValue::Mixed
}]

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variantsArray(String, Float, Boolean, Array<String, Float, Boolean>)

Returns:

  • (Array(String, Float, Boolean, Array<String, Float, Boolean>))


# File 'lib/imagekitio/models/custom_metadata_field.rb', line 182

Instance Method Details

#self?.variants::Array[Imagekitio::Models::CustomMetadataField::Schema::default_value]

Returns:

  • (::Array[Imagekitio::Models::CustomMetadataField::Schema::default_value])


147
# File 'sig/imagekitio/models/custom_metadata_field.rbs', line 147

def self?.variants: -> ::Array[Imagekitio::Models::CustomMetadataField::Schema::default_value]