Class: Google::Apis::AppsmarketV2::LicenseNotification::Provision
- Inherits:
-
Object
- Object
- Google::Apis::AppsmarketV2::LicenseNotification::Provision
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appsmarket_v2/classes.rb,
generated/google/apis/appsmarket_v2/representations.rb,
generated/google/apis/appsmarket_v2/representations.rb
Instance Attribute Summary collapse
-
#edition_id ⇒ String
(Deprecated) Corresponds to the JSON property
editionId
. -
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#seat_count ⇒ Fixnum
The number of seats that were provisioned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Provision
constructor
A new instance of Provision.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Provision
Returns a new instance of Provision
240 241 242 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 240 def initialize(**args) update!(**args) end |
Instance Attribute Details
#edition_id ⇒ String
(Deprecated)
Corresponds to the JSON property editionId
228 229 230 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 228 def edition_id @edition_id end |
#kind ⇒ String
Corresponds to the JSON property kind
233 234 235 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 233 def kind @kind end |
#seat_count ⇒ Fixnum
The number of seats that were provisioned.
Corresponds to the JSON property seatCount
238 239 240 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 238 def seat_count @seat_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
245 246 247 248 249 |
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 245 def update!(**args) @edition_id = args[:edition_id] if args.key?(:edition_id) @kind = args[:kind] if args.key?(:kind) @seat_count = args[:seat_count] if args.key?(:seat_count) end |