Module: Imagekitio::Models::CustomMetadataFieldCreateParams::Schema::DefaultValue

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

Overview

The default value for this custom metadata field. This property is only required if isValueRequired property is set to true. The value should match the type of custom metadata field.

See Also:

  • Imagekitio::Models::CustomMetadataFieldCreateParams::Schema#default_value

Defined Under Namespace

Modules: Mixed

Constant Summary collapse

MixedArray =
Imagekitio::Internal::Type::ArrayOf[union: -> {
  Imagekitio::CustomMetadataFieldCreateParams::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_create_params.rb', line 177

Instance Method Details

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

Returns:

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


148
# File 'sig/imagekitio/models/custom_metadata_field_create_params.rbs', line 148

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