Class: TrackRich

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/content_types.rb

Constant Summary collapse

ID =
1
TRACKID =
2
CREATEDAT =
3
UPDATEDAT =
4
LYRIC =
5
RICHINTRO =
6
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id'},
  TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
  CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
  UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'},
  LYRIC => {:type => ::Thrift::Types::STRING, :name => 'lyric', :optional => true},
  RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



291
# File 'lib/content_types.rb', line 291

def struct_fields; FIELDS; end

#validateObject



293
294
# File 'lib/content_types.rb', line 293

def validate
end