Class: Google::Apis::AppsmarketV2::CustomerLicense::Edition

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) ⇒ Edition

Returns a new instance of Edition



92
93
94
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 92

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#assigned_seatsFixnum

(Deprecated) Corresponds to the JSON property assignedSeats

Returns:

  • (Fixnum)


80
81
82
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 80

def assigned_seats
  @assigned_seats
end

#edition_idString

(Deprecated) Corresponds to the JSON property editionId

Returns:

  • (String)


85
86
87
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 85

def edition_id
  @edition_id
end

#seat_countFixnum

(Deprecated) Corresponds to the JSON property seatCount

Returns:

  • (Fixnum)


90
91
92
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 90

def seat_count
  @seat_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



97
98
99
100
101
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 97

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