Class: Google::Apis::AndroidpublisherV3::AppVersionRange
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::AppVersionRange
- 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
-
#version_code_end ⇒ Fixnum
Highest app version in the range, inclusive.
-
#version_code_start ⇒ Fixnum
Lowest app version in the range, inclusive.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppVersionRange
constructor
A new instance of AppVersionRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_end ⇒ Fixnum
Highest app version in the range, inclusive.
Corresponds to the JSON property versionCodeEnd
647 648 649 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 647 def version_code_end @version_code_end end |
#version_code_start ⇒ Fixnum
Lowest app version in the range, inclusive.
Corresponds to the JSON property versionCodeStart
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 |