Class: Google::Apis::AppsmarketV2::Editions

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

Returns a new instance of Editions.


120
121
122
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 120

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

Instance Attribute Details

#assigned_seatsFixnum

(Deprecated) Corresponds to the JSON property assignedSeats

Returns:

  • (Fixnum)

108
109
110
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 108

def assigned_seats
  @assigned_seats
end

#edition_idString

(Deprecated) Corresponds to the JSON property editionId

Returns:

  • (String)

113
114
115
# File 'generated/google/apis/appsmarket_v2/classes.rb', line 113

def edition_id
  @edition_id
end

#seat_countFixnum

(Deprecated) Corresponds to the JSON property seatCount

Returns:

  • (Fixnum)

118
119
120
# File 'generated/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 'generated/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