Class: Mobile::Version::Thrift::UpgradeCheckResult

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

Constant Summary collapse

HASNEWVERSION =
1
VERSION =
2
DOWNLOAD =
3
FORCEUPDATE =
4
UPGRADEDESC =
5
UPGRADEDESCURL =
6
FIELDS =
{
  HASNEWVERSION => {:type => ::Thrift::Types::BOOL, :name => 'hasNewVersion'},
  VERSION => {:type => ::Thrift::Types::STRING, :name => 'version', :optional => true},
  DOWNLOAD => {:type => ::Thrift::Types::STRING, :name => 'download', :optional => true},
  FORCEUPDATE => {:type => ::Thrift::Types::BOOL, :name => 'forceUpdate'},
  UPGRADEDESC => {:type => ::Thrift::Types::STRING, :name => 'upgradeDesc', :optional => true},
  UPGRADEDESCURL => {:type => ::Thrift::Types::STRING, :name => 'upgradeDescUrl', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



62
# File 'lib/app_version_types.rb', line 62

def struct_fields; FIELDS; end

#validateObject



64
65
# File 'lib/app_version_types.rb', line 64

def validate
end