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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Editions

Returns a new instance of Editions.



95
96
97
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 95

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

Instance Attribute Details

#assigned_seatsFixnum

(Deprecated) Corresponds to the JSON property assignedSeats

Returns:

  • (Fixnum)


83
84
85
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 83

def assigned_seats
  @assigned_seats
end

#edition_idString

(Deprecated) Corresponds to the JSON property editionId

Returns:

  • (String)


88
89
90
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 88

def edition_id
  @edition_id
end

#seat_countFixnum

(Deprecated) Corresponds to the JSON property seatCount

Returns:

  • (Fixnum)


93
94
95
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 93

def seat_count
  @seat_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



100
101
102
103
104
# File 'lib/google/apis/appsmarket_v2/classes.rb', line 100

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