ReservationPlan class
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
Constructors
- ReservationPlan({Commitment? commitment, DateTime? expiresAt, DateTime? purchasedAt, RenewalType? renewalType, int? reservedSlots, ReservationPlanStatus? status})
-
ReservationPlan.fromJson(Map<
String, dynamic> json) -
factory
Properties
- commitment → Commitment?
-
The length of the term of your reserved queue pricing plan commitment.
final
- expiresAt → DateTime?
-
The timestamp in epoch seconds for when the current pricing plan term for
this reserved queue expires.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- purchasedAt → DateTime?
-
The timestamp in epoch seconds for when you set up the current pricing plan
for this reserved queue.
final
- renewalType → RenewalType?
-
Specifies whether the term of your reserved queue pricing plan is
automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the
term.
final
- reservedSlots → int?
-
Specifies the number of reserved transcode slots (RTS) for this queue. The
number of RTS determines how many jobs the queue can process in parallel;
each RTS can process one job at a time. When you increase this number, you
extend your existing commitment with a new 12-month commitment for a larger
number of RTS. The new commitment begins when you purchase the additional
capacity. You can't decrease the number of RTS in your reserved queue.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ReservationPlanStatus?
-
Specifies whether the pricing plan for your reserved queue is ACTIVE or
EXPIRED.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited