You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -522,159 +522,6 @@ class NotifChanges extends $pb.GeneratedMessage {
|
||||
$1.Struct ensureDetails() => $_ensure(3);
|
||||
}
|
||||
|
||||
class AppointmentStatus extends $pb.GeneratedMessage {
|
||||
factory AppointmentStatus({
|
||||
AppointmentStatusCode? statusCode,
|
||||
$core.String? date,
|
||||
$0.DateTime? actualDate,
|
||||
}) {
|
||||
final result = create();
|
||||
if (statusCode != null) result.statusCode = statusCode;
|
||||
if (date != null) result.date = date;
|
||||
if (actualDate != null) result.actualDate = actualDate;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentStatus._();
|
||||
|
||||
factory AppointmentStatus.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentStatus.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<AppointmentStatusCode>(1, _omitFieldNames ? '' : 'StatusCode', $pb.PbFieldType.OE, protoName: 'StatusCode', defaultOrMaker: AppointmentStatusCode.APPOINTMENT_0000_STATUS_UNKNOWN, valueOf: AppointmentStatusCode.valueOf, enumValues: AppointmentStatusCode.values)
|
||||
..aOS(2, _omitFieldNames ? '' : 'Date', protoName: 'Date')
|
||||
..aOM<$0.DateTime>(3, _omitFieldNames ? '' : 'ActualDate', protoName: 'ActualDate', subBuilder: $0.DateTime.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentStatus clone() => AppointmentStatus()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentStatus copyWith(void Function(AppointmentStatus) updates) => super.copyWith((message) => updates(message as AppointmentStatus)) as AppointmentStatus;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentStatus create() => AppointmentStatus._();
|
||||
@$core.override
|
||||
AppointmentStatus createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentStatus> createRepeated() => $pb.PbList<AppointmentStatus>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentStatus>(create);
|
||||
static AppointmentStatus? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
AppointmentStatusCode get statusCode => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set statusCode(AppointmentStatusCode value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasStatusCode() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearStatusCode() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get date => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set date($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasDate() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearDate() => $_clearField(2);
|
||||
|
||||
/// Status effective date. Set by the event's RefDate that triggered the status change.
|
||||
@$pb.TagNumber(3)
|
||||
$0.DateTime get actualDate => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set actualDate($0.DateTime value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasActualDate() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearActualDate() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
$0.DateTime ensureActualDate() => $_ensure(2);
|
||||
}
|
||||
|
||||
class AppointmentStatusStruct extends $pb.GeneratedMessage {
|
||||
factory AppointmentStatusStruct({
|
||||
AppointmentStatus? current,
|
||||
$core.Iterable<AppointmentStatus>? history,
|
||||
$core.String? creationDate,
|
||||
$core.int? version,
|
||||
}) {
|
||||
final result = create();
|
||||
if (current != null) result.current = current;
|
||||
if (history != null) result.history.addAll(history);
|
||||
if (creationDate != null) result.creationDate = creationDate;
|
||||
if (version != null) result.version = version;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentStatusStruct._();
|
||||
|
||||
factory AppointmentStatusStruct.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentStatusStruct.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentStatusStruct', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<AppointmentStatus>(1, _omitFieldNames ? '' : 'Current', protoName: 'Current', subBuilder: AppointmentStatus.create)
|
||||
..pc<AppointmentStatus>(2, _omitFieldNames ? '' : 'History', $pb.PbFieldType.PM, protoName: 'History', subBuilder: AppointmentStatus.create)
|
||||
..aOS(3, _omitFieldNames ? '' : 'CreationDate', protoName: 'CreationDate')
|
||||
..a<$core.int>(4, _omitFieldNames ? '' : 'Version', $pb.PbFieldType.OU3, protoName: 'Version')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentStatusStruct clone() => AppointmentStatusStruct()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentStatusStruct copyWith(void Function(AppointmentStatusStruct) updates) => super.copyWith((message) => updates(message as AppointmentStatusStruct)) as AppointmentStatusStruct;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentStatusStruct create() => AppointmentStatusStruct._();
|
||||
@$core.override
|
||||
AppointmentStatusStruct createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentStatusStruct> createRepeated() => $pb.PbList<AppointmentStatusStruct>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentStatusStruct getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentStatusStruct>(create);
|
||||
static AppointmentStatusStruct? _defaultInstance;
|
||||
|
||||
/// Current status of the Appointment entity
|
||||
@$pb.TagNumber(1)
|
||||
AppointmentStatus get current => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set current(AppointmentStatus value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasCurrent() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearCurrent() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
AppointmentStatus ensureCurrent() => $_ensure(0);
|
||||
|
||||
/// List of all status history of the Appointment entity
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<AppointmentStatus> get history => $_getList(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get creationDate => $_getSZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set creationDate($core.String value) => $_setString(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasCreationDate() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearCreationDate() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$core.int get version => $_getIZ(3);
|
||||
@$pb.TagNumber(4)
|
||||
set version($core.int value) => $_setUnsignedInt32(3, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasVersion() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearVersion() => $_clearField(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