Class: Service::Profile::Thrift::DetailUserInfo

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

Constant Summary collapse

UID =
1
NICKNAME =
2
LOGOPIC =
3
ISLOGINBAN =
4
ISVERIFIED =
5
PTITLE =
6
PERSONDESCRIBE =
7
COUNTRY =
8
PROVINCE =
9
CITY =
10
EMAIL =
11
MOBILE =
12
ISVEMAIL =
13
REALNAME =
14
BIRTHYEAR =
15
BIRTHMONTH =
16
BIRTHDAY =
17
CONSTELLATION =
18
GENDER =
19
VCATEGORYID =
20
MOBILEBACKGROUNDPIC =
21
WEBBACKGROUNDPIC =
22
WEBBACKGROUNDPICPOSITIONX =
23
WEBBACKGROUNDPICPOSITIONY =
24
PERSONALSIGNATURE =
25
CREATEDAT =
26
UPDATEDAT =
27
ERRORMSG =
28
ERRORCODE =
29
SUCCESS =
30
FIELDS =
{
  UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
  NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname', :optional => true},
  LOGOPIC => {:type => ::Thrift::Types::STRING, :name => 'logoPic', :optional => true},
  ISLOGINBAN => {:type => ::Thrift::Types::BOOL, :name => 'isLoginBan'},
  ISVERIFIED => {:type => ::Thrift::Types::BOOL, :name => 'isVerified'},
  PTITLE => {:type => ::Thrift::Types::STRING, :name => 'ptitle', :optional => true},
  PERSONDESCRIBE => {:type => ::Thrift::Types::STRING, :name => 'personDescribe', :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},
  EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email', :optional => true},
  MOBILE => {:type => ::Thrift::Types::STRING, :name => 'mobile', :optional => true},
  ISVEMAIL => {:type => ::Thrift::Types::BOOL, :name => 'isVEmail'},
  REALNAME => {:type => ::Thrift::Types::STRING, :name => 'realName', :optional => true},
  BIRTHYEAR => {:type => ::Thrift::Types::I32, :name => 'birthYear'},
  BIRTHMONTH => {:type => ::Thrift::Types::I16, :name => 'birthMonth'},
  BIRTHDAY => {:type => ::Thrift::Types::I16, :name => 'birthDay'},
  CONSTELLATION => {:type => ::Thrift::Types::STRING, :name => 'constellation', :optional => true},
  GENDER => {:type => ::Thrift::Types::I16, :name => 'gender'},
  VCATEGORYID => {:type => ::Thrift::Types::I32, :name => 'vCategoryId'},
  MOBILEBACKGROUNDPIC => {:type => ::Thrift::Types::STRING, :name => 'mobileBackgroundPic', :optional => true},
  WEBBACKGROUNDPIC => {:type => ::Thrift::Types::STRING, :name => 'webBackgroundPic', :optional => true},
  WEBBACKGROUNDPICPOSITIONX => {:type => ::Thrift::Types::I32, :name => 'webBackgroundPicPositionX'},
  WEBBACKGROUNDPICPOSITIONY => {:type => ::Thrift::Types::I32, :name => 'webBackgroundPicPositionY'},
  PERSONALSIGNATURE => {:type => ::Thrift::Types::STRING, :name => 'personalSignature', :optional => true},
  CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
  UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'},
  ERRORMSG => {:type => ::Thrift::Types::STRING, :name => 'errorMsg', :optional => true},
  ERRORCODE => {:type => ::Thrift::Types::STRING, :name => 'errorCode', :optional => true},
  SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



278
279
# File 'lib/profile_types.rb', line 278

def validate
end