Class: Dataleon::Models::Individual::Tag

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dataleon/models/individual.rb

Instance Attribute Summary collapse

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 Dataleon::Internal::Type::BaseModel

Instance Attribute Details

#keyString?

Name of the tag used to identify the metadata field.

Returns:

  • (String, nil)


609
# File 'lib/dataleon/models/individual.rb', line 609

optional :key, String

#privateBoolean?

Indicates whether the tag is private (not visible to external users).

Returns:

  • (Boolean, nil)


615
# File 'lib/dataleon/models/individual.rb', line 615

optional :private, Dataleon::Internal::Type::Boolean

#typeString?

Data type of the tag value (e.g., “string”, “number”, “boolean”).

Returns:

  • (String, nil)


621
# File 'lib/dataleon/models/individual.rb', line 621

optional :type, String

#valueString?

Value assigned to the tag.

Returns:

  • (String, nil)


627
# File 'lib/dataleon/models/individual.rb', line 627

optional :value, String