Class: Service::Content::Thrift::ClientInfo

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

Constant Summary collapse

CLIENTTYPE =
1
DEVICE =
2
VERSION =
3
USERAGENT =
4
CHANNEL =
5
DEVICEID =
6
MAC =
7
IP =
8
LONGITUDE =
9
LATITUDE =
10
BUNDLEID =
11
FIELDS =
{
  CLIENTTYPE => {:type => ::Thrift::Types::STRING, :name => 'clientType'},
  DEVICE => {:type => ::Thrift::Types::STRING, :name => 'device'},
  VERSION => {:type => ::Thrift::Types::STRING, :name => 'version'},
  USERAGENT => {:type => ::Thrift::Types::STRING, :name => 'userAgent'},
  CHANNEL => {:type => ::Thrift::Types::STRING, :name => 'channel'},
  DEVICEID => {:type => ::Thrift::Types::STRING, :name => 'deviceId'},
  MAC => {:type => ::Thrift::Types::STRING, :name => 'mac'},
  IP => {:type => ::Thrift::Types::STRING, :name => 'ip'},
  LONGITUDE => {:type => ::Thrift::Types::STRING, :name => 'longitude'},
  LATITUDE => {:type => ::Thrift::Types::STRING, :name => 'latitude'},
  BUNDLEID => {:type => ::Thrift::Types::STRING, :name => 'bundleId'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



956
957
# File 'lib/service_album_api/content_types.rb', line 956

def validate
end