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.
736 737 738 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 736 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
729 730 731 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 729 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
734 735 736 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 734 def version_code_start @version_code_start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
741 742 743 744 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 741 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 |