Class: Service::Content::Thrift::TrackRich

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/service_album_api/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



336
# File 'lib/service_album_api/content_types.rb', line 336

def struct_fields; FIELDS; end

#validateObject



338
339
# File 'lib/service_album_api/content_types.rb', line 338

def validate
end