Class: Google::Apis::AppsmarketV2::LicenseNotification::Provision

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_idString

(Deprecated) Corresponds to the JSON property editionId

Returns:

  • (String)


228
229
230
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 228

def edition_id
  @edition_id
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


233
234
235
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 233

def kind
  @kind
end

#seat_countFixnum

The number of seats that were provisioned. Corresponds to the JSON property seatCount

Returns:

  • (Fixnum)


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