Class: Passport::Thrift::ThirdpartySyncSet

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

Constant Summary collapse

ID =
1
MOBILEALL =
2
WEBCOMMENT =
3
WEBTRACK =
4
WEBALBUM =
5
WEBFAVORITE =
6
RELAY =
7
THIRDPARTYNAME =
8
THIRDPARTYUSERID =
9
FIELDS =
{
  ID => {:type => ::Thrift::Types::I64, :name => 'id'},
  MOBILEALL => {:type => ::Thrift::Types::BOOL, :name => 'mobileAll'},
  WEBCOMMENT => {:type => ::Thrift::Types::BOOL, :name => 'webComment'},
  WEBTRACK => {:type => ::Thrift::Types::BOOL, :name => 'webTrack'},
  WEBALBUM => {:type => ::Thrift::Types::BOOL, :name => 'webAlbum'},
  WEBFAVORITE => {:type => ::Thrift::Types::BOOL, :name => 'webFavorite'},
  RELAY => {:type => ::Thrift::Types::BOOL, :name => 'relay'},
  THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName', :optional => true},
  THIRDPARTYUSERID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyUserId'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



215
# File 'lib/remote_passport_types.rb', line 215

def struct_fields; FIELDS; end

#validateObject



217
218
# File 'lib/remote_passport_types.rb', line 217

def validate
end