Class: Types::Value::StructValue
- Inherits:
-
Object
- Object
- Types::Value::StructValue
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/types/value/value_types.rb,
lib/types/value/value_types.rb
Constant Summary collapse
- NAME =
'StructValue'.freeze
- NAMESPACE =
'types.value'.freeze
- LEGACY_ANNOTATIONS =
{ }.freeze
- STRUCTURED_ANNOTATIONS =
[ ].freeze
- THRIFT_FIELD_INDEX_FIELDS =
1- THRIFT_FIELD_FIELDS_LEGACY_ANNOTATIONS =
{ }.freeze
- THRIFT_FIELD_FIELDS_STRUCTURED_ANNOTATIONS =
[ ].freeze
- FIELDS =
{ THRIFT_FIELD_INDEX_FIELDS => {type: ::Thrift::Types::MAP, name: 'fields', key: {type: ::Thrift::Types::STRING}, value: {type: ::Thrift::Types::STRUCT, class: ::Types::Value::Value}, optional: true, legacy_annotations: THRIFT_FIELD_FIELDS_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_FIELDS_STRUCTURED_ANNOTATIONS} }.freeze
Constants included from Thrift::Struct_Union
Thrift::Struct_Union::CONTAINER_TYPES
Instance Method Summary collapse
Methods included from Thrift::Struct
#<=>, #==, append_features, #differences, #eql?, field_accessor, #fields_with_default_values, generate_accessors, #hash, #initialize, #inspect, qmark_isset_method, #read, #write
Methods included from Thrift::Struct_Union
#each_field, #field_info, #inspect_collection, #inspect_field, #is_container?, #name_to_id, #read_field, #sorted_field_ids, #write_container, #write_data
Instance Method Details
#struct_fields ⇒ Object
320 |
# File 'lib/types/value/value_types.rb', line 320 def struct_fields; FIELDS; end |
#validate ⇒ Object
322 323 |
# File 'lib/types/value/value_types.rb', line 322 def validate end |