Class: Service::Profile::Thrift::RegisterationProfile

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

Constant Summary collapse

UID =
1
MOBILE =
2
EMAIL =
3
NICKNAME =
4
COUNTRY =
5
PROVINCE =
6
CITY =
7
GENDER =
8
THIRDPARTYID =
9
THIRDPARTYUSERID =
10
LOGOPIC =
11
PERSONALSIGNATURE =
12
ISROBOT =
13
BIRTHYEAR =
14
BIRTHMONTH =
15
BIRTHDAY =
16
CLIENTINFO =
17
FIELDS =
{
  UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
  MOBILE => {:type => ::Thrift::Types::STRING, :name => 'mobile', :optional => true},
  EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email', :optional => true},
  NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname', :optional => true},
  COUNTRY => {:type => ::Thrift::Types::STRING, :name => 'country', :optional => true},
  PROVINCE => {:type => ::Thrift::Types::STRING, :name => 'province', :optional => true},
  CITY => {:type => ::Thrift::Types::STRING, :name => 'city', :optional => true},
  GENDER => {:type => ::Thrift::Types::STRING, :name => 'gender', :optional => true},
  THIRDPARTYID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyId'},
  THIRDPARTYUSERID => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyUserId', :optional => true},
  LOGOPIC => {:type => ::Thrift::Types::STRING, :name => 'logoPic', :optional => true},
  PERSONALSIGNATURE => {:type => ::Thrift::Types::STRING, :name => 'personalSignature', :optional => true},
  ISROBOT => {:type => ::Thrift::Types::BOOL, :name => 'isRobot'},
  BIRTHYEAR => {:type => ::Thrift::Types::I32, :name => 'birthYear'},
  BIRTHMONTH => {:type => ::Thrift::Types::I32, :name => 'birthMonth'},
  BIRTHDAY => {:type => ::Thrift::Types::I32, :name => 'birthDay'},
  CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



118
119
# File 'lib/profile_types.rb', line 118

def validate
end