Class: Google::Apis::AndroidpublisherV3::AppVersionRange

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

Overview

Data format for a continuous range of app versions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppVersionRange

Returns a new instance of AppVersionRange.



654
655
656
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 654

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

Instance Attribute Details

#version_code_endFixnum

Highest app version in the range, inclusive. Corresponds to the JSON property versionCodeEnd

Returns:

  • (Fixnum)


647
648
649
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 647

def version_code_end
  @version_code_end
end

#version_code_startFixnum

Lowest app version in the range, inclusive. Corresponds to the JSON property versionCodeStart

Returns:

  • (Fixnum)


652
653
654
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 652

def version_code_start
  @version_code_start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



659
660
661
662
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 659

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