26 lines
496 B
Ruby
26 lines
496 B
Ruby
#
|
|
# Autogenerated by Thrift Compiler (0.8.0)
|
|
#
|
|
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
#
|
|
|
|
|
|
class Message
|
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
|
NAME = 1
|
|
LANG = 2
|
|
|
|
FIELDS = {
|
|
NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
|
|
LANG => {:type => ::Thrift::Types::STRING, :name => 'lang', :default => %q"en", :optional => true}
|
|
}
|
|
|
|
def struct_fields; FIELDS; end
|
|
|
|
def validate
|
|
end
|
|
|
|
::Thrift::Struct.generate_accessors self
|
|
end
|
|
|