Class: Google::Apis::AppsmarketV2::Editions
- Inherits:
-
Object
- Object
- Google::Apis::AppsmarketV2::Editions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appsmarket_v2/classes.rb,
lib/google/apis/appsmarket_v2/representations.rb,
lib/google/apis/appsmarket_v2/representations.rb
Instance Attribute Summary collapse
-
#assigned_seats ⇒ Fixnum
(Deprecated) Corresponds to the JSON property
assignedSeats
. -
#edition_id ⇒ String
(Deprecated) Corresponds to the JSON property
editionId
. -
#seat_count ⇒ Fixnum
(Deprecated) Corresponds to the JSON property
seatCount
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Editions
constructor
A new instance of Editions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Editions
Returns a new instance of Editions.
120 121 122 |
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 120 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_seats ⇒ Fixnum
(Deprecated)
Corresponds to the JSON property assignedSeats
108 109 110 |
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 108 def assigned_seats @assigned_seats end |
#edition_id ⇒ String
(Deprecated)
Corresponds to the JSON property editionId
113 114 115 |
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 113 def edition_id @edition_id end |
#seat_count ⇒ Fixnum
(Deprecated)
Corresponds to the JSON property seatCount
118 119 120 |
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 118 def seat_count @seat_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
125 126 127 128 129 |
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 125 def update!(**args) @assigned_seats = args[:assigned_seats] if args.key?(:assigned_seats) @edition_id = args[:edition_id] if args.key?(:edition_id) @seat_count = args[:seat_count] if args.key?(:seat_count) end |