saving name of the orders
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
# Basic Usage
|
||||
|
||||
```dart
|
||||
ExampleConnector.instance.CreateCertificate(createCertificateVariables).execute();
|
||||
ExampleConnector.instance.UpdateCertificate(updateCertificateVariables).execute();
|
||||
ExampleConnector.instance.DeleteCertificate(deleteCertificateVariables).execute();
|
||||
ExampleConnector.instance.listOrders(listOrdersVariables).execute();
|
||||
ExampleConnector.instance.getOrderById(getOrderByIdVariables).execute();
|
||||
ExampleConnector.instance.getOrdersByBusinessId(getOrdersByBusinessIdVariables).execute();
|
||||
ExampleConnector.instance.getOrdersByVendorId(getOrdersByVendorIdVariables).execute();
|
||||
ExampleConnector.instance.getOrdersByStatus(getOrdersByStatusVariables).execute();
|
||||
ExampleConnector.instance.getOrdersByDateRange(getOrdersByDateRangeVariables).execute();
|
||||
ExampleConnector.instance.getRapidOrders(getRapidOrdersVariables).execute();
|
||||
ExampleConnector.instance.listAccounts().execute();
|
||||
ExampleConnector.instance.getAccountById(getAccountByIdVariables).execute();
|
||||
ExampleConnector.instance.getAccountsByOwnerId(getAccountsByOwnerIdVariables).execute();
|
||||
ExampleConnector.instance.filterAccounts(filterAccountsVariables).execute();
|
||||
ExampleConnector.instance.createApplication(createApplicationVariables).execute();
|
||||
ExampleConnector.instance.updateApplicationStatus(updateApplicationStatusVariables).execute();
|
||||
ExampleConnector.instance.deleteApplication(deleteApplicationVariables).execute();
|
||||
ExampleConnector.instance.CreateAssignment(createAssignmentVariables).execute();
|
||||
ExampleConnector.instance.UpdateAssignment(updateAssignmentVariables).execute();
|
||||
ExampleConnector.instance.DeleteAssignment(deleteAssignmentVariables).execute();
|
||||
|
||||
```
|
||||
|
||||
@@ -23,8 +23,8 @@ Optional fields can be discovered based on classes that have `Optional` object t
|
||||
This is an example of a mutation with an optional field:
|
||||
|
||||
```dart
|
||||
await ExampleConnector.instance.listTeamHubsByOwnerId({ ... })
|
||||
.offset(...)
|
||||
await ExampleConnector.instance.filterStaffAvailabilityStats({ ... })
|
||||
.needWorkIndexMin(...)
|
||||
.execute();
|
||||
```
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -255,11 +255,13 @@ class ListShiftRolesByBusinessAndOrderShiftRolesShift {
|
||||
@immutable
|
||||
class ListShiftRolesByBusinessAndOrderShiftRolesShiftOrder {
|
||||
final String? vendorId;
|
||||
final String? eventName;
|
||||
final Timestamp? date;
|
||||
final ListShiftRolesByBusinessAndOrderShiftRolesShiftOrderTeamHub teamHub;
|
||||
ListShiftRolesByBusinessAndOrderShiftRolesShiftOrder.fromJson(dynamic json):
|
||||
|
||||
vendorId = json['vendorId'] == null ? null : nativeFromJson<String>(json['vendorId']),
|
||||
eventName = json['eventName'] == null ? null : nativeFromJson<String>(json['eventName']),
|
||||
date = json['date'] == null ? null : Timestamp.fromJson(json['date']),
|
||||
teamHub = ListShiftRolesByBusinessAndOrderShiftRolesShiftOrderTeamHub.fromJson(json['teamHub']);
|
||||
@override
|
||||
@@ -273,12 +275,13 @@ class ListShiftRolesByBusinessAndOrderShiftRolesShiftOrder {
|
||||
|
||||
final ListShiftRolesByBusinessAndOrderShiftRolesShiftOrder otherTyped = other as ListShiftRolesByBusinessAndOrderShiftRolesShiftOrder;
|
||||
return vendorId == otherTyped.vendorId &&
|
||||
eventName == otherTyped.eventName &&
|
||||
date == otherTyped.date &&
|
||||
teamHub == otherTyped.teamHub;
|
||||
|
||||
}
|
||||
@override
|
||||
int get hashCode => Object.hashAll([vendorId.hashCode, date.hashCode, teamHub.hashCode]);
|
||||
int get hashCode => Object.hashAll([vendorId.hashCode, eventName.hashCode, date.hashCode, teamHub.hashCode]);
|
||||
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
@@ -286,6 +289,9 @@ class ListShiftRolesByBusinessAndOrderShiftRolesShiftOrder {
|
||||
if (vendorId != null) {
|
||||
json['vendorId'] = nativeToJson<String?>(vendorId);
|
||||
}
|
||||
if (eventName != null) {
|
||||
json['eventName'] = nativeToJson<String?>(eventName);
|
||||
}
|
||||
if (date != null) {
|
||||
json['date'] = date!.toJson();
|
||||
}
|
||||
@@ -295,6 +301,7 @@ class ListShiftRolesByBusinessAndOrderShiftRolesShiftOrder {
|
||||
|
||||
ListShiftRolesByBusinessAndOrderShiftRolesShiftOrder({
|
||||
this.vendorId,
|
||||
this.eventName,
|
||||
this.date,
|
||||
required this.teamHub,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user