FlightclassResource class

Constructors

FlightclassResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addmessage(AddMessageRequest request, String resourceId, {String? $fields}) Future<FlightClassAddMessageResponse>
Adds a message to the flight class referenced by the given class ID.
get(String resourceId, {String? $fields}) Future<FlightClass>
Returns the flight class with the given class ID.
insert(FlightClass request, {String? $fields}) Future<FlightClass>
Inserts an flight class with the given ID and properties.
list({String? issuerId, int? maxResults, String? token, String? $fields}) Future<FlightClassListResponse>
Returns a list of all flight classes for a given issuer ID.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(FlightClass request, String resourceId, {String? $fields}) Future<FlightClass>
Updates the flight class referenced by the given class ID.
toString() String
A string representation of this object.
inherited
update(FlightClass request, String resourceId, {String? $fields}) Future<FlightClass>
Updates the flight class referenced by the given class ID.

Operators

operator ==(Object other) bool
The equality operator.
inherited