Class: TrackPicture

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

Constant Summary collapse

ID =
1
TRACKID =
2
UID =
3
PICTUREPATH =
4
ORDERNUM =
5
EXPLOREHEIGHT =
6
CREATEDAT =
7
UPDATEDAT =
8
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id'},
  TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
  UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
  PICTUREPATH => {:type => ::Thrift::Types::STRING, :name => 'picturePath', :optional => true},
  ORDERNUM => {:type => ::Thrift::Types::I32, :name => 'orderNum'},
  EXPLOREHEIGHT => {:type => ::Thrift::Types::I32, :name => 'exploreHeight'},
  CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
  UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



267
268
# File 'lib/content_types.rb', line 267

def validate
end