Class: Service::Profile::Thrift::RegisteredUserInfo

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

Constant Summary collapse

UID =
1
TYPE =
2
THIRDPARTYID =
3
ACCOUNT =
4
IP =
5
CHANNEL =
6
GUIDESTEP =
7
CLIENTTYPE =
8
CATEGORYIDS =
9
SUCCESS =
10
FIELDS =
{
  UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
  TYPE => {:type => ::Thrift::Types::I16, :name => 'type'},
  THIRDPARTYID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyId'},
  ACCOUNT => {:type => ::Thrift::Types::STRING, :name => 'account', :optional => true},
  IP => {:type => ::Thrift::Types::STRING, :name => 'ip', :optional => true},
  CHANNEL => {:type => ::Thrift::Types::STRING, :name => 'channel', :optional => true},
  GUIDESTEP => {:type => ::Thrift::Types::I16, :name => 'guideStep'},
  CLIENTTYPE => {:type => ::Thrift::Types::I16, :name => 'clientType'},
  CATEGORYIDS => {:type => ::Thrift::Types::STRING, :name => 'categoryIds', :optional => true},
  SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



68
# File 'lib/profile_types.rb', line 68

def struct_fields; FIELDS; end

#validateObject



70
71
# File 'lib/profile_types.rb', line 70

def validate
end