Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1OsVersion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb

Overview

Representation of an OS version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1OsVersion

Returns a new instance of GooglePlayDeveloperReportingV1alpha1OsVersion.



974
975
976
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 974

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_levelFixnum

Numeric version code of the OS - API level Corresponds to the JSON property apiLevel

Returns:

  • (Fixnum)


972
973
974
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 972

def api_level
  @api_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



979
980
981
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 979

def update!(**args)
  @api_level = args[:api_level] if args.key?(:api_level)
end