Class: Mobile::Version::Thrift::AppDefinition

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

Constant Summary collapse

APPID =
1
APPTYPE =
2
OSTYPE =
3
PACKAGENAME =
4
ITUNEID =
5
CHANNELID =
6
APPNAME =
7
APPDESC =
8
CERTIFICATEURL =
9
FIELDS =
{
  APPID => {:type => ::Thrift::Types::I32, :name => 'appId'},
  APPTYPE => {:type => ::Thrift::Types::STRING, :name => 'appType', :optional => true},
  OSTYPE => {:type => ::Thrift::Types::STRING, :name => 'osType', :optional => true},
  PACKAGENAME => {:type => ::Thrift::Types::STRING, :name => 'packageName', :optional => true},
  ITUNEID => {:type => ::Thrift::Types::STRING, :name => 'ituneId', :optional => true},
  CHANNELID => {:type => ::Thrift::Types::STRING, :name => 'channelId', :optional => true},
  APPNAME => {:type => ::Thrift::Types::STRING, :name => 'appName', :optional => true},
  APPDESC => {:type => ::Thrift::Types::STRING, :name => 'appDesc', :optional => true},
  CERTIFICATEURL => {:type => ::Thrift::Types::STRING, :name => 'certificateUrl', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



38
39
# File 'lib/app_version_types.rb', line 38

def validate
end