You've already forked dart-core-sdk
Release 1.11.6
This commit is contained in:
@@ -12,316 +12,5 @@
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'collabShared.pb.dart' as $1;
|
||||
import 'shared.pb.dart' as $2;
|
||||
import 'slotbooking.pb.dart' as $0;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
///
|
||||
/// Notify : Push the claim event to notification
|
||||
class AppointmentNotifyPayload extends $pb.GeneratedMessage {
|
||||
factory AppointmentNotifyPayload({
|
||||
$0.AppointmentType? appointmentType,
|
||||
$core.Iterable<$0.AppointmentCommission>? commissions,
|
||||
$core.Iterable<$0.SegmentationSelection>? segmentationSelections,
|
||||
$0.Slot? slot,
|
||||
$core.Iterable<$core.String>? emails,
|
||||
$1.AppointmentStatusStruct? status,
|
||||
$core.String? creationDate,
|
||||
$core.Iterable<$2.MetadataElement>? metaData,
|
||||
$core.String? carrierID,
|
||||
$core.String? carrierName,
|
||||
$core.Iterable<$2.AttachmentSummary>? attachments,
|
||||
$core.int? attachmentNumber,
|
||||
$core.bool? hasCommission,
|
||||
$core.Iterable<$core.String>? removedEmails,
|
||||
$core.String? reason,
|
||||
$core.bool? instructionAck,
|
||||
}) {
|
||||
final result = create();
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
if (commissions != null) result.commissions.addAll(commissions);
|
||||
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
||||
if (slot != null) result.slot = slot;
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
if (status != null) result.status = status;
|
||||
if (creationDate != null) result.creationDate = creationDate;
|
||||
if (metaData != null) result.metaData.addAll(metaData);
|
||||
if (carrierID != null) result.carrierID = carrierID;
|
||||
if (carrierName != null) result.carrierName = carrierName;
|
||||
if (attachments != null) result.attachments.addAll(attachments);
|
||||
if (attachmentNumber != null) result.attachmentNumber = attachmentNumber;
|
||||
if (hasCommission != null) result.hasCommission = hasCommission;
|
||||
if (removedEmails != null) result.removedEmails.addAll(removedEmails);
|
||||
if (reason != null) result.reason = reason;
|
||||
if (instructionAck != null) result.instructionAck = instructionAck;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentNotifyPayload._();
|
||||
|
||||
factory AppointmentNotifyPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentNotifyPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentNotifyPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<$0.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $0.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $0.AppointmentType.valueOf, enumValues: $0.AppointmentType.values)
|
||||
..pc<$0.AppointmentCommission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $0.AppointmentCommission.create)
|
||||
..pc<$0.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $0.SegmentationSelection.create)
|
||||
..aOM<$0.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $0.Slot.create)
|
||||
..pPS(7, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
||||
..aOM<$1.AppointmentStatusStruct>(8, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $1.AppointmentStatusStruct.create)
|
||||
..aOS(9, _omitFieldNames ? '' : 'CreationDate', protoName: 'CreationDate')
|
||||
..pc<$2.MetadataElement>(10, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $2.MetadataElement.create)
|
||||
..aOS(11, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID')
|
||||
..aOS(12, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName')
|
||||
..pc<$2.AttachmentSummary>(13, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $2.AttachmentSummary.create)
|
||||
..a<$core.int>(14, _omitFieldNames ? '' : 'AttachmentNumber', $pb.PbFieldType.O3, protoName: 'AttachmentNumber')
|
||||
..aOB(15, _omitFieldNames ? '' : 'HasCommission', protoName: 'HasCommission')
|
||||
..pPS(16, _omitFieldNames ? '' : 'RemovedEmails', protoName: 'RemovedEmails')
|
||||
..aOS(17, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
..aOB(18, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentNotifyPayload clone() => AppointmentNotifyPayload()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentNotifyPayload copyWith(void Function(AppointmentNotifyPayload) updates) => super.copyWith((message) => updates(message as AppointmentNotifyPayload)) as AppointmentNotifyPayload;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentNotifyPayload create() => AppointmentNotifyPayload._();
|
||||
@$core.override
|
||||
AppointmentNotifyPayload createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentNotifyPayload> createRepeated() => $pb.PbList<AppointmentNotifyPayload>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentNotifyPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentNotifyPayload>(create);
|
||||
static AppointmentNotifyPayload? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$0.AppointmentType get appointmentType => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set appointmentType($0.AppointmentType value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasAppointmentType() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearAppointmentType() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$0.AppointmentCommission> get commissions => $_getList(1);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$0.SegmentationSelection> get segmentationSelections => $_getList(2);
|
||||
|
||||
/// repeated CarrierInformationWithValue CarrierInformation = 5;
|
||||
@$pb.TagNumber(6)
|
||||
$0.Slot get slot => $_getN(3);
|
||||
@$pb.TagNumber(6)
|
||||
set slot($0.Slot value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasSlot() => $_has(3);
|
||||
@$pb.TagNumber(6)
|
||||
void clearSlot() => $_clearField(6);
|
||||
@$pb.TagNumber(6)
|
||||
$0.Slot ensureSlot() => $_ensure(3);
|
||||
|
||||
@$pb.TagNumber(7)
|
||||
$pb.PbList<$core.String> get emails => $_getList(4);
|
||||
|
||||
@$pb.TagNumber(8)
|
||||
$1.AppointmentStatusStruct get status => $_getN(5);
|
||||
@$pb.TagNumber(8)
|
||||
set status($1.AppointmentStatusStruct value) => $_setField(8, value);
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasStatus() => $_has(5);
|
||||
@$pb.TagNumber(8)
|
||||
void clearStatus() => $_clearField(8);
|
||||
@$pb.TagNumber(8)
|
||||
$1.AppointmentStatusStruct ensureStatus() => $_ensure(5);
|
||||
|
||||
@$pb.TagNumber(9)
|
||||
$core.String get creationDate => $_getSZ(6);
|
||||
@$pb.TagNumber(9)
|
||||
set creationDate($core.String value) => $_setString(6, value);
|
||||
@$pb.TagNumber(9)
|
||||
$core.bool hasCreationDate() => $_has(6);
|
||||
@$pb.TagNumber(9)
|
||||
void clearCreationDate() => $_clearField(9);
|
||||
|
||||
@$pb.TagNumber(10)
|
||||
$pb.PbList<$2.MetadataElement> get metaData => $_getList(7);
|
||||
|
||||
@$pb.TagNumber(11)
|
||||
$core.String get carrierID => $_getSZ(8);
|
||||
@$pb.TagNumber(11)
|
||||
set carrierID($core.String value) => $_setString(8, value);
|
||||
@$pb.TagNumber(11)
|
||||
$core.bool hasCarrierID() => $_has(8);
|
||||
@$pb.TagNumber(11)
|
||||
void clearCarrierID() => $_clearField(11);
|
||||
|
||||
@$pb.TagNumber(12)
|
||||
$core.String get carrierName => $_getSZ(9);
|
||||
@$pb.TagNumber(12)
|
||||
set carrierName($core.String value) => $_setString(9, value);
|
||||
@$pb.TagNumber(12)
|
||||
$core.bool hasCarrierName() => $_has(9);
|
||||
@$pb.TagNumber(12)
|
||||
void clearCarrierName() => $_clearField(12);
|
||||
|
||||
@$pb.TagNumber(13)
|
||||
$pb.PbList<$2.AttachmentSummary> get attachments => $_getList(10);
|
||||
|
||||
@$pb.TagNumber(14)
|
||||
$core.int get attachmentNumber => $_getIZ(11);
|
||||
@$pb.TagNumber(14)
|
||||
set attachmentNumber($core.int value) => $_setSignedInt32(11, value);
|
||||
@$pb.TagNumber(14)
|
||||
$core.bool hasAttachmentNumber() => $_has(11);
|
||||
@$pb.TagNumber(14)
|
||||
void clearAttachmentNumber() => $_clearField(14);
|
||||
|
||||
@$pb.TagNumber(15)
|
||||
$core.bool get hasCommission => $_getBF(12);
|
||||
@$pb.TagNumber(15)
|
||||
set hasCommission($core.bool value) => $_setBool(12, value);
|
||||
@$pb.TagNumber(15)
|
||||
$core.bool hasHasCommission() => $_has(12);
|
||||
@$pb.TagNumber(15)
|
||||
void clearHasCommission() => $_clearField(15);
|
||||
|
||||
@$pb.TagNumber(16)
|
||||
$pb.PbList<$core.String> get removedEmails => $_getList(13);
|
||||
|
||||
@$pb.TagNumber(17)
|
||||
$core.String get reason => $_getSZ(14);
|
||||
@$pb.TagNumber(17)
|
||||
set reason($core.String value) => $_setString(14, value);
|
||||
@$pb.TagNumber(17)
|
||||
$core.bool hasReason() => $_has(14);
|
||||
@$pb.TagNumber(17)
|
||||
void clearReason() => $_clearField(17);
|
||||
|
||||
@$pb.TagNumber(18)
|
||||
$core.bool get instructionAck => $_getBF(15);
|
||||
@$pb.TagNumber(18)
|
||||
set instructionAck($core.bool value) => $_setBool(15, value);
|
||||
@$pb.TagNumber(18)
|
||||
$core.bool hasInstructionAck() => $_has(15);
|
||||
@$pb.TagNumber(18)
|
||||
void clearInstructionAck() => $_clearField(18);
|
||||
}
|
||||
|
||||
class AppointmentNotify extends $pb.GeneratedMessage {
|
||||
factory AppointmentNotify({
|
||||
$2.CommandHeader? header,
|
||||
$2.EntityID? iD,
|
||||
AppointmentNotifyPayload? payload,
|
||||
AppointmentNotifyPayload? eventPayload,
|
||||
AppointmentNotifyPayload? previousPayload,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
if (payload != null) result.payload = payload;
|
||||
if (eventPayload != null) result.eventPayload = eventPayload;
|
||||
if (previousPayload != null) result.previousPayload = previousPayload;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentNotify._();
|
||||
|
||||
factory AppointmentNotify.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentNotify.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentNotify', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.CommandHeader.create)
|
||||
..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create)
|
||||
..aOM<AppointmentNotifyPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentNotifyPayload.create)
|
||||
..aOM<AppointmentNotifyPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: AppointmentNotifyPayload.create)
|
||||
..aOM<AppointmentNotifyPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: AppointmentNotifyPayload.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentNotify clone() => AppointmentNotify()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentNotify copyWith(void Function(AppointmentNotify) updates) => super.copyWith((message) => updates(message as AppointmentNotify)) as AppointmentNotify;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentNotify create() => AppointmentNotify._();
|
||||
@$core.override
|
||||
AppointmentNotify createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentNotify> createRepeated() => $pb.PbList<AppointmentNotify>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentNotify getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentNotify>(create);
|
||||
static AppointmentNotify? _defaultInstance;
|
||||
|
||||
/// option (triggerEventFilters) = "All";
|
||||
@$pb.TagNumber(1)
|
||||
$2.CommandHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($2.CommandHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$2.CommandHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($2.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID ensureID() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentNotifyPayload get payload => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set payload(AppointmentNotifyPayload value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasPayload() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearPayload() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentNotifyPayload ensurePayload() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
AppointmentNotifyPayload get eventPayload => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set eventPayload(AppointmentNotifyPayload value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasEventPayload() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearEventPayload() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
AppointmentNotifyPayload ensureEventPayload() => $_ensure(3);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
AppointmentNotifyPayload get previousPayload => $_getN(4);
|
||||
@$pb.TagNumber(5)
|
||||
set previousPayload(AppointmentNotifyPayload value) => $_setField(5, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasPreviousPayload() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearPreviousPayload() => $_clearField(5);
|
||||
@$pb.TagNumber(5)
|
||||
AppointmentNotifyPayload ensurePreviousPayload() => $_ensure(4);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
Reference in New Issue
Block a user