You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -102,7 +102,6 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
factory AppointmentPayload({
|
||||
$70.AppointmentType? appointmentType,
|
||||
$core.Iterable<$70.Commission>? commissions,
|
||||
$core.Iterable<$70.QuantityByUnit>? quantitiesByUnits,
|
||||
$core.Iterable<$70.Segmentation>? segmentations,
|
||||
$core.Iterable<$70.CarrierInformationWithValue>? carrierInformation,
|
||||
$70.Slot? slot,
|
||||
@@ -116,7 +115,6 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
final result = create();
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
if (commissions != null) result.commissions.addAll(commissions);
|
||||
if (quantitiesByUnits != null) result.quantitiesByUnits.addAll(quantitiesByUnits);
|
||||
if (segmentations != null) result.segmentations.addAll(segmentations);
|
||||
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
||||
if (slot != null) result.slot = slot;
|
||||
@@ -137,7 +135,6 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<$70.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $70.AppointmentType.APPOINTMENTTYPE_UNKNOWN, valueOf: $70.AppointmentType.valueOf, enumValues: $70.AppointmentType.values)
|
||||
..pc<$70.Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $70.Commission.create)
|
||||
..pc<$70.QuantityByUnit>(3, _omitFieldNames ? '' : 'QuantitiesByUnits', $pb.PbFieldType.PM, protoName: 'QuantitiesByUnits', subBuilder: $70.QuantityByUnit.create)
|
||||
..pc<$70.Segmentation>(4, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $70.Segmentation.create)
|
||||
..pc<$70.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $70.CarrierInformationWithValue.create)
|
||||
..aOM<$70.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $70.Slot.create)
|
||||
@@ -182,75 +179,71 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$70.Commission> get commissions => $_getList(1);
|
||||
|
||||
/// Cumulative quantity for all the commissions
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$70.QuantityByUnit> get quantitiesByUnits => $_getList(2);
|
||||
|
||||
/// Set of segmentation constraining the slot booking
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$70.Segmentation> get segmentations => $_getList(3);
|
||||
$pb.PbList<$70.Segmentation> get segmentations => $_getList(2);
|
||||
|
||||
/// Required carrierInformation, some can be obligatory
|
||||
@$pb.TagNumber(5)
|
||||
$pb.PbList<$70.CarrierInformationWithValue> get carrierInformation => $_getList(4);
|
||||
$pb.PbList<$70.CarrierInformationWithValue> get carrierInformation => $_getList(3);
|
||||
|
||||
/// The slot booked for the appointment
|
||||
@$pb.TagNumber(6)
|
||||
$70.Slot get slot => $_getN(5);
|
||||
$70.Slot get slot => $_getN(4);
|
||||
@$pb.TagNumber(6)
|
||||
set slot($70.Slot value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasSlot() => $_has(5);
|
||||
$core.bool hasSlot() => $_has(4);
|
||||
@$pb.TagNumber(6)
|
||||
void clearSlot() => $_clearField(6);
|
||||
@$pb.TagNumber(6)
|
||||
$70.Slot ensureSlot() => $_ensure(5);
|
||||
$70.Slot ensureSlot() => $_ensure(4);
|
||||
|
||||
/// User mails being notified on this appointment
|
||||
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
|
||||
@$pb.TagNumber(7)
|
||||
$pb.PbList<$core.String> get emails => $_getList(6);
|
||||
$pb.PbList<$core.String> get emails => $_getList(5);
|
||||
|
||||
/// Appointment Status and status history
|
||||
@$pb.TagNumber(8)
|
||||
$75.AppointmentStatusStruct get status => $_getN(7);
|
||||
$75.AppointmentStatusStruct get status => $_getN(6);
|
||||
@$pb.TagNumber(8)
|
||||
set status($75.AppointmentStatusStruct value) => $_setField(8, value);
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasStatus() => $_has(7);
|
||||
$core.bool hasStatus() => $_has(6);
|
||||
@$pb.TagNumber(8)
|
||||
void clearStatus() => $_clearField(8);
|
||||
@$pb.TagNumber(8)
|
||||
$75.AppointmentStatusStruct ensureStatus() => $_ensure(7);
|
||||
$75.AppointmentStatusStruct ensureStatus() => $_ensure(6);
|
||||
|
||||
/// Creation date of the appointment
|
||||
@$pb.TagNumber(9)
|
||||
$core.String get creationDate => $_getSZ(8);
|
||||
$core.String get creationDate => $_getSZ(7);
|
||||
@$pb.TagNumber(9)
|
||||
set creationDate($core.String value) => $_setString(8, value);
|
||||
set creationDate($core.String value) => $_setString(7, value);
|
||||
@$pb.TagNumber(9)
|
||||
$core.bool hasCreationDate() => $_has(8);
|
||||
$core.bool hasCreationDate() => $_has(7);
|
||||
@$pb.TagNumber(9)
|
||||
void clearCreationDate() => $_clearField(9);
|
||||
|
||||
@$pb.TagNumber(10)
|
||||
$pb.PbList<$3.MetadataElement> get metaData => $_getList(9);
|
||||
$pb.PbList<$3.MetadataElement> get metaData => $_getList(8);
|
||||
|
||||
@$pb.TagNumber(11)
|
||||
$core.String get carrierID => $_getSZ(10);
|
||||
$core.String get carrierID => $_getSZ(9);
|
||||
@$pb.TagNumber(11)
|
||||
set carrierID($core.String value) => $_setString(10, value);
|
||||
set carrierID($core.String value) => $_setString(9, value);
|
||||
@$pb.TagNumber(11)
|
||||
$core.bool hasCarrierID() => $_has(10);
|
||||
$core.bool hasCarrierID() => $_has(9);
|
||||
@$pb.TagNumber(11)
|
||||
void clearCarrierID() => $_clearField(11);
|
||||
|
||||
@$pb.TagNumber(12)
|
||||
$core.String get carrierName => $_getSZ(11);
|
||||
$core.String get carrierName => $_getSZ(10);
|
||||
@$pb.TagNumber(12)
|
||||
set carrierName($core.String value) => $_setString(11, value);
|
||||
set carrierName($core.String value) => $_setString(10, value);
|
||||
@$pb.TagNumber(12)
|
||||
$core.bool hasCarrierName() => $_has(11);
|
||||
$core.bool hasCarrierName() => $_has(10);
|
||||
@$pb.TagNumber(12)
|
||||
void clearCarrierName() => $_clearField(12);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user