GetGptListRequest class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

GetGptListRequest({int limit = 20, GptOrder order = GptOrder.desc, String? after, String? before})
GetGptListRequest.fromJson(Map<String, dynamic> json)
factory

Properties

after String?
A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
getter/setter pair
before String?
A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
limit int
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
getter/setter pair
order GptOrder
Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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