Class: Subscription

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

Constant Summary collapse

UID =
1
ALBUMID =
2
ALBUMTITLE =
3
ALBUMCOVER =
4
LASTCHECKAT =
5
LASTUPTRACKAT =
6
FIELDS =
{
  UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
  ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
  ALBUMTITLE => {:type => ::Thrift::Types::STRING, :name => 'albumTitle'},
  ALBUMCOVER => {:type => ::Thrift::Types::STRING, :name => 'albumCover'},
  LASTCHECKAT => {:type => ::Thrift::Types::I64, :name => 'lastCheckAt'},
  LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



27
# File 'lib/subscribe_types.rb', line 27

def struct_fields; FIELDS; end

#validateObject



29
30
# File 'lib/subscribe_types.rb', line 29

def validate
end