You've already forked dart-core-sdk
769 lines
31 KiB
Dart
769 lines
31 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: collabShared.proto
|
|
//
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
import 'collabShared.pbenum.dart';
|
|
import 'google/protobuf/struct.pb.dart' as $79;
|
|
import 'shared.pb.dart' as $3;
|
|
import 'shared.pbenum.dart' as $3;
|
|
import 'slotbooking.pb.dart' as $70;
|
|
|
|
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
|
|
|
export 'collabShared.pbenum.dart';
|
|
|
|
class ClaimStatusDef extends $pb.GeneratedMessage {
|
|
factory ClaimStatusDef({
|
|
$3.ClaimStatus? statusCode,
|
|
$core.String? date,
|
|
$3.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;
|
|
}
|
|
ClaimStatusDef._() : super();
|
|
factory ClaimStatusDef.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ClaimStatusDef.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimStatusDef', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..e<$3.ClaimStatus>(1, _omitFieldNames ? '' : 'StatusCode', $pb.PbFieldType.OE, protoName: 'StatusCode', defaultOrMaker: $3.ClaimStatus.CLAIM_STATUS_UNKNOWN, valueOf: $3.ClaimStatus.valueOf, enumValues: $3.ClaimStatus.values)
|
|
..aOS(2, _omitFieldNames ? '' : 'Date', protoName: 'Date')
|
|
..aOM<$3.DateTime>(3, _omitFieldNames ? '' : 'ActualDate', protoName: 'ActualDate', subBuilder: $3.DateTime.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ClaimStatusDef clone() => ClaimStatusDef()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ClaimStatusDef copyWith(void Function(ClaimStatusDef) updates) => super.copyWith((message) => updates(message as ClaimStatusDef)) as ClaimStatusDef;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ClaimStatusDef create() => ClaimStatusDef._();
|
|
ClaimStatusDef createEmptyInstance() => create();
|
|
static $pb.PbList<ClaimStatusDef> createRepeated() => $pb.PbList<ClaimStatusDef>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ClaimStatusDef getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ClaimStatusDef>(create);
|
|
static ClaimStatusDef? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.ClaimStatus get statusCode => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set statusCode($3.ClaimStatus v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasStatusCode() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearStatusCode() => $_clearField(1);
|
|
|
|
/// This date is only a string as it is always given by system
|
|
@$pb.TagNumber(2)
|
|
$core.String get date => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set date($core.String v) { $_setString(1, v); }
|
|
@$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)
|
|
$3.DateTime get actualDate => $_getN(2);
|
|
@$pb.TagNumber(3)
|
|
set actualDate($3.DateTime v) { $_setField(3, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasActualDate() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearActualDate() => $_clearField(3);
|
|
@$pb.TagNumber(3)
|
|
$3.DateTime ensureActualDate() => $_ensure(2);
|
|
}
|
|
|
|
class ClaimStatusStruct extends $pb.GeneratedMessage {
|
|
factory ClaimStatusStruct({
|
|
ClaimStatusDef? current,
|
|
$core.Iterable<ClaimStatusDef>? 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;
|
|
}
|
|
ClaimStatusStruct._() : super();
|
|
factory ClaimStatusStruct.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ClaimStatusStruct.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimStatusStruct', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<ClaimStatusDef>(1, _omitFieldNames ? '' : 'Current', protoName: 'Current', subBuilder: ClaimStatusDef.create)
|
|
..pc<ClaimStatusDef>(2, _omitFieldNames ? '' : 'History', $pb.PbFieldType.PM, protoName: 'History', subBuilder: ClaimStatusDef.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.')
|
|
ClaimStatusStruct clone() => ClaimStatusStruct()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ClaimStatusStruct copyWith(void Function(ClaimStatusStruct) updates) => super.copyWith((message) => updates(message as ClaimStatusStruct)) as ClaimStatusStruct;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ClaimStatusStruct create() => ClaimStatusStruct._();
|
|
ClaimStatusStruct createEmptyInstance() => create();
|
|
static $pb.PbList<ClaimStatusStruct> createRepeated() => $pb.PbList<ClaimStatusStruct>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ClaimStatusStruct getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ClaimStatusStruct>(create);
|
|
static ClaimStatusStruct? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
ClaimStatusDef get current => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set current(ClaimStatusDef v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCurrent() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCurrent() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
ClaimStatusDef ensureCurrent() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$pb.PbList<ClaimStatusDef> get history => $_getList(1);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.String get creationDate => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set creationDate($core.String v) { $_setString(2, v); }
|
|
@$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 v) { $_setUnsignedInt32(3, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasVersion() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearVersion() => $_clearField(4);
|
|
}
|
|
|
|
class WindowedNotif extends $pb.GeneratedMessage {
|
|
factory WindowedNotif({
|
|
ListNotifChanges? listNotifChanges,
|
|
$core.Iterable<UserMails>? userMails,
|
|
$core.String? jsonModel,
|
|
$core.String? languageCode,
|
|
$core.String? htmlBody,
|
|
}) {
|
|
final $result = create();
|
|
if (listNotifChanges != null) {
|
|
$result.listNotifChanges = listNotifChanges;
|
|
}
|
|
if (userMails != null) {
|
|
$result.userMails.addAll(userMails);
|
|
}
|
|
if (jsonModel != null) {
|
|
$result.jsonModel = jsonModel;
|
|
}
|
|
if (languageCode != null) {
|
|
$result.languageCode = languageCode;
|
|
}
|
|
if (htmlBody != null) {
|
|
$result.htmlBody = htmlBody;
|
|
}
|
|
return $result;
|
|
}
|
|
WindowedNotif._() : super();
|
|
factory WindowedNotif.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory WindowedNotif.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WindowedNotif', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<ListNotifChanges>(1, _omitFieldNames ? '' : 'ListNotifChanges', protoName: 'ListNotifChanges', subBuilder: ListNotifChanges.create)
|
|
..pc<UserMails>(2, _omitFieldNames ? '' : 'UserMails', $pb.PbFieldType.PM, protoName: 'UserMails', subBuilder: UserMails.create)
|
|
..aOS(3, _omitFieldNames ? '' : 'JsonModel', protoName: 'JsonModel')
|
|
..aOS(4, _omitFieldNames ? '' : 'languageCode', protoName: 'languageCode')
|
|
..aOS(5, _omitFieldNames ? '' : 'HtmlBody', protoName: 'HtmlBody')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
WindowedNotif clone() => WindowedNotif()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
WindowedNotif copyWith(void Function(WindowedNotif) updates) => super.copyWith((message) => updates(message as WindowedNotif)) as WindowedNotif;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static WindowedNotif create() => WindowedNotif._();
|
|
WindowedNotif createEmptyInstance() => create();
|
|
static $pb.PbList<WindowedNotif> createRepeated() => $pb.PbList<WindowedNotif>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static WindowedNotif getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<WindowedNotif>(create);
|
|
static WindowedNotif? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
ListNotifChanges get listNotifChanges => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set listNotifChanges(ListNotifChanges v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasListNotifChanges() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearListNotifChanges() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
ListNotifChanges ensureListNotifChanges() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$pb.PbList<UserMails> get userMails => $_getList(1);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.String get jsonModel => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set jsonModel($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasJsonModel() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearJsonModel() => $_clearField(3);
|
|
|
|
@$pb.TagNumber(4)
|
|
$core.String get languageCode => $_getSZ(3);
|
|
@$pb.TagNumber(4)
|
|
set languageCode($core.String v) { $_setString(3, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasLanguageCode() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearLanguageCode() => $_clearField(4);
|
|
|
|
@$pb.TagNumber(5)
|
|
$core.String get htmlBody => $_getSZ(4);
|
|
@$pb.TagNumber(5)
|
|
set htmlBody($core.String v) { $_setString(4, v); }
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasHtmlBody() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearHtmlBody() => $_clearField(5);
|
|
}
|
|
|
|
class UserMails extends $pb.GeneratedMessage {
|
|
factory UserMails({
|
|
$core.String? mail,
|
|
$core.String? languageCode,
|
|
}) {
|
|
final $result = create();
|
|
if (mail != null) {
|
|
$result.mail = mail;
|
|
}
|
|
if (languageCode != null) {
|
|
$result.languageCode = languageCode;
|
|
}
|
|
return $result;
|
|
}
|
|
UserMails._() : super();
|
|
factory UserMails.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory UserMails.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UserMails', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'mail')
|
|
..aOS(2, _omitFieldNames ? '' : 'languageCode', protoName: 'languageCode')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UserMails clone() => UserMails()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UserMails copyWith(void Function(UserMails) updates) => super.copyWith((message) => updates(message as UserMails)) as UserMails;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UserMails create() => UserMails._();
|
|
UserMails createEmptyInstance() => create();
|
|
static $pb.PbList<UserMails> createRepeated() => $pb.PbList<UserMails>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UserMails getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UserMails>(create);
|
|
static UserMails? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get mail => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set mail($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasMail() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearMail() => $_clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get languageCode => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set languageCode($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasLanguageCode() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearLanguageCode() => $_clearField(2);
|
|
}
|
|
|
|
class ListNotifChanges extends $pb.GeneratedMessage {
|
|
factory ListNotifChanges({
|
|
$core.String? projectID,
|
|
$core.String? visibilityURI,
|
|
$core.String? entityType,
|
|
$core.String? entityRefID,
|
|
$core.Iterable<NotifChanges>? notifChanges,
|
|
$79.Struct? tags,
|
|
}) {
|
|
final $result = create();
|
|
if (projectID != null) {
|
|
$result.projectID = projectID;
|
|
}
|
|
if (visibilityURI != null) {
|
|
$result.visibilityURI = visibilityURI;
|
|
}
|
|
if (entityType != null) {
|
|
$result.entityType = entityType;
|
|
}
|
|
if (entityRefID != null) {
|
|
$result.entityRefID = entityRefID;
|
|
}
|
|
if (notifChanges != null) {
|
|
$result.notifChanges.addAll(notifChanges);
|
|
}
|
|
if (tags != null) {
|
|
$result.tags = tags;
|
|
}
|
|
return $result;
|
|
}
|
|
ListNotifChanges._() : super();
|
|
factory ListNotifChanges.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ListNotifChanges.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListNotifChanges', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
|
..aOS(2, _omitFieldNames ? '' : 'VisibilityURI', protoName: 'VisibilityURI')
|
|
..aOS(3, _omitFieldNames ? '' : 'EntityType', protoName: 'EntityType')
|
|
..aOS(4, _omitFieldNames ? '' : 'EntityRefID', protoName: 'EntityRefID')
|
|
..pc<NotifChanges>(5, _omitFieldNames ? '' : 'NotifChanges', $pb.PbFieldType.PM, protoName: 'NotifChanges', subBuilder: NotifChanges.create)
|
|
..aOM<$79.Struct>(6, _omitFieldNames ? '' : 'Tags', protoName: 'Tags', subBuilder: $79.Struct.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListNotifChanges clone() => ListNotifChanges()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListNotifChanges copyWith(void Function(ListNotifChanges) updates) => super.copyWith((message) => updates(message as ListNotifChanges)) as ListNotifChanges;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListNotifChanges create() => ListNotifChanges._();
|
|
ListNotifChanges createEmptyInstance() => create();
|
|
static $pb.PbList<ListNotifChanges> createRepeated() => $pb.PbList<ListNotifChanges>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListNotifChanges getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListNotifChanges>(create);
|
|
static ListNotifChanges? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get projectID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set projectID($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasProjectID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearProjectID() => $_clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get visibilityURI => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set visibilityURI($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasVisibilityURI() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearVisibilityURI() => $_clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.String get entityType => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set entityType($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasEntityType() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearEntityType() => $_clearField(3);
|
|
|
|
@$pb.TagNumber(4)
|
|
$core.String get entityRefID => $_getSZ(3);
|
|
@$pb.TagNumber(4)
|
|
set entityRefID($core.String v) { $_setString(3, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasEntityRefID() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearEntityRefID() => $_clearField(4);
|
|
|
|
@$pb.TagNumber(5)
|
|
$pb.PbList<NotifChanges> get notifChanges => $_getList(4);
|
|
|
|
@$pb.TagNumber(6)
|
|
$79.Struct get tags => $_getN(5);
|
|
@$pb.TagNumber(6)
|
|
set tags($79.Struct v) { $_setField(6, v); }
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasTags() => $_has(5);
|
|
@$pb.TagNumber(6)
|
|
void clearTags() => $_clearField(6);
|
|
@$pb.TagNumber(6)
|
|
$79.Struct ensureTags() => $_ensure(5);
|
|
}
|
|
|
|
class NotifChanges extends $pb.GeneratedMessage {
|
|
factory NotifChanges({
|
|
$3.DateTime? refDate,
|
|
$core.String? userName,
|
|
NotifTypeEnum? notificationType,
|
|
$79.Struct? details,
|
|
}) {
|
|
final $result = create();
|
|
if (refDate != null) {
|
|
$result.refDate = refDate;
|
|
}
|
|
if (userName != null) {
|
|
$result.userName = userName;
|
|
}
|
|
if (notificationType != null) {
|
|
$result.notificationType = notificationType;
|
|
}
|
|
if (details != null) {
|
|
$result.details = details;
|
|
}
|
|
return $result;
|
|
}
|
|
NotifChanges._() : super();
|
|
factory NotifChanges.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory NotifChanges.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NotifChanges', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.DateTime>(1, _omitFieldNames ? '' : 'RefDate', protoName: 'RefDate', subBuilder: $3.DateTime.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'UserName', protoName: 'UserName')
|
|
..e<NotifTypeEnum>(3, _omitFieldNames ? '' : 'NotificationType', $pb.PbFieldType.OE, protoName: 'NotificationType', defaultOrMaker: NotifTypeEnum.NOTIF_TYPE_UNKNOWN, valueOf: NotifTypeEnum.valueOf, enumValues: NotifTypeEnum.values)
|
|
..aOM<$79.Struct>(4, _omitFieldNames ? '' : 'Details', protoName: 'Details', subBuilder: $79.Struct.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
NotifChanges clone() => NotifChanges()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
NotifChanges copyWith(void Function(NotifChanges) updates) => super.copyWith((message) => updates(message as NotifChanges)) as NotifChanges;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static NotifChanges create() => NotifChanges._();
|
|
NotifChanges createEmptyInstance() => create();
|
|
static $pb.PbList<NotifChanges> createRepeated() => $pb.PbList<NotifChanges>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static NotifChanges getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NotifChanges>(create);
|
|
static NotifChanges? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.DateTime get refDate => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set refDate($3.DateTime v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasRefDate() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearRefDate() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.DateTime ensureRefDate() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get userName => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set userName($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasUserName() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearUserName() => $_clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
NotifTypeEnum get notificationType => $_getN(2);
|
|
@$pb.TagNumber(3)
|
|
set notificationType(NotifTypeEnum v) { $_setField(3, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasNotificationType() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearNotificationType() => $_clearField(3);
|
|
|
|
@$pb.TagNumber(4)
|
|
$79.Struct get details => $_getN(3);
|
|
@$pb.TagNumber(4)
|
|
set details($79.Struct v) { $_setField(4, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasDetails() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearDetails() => $_clearField(4);
|
|
@$pb.TagNumber(4)
|
|
$79.Struct ensureDetails() => $_ensure(3);
|
|
}
|
|
|
|
class AppointmentStatus extends $pb.GeneratedMessage {
|
|
factory AppointmentStatus({
|
|
AppointmentStatusCode? statusCode,
|
|
$core.String? date,
|
|
$3.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._() : super();
|
|
factory AppointmentStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory AppointmentStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
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<$3.DateTime>(3, _omitFieldNames ? '' : 'ActualDate', protoName: 'ActualDate', subBuilder: $3.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;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentStatus create() => AppointmentStatus._();
|
|
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 v) { $_setField(1, v); }
|
|
@$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 v) { $_setString(1, v); }
|
|
@$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)
|
|
$3.DateTime get actualDate => $_getN(2);
|
|
@$pb.TagNumber(3)
|
|
set actualDate($3.DateTime v) { $_setField(3, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasActualDate() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearActualDate() => $_clearField(3);
|
|
@$pb.TagNumber(3)
|
|
$3.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._() : super();
|
|
factory AppointmentStatusStruct.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory AppointmentStatusStruct.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
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;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentStatusStruct create() => AppointmentStatusStruct._();
|
|
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 v) { $_setField(1, v); }
|
|
@$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 v) { $_setString(2, v); }
|
|
@$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 v) { $_setUnsignedInt32(3, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasVersion() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearVersion() => $_clearField(4);
|
|
}
|
|
|
|
class Commission extends $pb.GeneratedMessage {
|
|
factory Commission({
|
|
$core.String? projectID,
|
|
$core.String? orderID,
|
|
$core.Iterable<$70.QuantityByUnit>? quantities,
|
|
}) {
|
|
final $result = create();
|
|
if (projectID != null) {
|
|
$result.projectID = projectID;
|
|
}
|
|
if (orderID != null) {
|
|
$result.orderID = orderID;
|
|
}
|
|
if (quantities != null) {
|
|
$result.quantities.addAll(quantities);
|
|
}
|
|
return $result;
|
|
}
|
|
Commission._() : super();
|
|
factory Commission.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory Commission.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Commission', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
|
..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
|
|
..pc<$70.QuantityByUnit>(3, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $70.QuantityByUnit.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
Commission clone() => Commission()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
Commission copyWith(void Function(Commission) updates) => super.copyWith((message) => updates(message as Commission)) as Commission;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static Commission create() => Commission._();
|
|
Commission createEmptyInstance() => create();
|
|
static $pb.PbList<Commission> createRepeated() => $pb.PbList<Commission>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static Commission getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Commission>(create);
|
|
static Commission? _defaultInstance;
|
|
|
|
/// Identifier for the project associated with the order
|
|
@$pb.TagNumber(1)
|
|
$core.String get projectID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set projectID($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasProjectID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearProjectID() => $_clearField(1);
|
|
|
|
/// ID of the order, might be null for standalone
|
|
@$pb.TagNumber(2)
|
|
$core.String get orderID => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set orderID($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasOrderID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearOrderID() => $_clearField(2);
|
|
|
|
/// Volumetry inside the truck, should have at least one item listed
|
|
@$pb.TagNumber(3)
|
|
$pb.PbList<$70.QuantityByUnit> get quantities => $_getList(2);
|
|
}
|
|
|
|
|
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|