Class: Types::Annotation::Naming::PreviouslyKnownAs

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/types/annotation/naming/naming_types.rb,
lib/types/annotation/naming/naming_types.rb

Constant Summary collapse

NAME =
'PreviouslyKnownAs'.freeze
NAMESPACE =
'types.annotation.naming'.freeze
LEGACY_ANNOTATIONS =
{
}.freeze
STRUCTURED_ANNOTATIONS =
[
].freeze
THRIFT_FIELD_INDEX_NAMESPACE_ =
1
THRIFT_FIELD_INDEX_NAME =
2
THRIFT_FIELD_NAMESPACE__LEGACY_ANNOTATIONS =
{
}.freeze
THRIFT_FIELD_NAMESPACE__STRUCTURED_ANNOTATIONS =
[
].freeze
THRIFT_FIELD_NAME_LEGACY_ANNOTATIONS =
{
}.freeze
THRIFT_FIELD_NAME_STRUCTURED_ANNOTATIONS =
[
].freeze
FIELDS =
{
  THRIFT_FIELD_INDEX_NAMESPACE_ => {type: ::Thrift::Types::STRING, name: 'namespace_', optional: true, legacy_annotations: THRIFT_FIELD_NAMESPACE__LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_NAMESPACE__STRUCTURED_ANNOTATIONS},
  THRIFT_FIELD_INDEX_NAME => {type: ::Thrift::Types::STRING, name: 'name', optional: true, legacy_annotations: THRIFT_FIELD_NAME_LEGACY_ANNOTATIONS, structured_annotations: THRIFT_FIELD_NAME_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_fieldsObject



46
# File 'lib/types/annotation/naming/naming_types.rb', line 46

def struct_fields; FIELDS; end

#validateObject



48
49
# File 'lib/types/annotation/naming/naming_types.rb', line 48

def validate
end