You've already forked dart-core-sdk
2866 lines
131 KiB
Dart
2866 lines
131 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from site.proto.
|
|
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:fixnum/fixnum.dart' as $fixnum;
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
import 'repositoryShared.pb.dart' as $1;
|
|
import 'shared.pb.dart' as $3;
|
|
import 'slotbooking.pb.dart' as $2;
|
|
|
|
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
|
|
|
/// Message defining the structure of a Site.
|
|
class Site extends $pb.GeneratedMessage {
|
|
factory Site({
|
|
$core.String? iD,
|
|
$core.String? name,
|
|
$core.String? organisationID,
|
|
$core.bool? active,
|
|
$core.String? photoURI,
|
|
$1.Address? address,
|
|
$core.Iterable<$core.String>? phones,
|
|
$core.String? fax,
|
|
$core.Iterable<$2.Segmentation>? segmentations,
|
|
$core.Iterable<$2.ProjectAuthorisation>? authorisations,
|
|
$core.Iterable<$2.Unit>? units,
|
|
$core.Iterable<$2.OpeningRule>? openingRules,
|
|
$core.Iterable<$2.DurationRule>? durationRules,
|
|
$core.Iterable<$2.CapacityRule>? capacityRules,
|
|
$2.Instruction? instruction,
|
|
$core.Iterable<$2.Document>? instructionDocuments,
|
|
$core.Iterable<$2.CarrierInformation>? carrierInformation,
|
|
$core.int? roundedPeriodInMinutes,
|
|
$core.String? timeZone,
|
|
$core.Iterable<$core.String>? emails,
|
|
$core.String? defaultSiteLanguageISO6391,
|
|
$core.String? prefixAppointmentID,
|
|
}) {
|
|
final result = create();
|
|
if (iD != null) result.iD = iD;
|
|
if (name != null) result.name = name;
|
|
if (organisationID != null) result.organisationID = organisationID;
|
|
if (active != null) result.active = active;
|
|
if (photoURI != null) result.photoURI = photoURI;
|
|
if (address != null) result.address = address;
|
|
if (phones != null) result.phones.addAll(phones);
|
|
if (fax != null) result.fax = fax;
|
|
if (segmentations != null) result.segmentations.addAll(segmentations);
|
|
if (authorisations != null) result.authorisations.addAll(authorisations);
|
|
if (units != null) result.units.addAll(units);
|
|
if (openingRules != null) result.openingRules.addAll(openingRules);
|
|
if (durationRules != null) result.durationRules.addAll(durationRules);
|
|
if (capacityRules != null) result.capacityRules.addAll(capacityRules);
|
|
if (instruction != null) result.instruction = instruction;
|
|
if (instructionDocuments != null) result.instructionDocuments.addAll(instructionDocuments);
|
|
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
|
if (roundedPeriodInMinutes != null) result.roundedPeriodInMinutes = roundedPeriodInMinutes;
|
|
if (timeZone != null) result.timeZone = timeZone;
|
|
if (emails != null) result.emails.addAll(emails);
|
|
if (defaultSiteLanguageISO6391 != null) result.defaultSiteLanguageISO6391 = defaultSiteLanguageISO6391;
|
|
if (prefixAppointmentID != null) result.prefixAppointmentID = prefixAppointmentID;
|
|
return result;
|
|
}
|
|
|
|
Site._();
|
|
|
|
factory Site.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory Site.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Site', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
|
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOS(3, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID')
|
|
..aOB(4, _omitFieldNames ? '' : 'Active', protoName: 'Active')
|
|
..aOS(5, _omitFieldNames ? '' : 'PhotoURI', protoName: 'PhotoURI')
|
|
..aOM<$1.Address>(6, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $1.Address.create)
|
|
..pPS(7, _omitFieldNames ? '' : 'Phones', protoName: 'Phones')
|
|
..aOS(8, _omitFieldNames ? '' : 'Fax', protoName: 'Fax')
|
|
..pc<$2.Segmentation>(9, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $2.Segmentation.create)
|
|
..pc<$2.ProjectAuthorisation>(10, _omitFieldNames ? '' : 'Authorisations', $pb.PbFieldType.PM, protoName: 'Authorisations', subBuilder: $2.ProjectAuthorisation.create)
|
|
..pc<$2.Unit>(11, _omitFieldNames ? '' : 'Units', $pb.PbFieldType.PM, protoName: 'Units', subBuilder: $2.Unit.create)
|
|
..pc<$2.OpeningRule>(12, _omitFieldNames ? '' : 'OpeningRules', $pb.PbFieldType.PM, protoName: 'OpeningRules', subBuilder: $2.OpeningRule.create)
|
|
..pc<$2.DurationRule>(13, _omitFieldNames ? '' : 'DurationRules', $pb.PbFieldType.PM, protoName: 'DurationRules', subBuilder: $2.DurationRule.create)
|
|
..pc<$2.CapacityRule>(14, _omitFieldNames ? '' : 'CapacityRules', $pb.PbFieldType.PM, protoName: 'CapacityRules', subBuilder: $2.CapacityRule.create)
|
|
..aOM<$2.Instruction>(15, _omitFieldNames ? '' : 'Instruction', protoName: 'Instruction', subBuilder: $2.Instruction.create)
|
|
..pc<$2.Document>(16, _omitFieldNames ? '' : 'InstructionDocuments', $pb.PbFieldType.PM, protoName: 'InstructionDocuments', subBuilder: $2.Document.create)
|
|
..pc<$2.CarrierInformation>(17, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformation.create)
|
|
..a<$core.int>(18, _omitFieldNames ? '' : 'RoundedPeriodInMinutes', $pb.PbFieldType.OU3, protoName: 'RoundedPeriodInMinutes')
|
|
..aOS(19, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
|
|
..pPS(20, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
|
..aOS(21, _omitFieldNames ? '' : 'DefaultSiteLanguageISO6391', protoName: 'DefaultSiteLanguageISO6391')
|
|
..aOS(23, _omitFieldNames ? '' : 'PrefixAppointmentID', protoName: 'PrefixAppointmentID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
Site clone() => Site()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
Site copyWith(void Function(Site) updates) => super.copyWith((message) => updates(message as Site)) as Site;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static Site create() => Site._();
|
|
@$core.override
|
|
Site createEmptyInstance() => create();
|
|
static $pb.PbList<Site> createRepeated() => $pb.PbList<Site>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static Site getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Site>(create);
|
|
static Site? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get iD => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set iD($core.String value) => $_setString(0, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearID() => $_clearField(1);
|
|
|
|
/// Name of the Site
|
|
@$pb.TagNumber(2)
|
|
$core.String get name => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set name($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasName() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearName() => $_clearField(2);
|
|
|
|
/// Identifier for the organisation associated with the site.
|
|
@$pb.TagNumber(3)
|
|
$core.String get organisationID => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set organisationID($core.String value) => $_setString(2, value);
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasOrganisationID() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearOrganisationID() => $_clearField(3);
|
|
|
|
@$pb.TagNumber(4)
|
|
$core.bool get active => $_getBF(3);
|
|
@$pb.TagNumber(4)
|
|
set active($core.bool value) => $_setBool(3, value);
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasActive() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearActive() => $_clearField(4);
|
|
|
|
@$pb.TagNumber(5)
|
|
$core.String get photoURI => $_getSZ(4);
|
|
@$pb.TagNumber(5)
|
|
set photoURI($core.String value) => $_setString(4, value);
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasPhotoURI() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearPhotoURI() => $_clearField(5);
|
|
|
|
@$pb.TagNumber(6)
|
|
$1.Address get address => $_getN(5);
|
|
@$pb.TagNumber(6)
|
|
set address($1.Address value) => $_setField(6, value);
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasAddress() => $_has(5);
|
|
@$pb.TagNumber(6)
|
|
void clearAddress() => $_clearField(6);
|
|
@$pb.TagNumber(6)
|
|
$1.Address ensureAddress() => $_ensure(5);
|
|
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<$core.String> get phones => $_getList(6);
|
|
|
|
@$pb.TagNumber(8)
|
|
$core.String get fax => $_getSZ(7);
|
|
@$pb.TagNumber(8)
|
|
set fax($core.String value) => $_setString(7, value);
|
|
@$pb.TagNumber(8)
|
|
$core.bool hasFax() => $_has(7);
|
|
@$pb.TagNumber(8)
|
|
void clearFax() => $_clearField(8);
|
|
|
|
/// List of Segmentations that segment the logistic site.
|
|
@$pb.TagNumber(9)
|
|
$pb.PbList<$2.Segmentation> get segmentations => $_getList(8);
|
|
|
|
/// List of allowed project and the constraints (interval time in which they can book an appointment) they are associated with.
|
|
@$pb.TagNumber(10)
|
|
$pb.PbList<$2.ProjectAuthorisation> get authorisations => $_getList(9);
|
|
|
|
/// List of containment units which will be used to estimate the needed time to load or unload.
|
|
@$pb.TagNumber(11)
|
|
$pb.PbList<$2.Unit> get units => $_getList(10);
|
|
|
|
/// Definition of the opening rules. 2 opening rule definitions cannot overlap.
|
|
@$pb.TagNumber(12)
|
|
$pb.PbList<$2.OpeningRule> get openingRules => $_getList(11);
|
|
|
|
/// Definition of the booking slot duration rules.
|
|
@$pb.TagNumber(13)
|
|
$pb.PbList<$2.DurationRule> get durationRules => $_getList(12);
|
|
|
|
/// Definition of the capacity rules. 2 capacity rule can overlap and the more constraining one will be applied.
|
|
@$pb.TagNumber(14)
|
|
$pb.PbList<$2.CapacityRule> get capacityRules => $_getList(13);
|
|
|
|
@$pb.TagNumber(15)
|
|
$2.Instruction get instruction => $_getN(14);
|
|
@$pb.TagNumber(15)
|
|
set instruction($2.Instruction value) => $_setField(15, value);
|
|
@$pb.TagNumber(15)
|
|
$core.bool hasInstruction() => $_has(14);
|
|
@$pb.TagNumber(15)
|
|
void clearInstruction() => $_clearField(15);
|
|
@$pb.TagNumber(15)
|
|
$2.Instruction ensureInstruction() => $_ensure(14);
|
|
|
|
/// Set of instruction document, listing necessary equipment and such
|
|
@$pb.TagNumber(16)
|
|
$pb.PbList<$2.Document> get instructionDocuments => $_getList(15);
|
|
|
|
/// Set of required or optional information to ask when a slot is booked
|
|
@$pb.TagNumber(17)
|
|
$pb.PbList<$2.CarrierInformation> get carrierInformation => $_getList(16);
|
|
|
|
/// Defines the rounded value to define booking period
|
|
@$pb.TagNumber(18)
|
|
$core.int get roundedPeriodInMinutes => $_getIZ(17);
|
|
@$pb.TagNumber(18)
|
|
set roundedPeriodInMinutes($core.int value) => $_setUnsignedInt32(17, value);
|
|
@$pb.TagNumber(18)
|
|
$core.bool hasRoundedPeriodInMinutes() => $_has(17);
|
|
@$pb.TagNumber(18)
|
|
void clearRoundedPeriodInMinutes() => $_clearField(18);
|
|
|
|
/// Site Time zone
|
|
@$pb.TagNumber(19)
|
|
$core.String get timeZone => $_getSZ(18);
|
|
@$pb.TagNumber(19)
|
|
set timeZone($core.String value) => $_setString(18, value);
|
|
@$pb.TagNumber(19)
|
|
$core.bool hasTimeZone() => $_has(18);
|
|
@$pb.TagNumber(19)
|
|
void clearTimeZone() => $_clearField(19);
|
|
|
|
/// Must be a valid email address
|
|
@$pb.TagNumber(20)
|
|
$pb.PbList<$core.String> get emails => $_getList(19);
|
|
|
|
/// Set the fallback language in case of missing translation
|
|
@$pb.TagNumber(21)
|
|
$core.String get defaultSiteLanguageISO6391 => $_getSZ(20);
|
|
@$pb.TagNumber(21)
|
|
set defaultSiteLanguageISO6391($core.String value) => $_setString(20, value);
|
|
@$pb.TagNumber(21)
|
|
$core.bool hasDefaultSiteLanguageISO6391() => $_has(20);
|
|
@$pb.TagNumber(21)
|
|
void clearDefaultSiteLanguageISO6391() => $_clearField(21);
|
|
|
|
@$pb.TagNumber(23)
|
|
$core.String get prefixAppointmentID => $_getSZ(21);
|
|
@$pb.TagNumber(23)
|
|
set prefixAppointmentID($core.String value) => $_setString(21, value);
|
|
@$pb.TagNumber(23)
|
|
$core.bool hasPrefixAppointmentID() => $_has(21);
|
|
@$pb.TagNumber(23)
|
|
void clearPrefixAppointmentID() => $_clearField(23);
|
|
}
|
|
|
|
/// Create
|
|
class CreateSettingsRequest extends $pb.GeneratedMessage {
|
|
factory CreateSettingsRequest({
|
|
$core.String? organisationID,
|
|
$core.String? siteID,
|
|
$core.String? siteName,
|
|
$core.String? email,
|
|
}) {
|
|
final result = create();
|
|
if (organisationID != null) result.organisationID = organisationID;
|
|
if (siteID != null) result.siteID = siteID;
|
|
if (siteName != null) result.siteName = siteName;
|
|
if (email != null) result.email = email;
|
|
return result;
|
|
}
|
|
|
|
CreateSettingsRequest._();
|
|
|
|
factory CreateSettingsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory CreateSettingsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSettingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID')
|
|
..aOS(2, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
|
|
..aOS(3, _omitFieldNames ? '' : 'SiteName', protoName: 'SiteName')
|
|
..aOS(4, _omitFieldNames ? '' : 'Email', protoName: 'Email')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateSettingsRequest clone() => CreateSettingsRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateSettingsRequest copyWith(void Function(CreateSettingsRequest) updates) => super.copyWith((message) => updates(message as CreateSettingsRequest)) as CreateSettingsRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateSettingsRequest create() => CreateSettingsRequest._();
|
|
@$core.override
|
|
CreateSettingsRequest createEmptyInstance() => create();
|
|
static $pb.PbList<CreateSettingsRequest> createRepeated() => $pb.PbList<CreateSettingsRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateSettingsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateSettingsRequest>(create);
|
|
static CreateSettingsRequest? _defaultInstance;
|
|
|
|
/// Identifier of the organisation
|
|
@$pb.TagNumber(1)
|
|
$core.String get organisationID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set organisationID($core.String value) => $_setString(0, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasOrganisationID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearOrganisationID() => $_clearField(1);
|
|
|
|
/// Identifier of the new Site
|
|
@$pb.TagNumber(2)
|
|
$core.String get siteID => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set siteID($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasSiteID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearSiteID() => $_clearField(2);
|
|
|
|
/// Name of the new Site, modifiable after creation
|
|
@$pb.TagNumber(3)
|
|
$core.String get siteName => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set siteName($core.String value) => $_setString(2, value);
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasSiteName() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearSiteName() => $_clearField(3);
|
|
|
|
/// Must be a valid email address from a user know to the platform
|
|
@$pb.TagNumber(4)
|
|
$core.String get email => $_getSZ(3);
|
|
@$pb.TagNumber(4)
|
|
set email($core.String value) => $_setString(3, value);
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasEmail() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearEmail() => $_clearField(4);
|
|
}
|
|
|
|
class CreateSettingsResponse extends $pb.GeneratedMessage {
|
|
factory CreateSettingsResponse({
|
|
Site? site,
|
|
}) {
|
|
final result = create();
|
|
if (site != null) result.site = site;
|
|
return result;
|
|
}
|
|
|
|
CreateSettingsResponse._();
|
|
|
|
factory CreateSettingsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory CreateSettingsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateSettingsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Site>(1, _omitFieldNames ? '' : 'Site', protoName: 'Site', subBuilder: Site.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateSettingsResponse clone() => CreateSettingsResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateSettingsResponse copyWith(void Function(CreateSettingsResponse) updates) => super.copyWith((message) => updates(message as CreateSettingsResponse)) as CreateSettingsResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateSettingsResponse create() => CreateSettingsResponse._();
|
|
@$core.override
|
|
CreateSettingsResponse createEmptyInstance() => create();
|
|
static $pb.PbList<CreateSettingsResponse> createRepeated() => $pb.PbList<CreateSettingsResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateSettingsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateSettingsResponse>(create);
|
|
static CreateSettingsResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Site get site => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set site(Site value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasSite() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearSite() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Site ensureSite() => $_ensure(0);
|
|
}
|
|
|
|
/// Get
|
|
class GetSettingsRequest extends $pb.GeneratedMessage {
|
|
factory GetSettingsRequest({
|
|
$3.RequestProjectHeader? header,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
return result;
|
|
}
|
|
|
|
GetSettingsRequest._();
|
|
|
|
factory GetSettingsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory GetSettingsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSettingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetSettingsRequest clone() => GetSettingsRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetSettingsRequest copyWith(void Function(GetSettingsRequest) updates) => super.copyWith((message) => updates(message as GetSettingsRequest)) as GetSettingsRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetSettingsRequest create() => GetSettingsRequest._();
|
|
@$core.override
|
|
GetSettingsRequest createEmptyInstance() => create();
|
|
static $pb.PbList<GetSettingsRequest> createRepeated() => $pb.PbList<GetSettingsRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetSettingsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetSettingsRequest>(create);
|
|
static GetSettingsRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
}
|
|
|
|
class GetSettingsResponse extends $pb.GeneratedMessage {
|
|
factory GetSettingsResponse({
|
|
Site? site,
|
|
}) {
|
|
final result = create();
|
|
if (site != null) result.site = site;
|
|
return result;
|
|
}
|
|
|
|
GetSettingsResponse._();
|
|
|
|
factory GetSettingsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory GetSettingsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSettingsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Site>(1, _omitFieldNames ? '' : 'Site', protoName: 'Site', subBuilder: Site.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetSettingsResponse clone() => GetSettingsResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetSettingsResponse copyWith(void Function(GetSettingsResponse) updates) => super.copyWith((message) => updates(message as GetSettingsResponse)) as GetSettingsResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetSettingsResponse create() => GetSettingsResponse._();
|
|
@$core.override
|
|
GetSettingsResponse createEmptyInstance() => create();
|
|
static $pb.PbList<GetSettingsResponse> createRepeated() => $pb.PbList<GetSettingsResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetSettingsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetSettingsResponse>(create);
|
|
static GetSettingsResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Site get site => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set site(Site value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasSite() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearSite() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Site ensureSite() => $_ensure(0);
|
|
}
|
|
|
|
class FilterSite extends $pb.GeneratedMessage {
|
|
factory FilterSite({
|
|
$core.String? label,
|
|
$core.String? phone,
|
|
$core.String? address,
|
|
$core.String? mail,
|
|
$core.String? city,
|
|
$core.int? limit,
|
|
}) {
|
|
final result = create();
|
|
if (label != null) result.label = label;
|
|
if (phone != null) result.phone = phone;
|
|
if (address != null) result.address = address;
|
|
if (mail != null) result.mail = mail;
|
|
if (city != null) result.city = city;
|
|
if (limit != null) result.limit = limit;
|
|
return result;
|
|
}
|
|
|
|
FilterSite._();
|
|
|
|
factory FilterSite.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory FilterSite.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FilterSite', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'Label', protoName: 'Label')
|
|
..aOS(2, _omitFieldNames ? '' : 'Phone', protoName: 'Phone')
|
|
..aOS(3, _omitFieldNames ? '' : 'Address', protoName: 'Address')
|
|
..aOS(4, _omitFieldNames ? '' : 'Mail', protoName: 'Mail')
|
|
..aOS(5, _omitFieldNames ? '' : 'City', protoName: 'City')
|
|
..a<$core.int>(6, _omitFieldNames ? '' : 'Limit', $pb.PbFieldType.O3, protoName: 'Limit')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
FilterSite clone() => FilterSite()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
FilterSite copyWith(void Function(FilterSite) updates) => super.copyWith((message) => updates(message as FilterSite)) as FilterSite;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static FilterSite create() => FilterSite._();
|
|
@$core.override
|
|
FilterSite createEmptyInstance() => create();
|
|
static $pb.PbList<FilterSite> createRepeated() => $pb.PbList<FilterSite>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static FilterSite getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FilterSite>(create);
|
|
static FilterSite? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get label => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set label($core.String value) => $_setString(0, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasLabel() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearLabel() => $_clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get phone => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set phone($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasPhone() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearPhone() => $_clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.String get address => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set address($core.String value) => $_setString(2, value);
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasAddress() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearAddress() => $_clearField(3);
|
|
|
|
@$pb.TagNumber(4)
|
|
$core.String get mail => $_getSZ(3);
|
|
@$pb.TagNumber(4)
|
|
set mail($core.String value) => $_setString(3, value);
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasMail() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearMail() => $_clearField(4);
|
|
|
|
@$pb.TagNumber(5)
|
|
$core.String get city => $_getSZ(4);
|
|
@$pb.TagNumber(5)
|
|
set city($core.String value) => $_setString(4, value);
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasCity() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearCity() => $_clearField(5);
|
|
|
|
@$pb.TagNumber(6)
|
|
$core.int get limit => $_getIZ(5);
|
|
@$pb.TagNumber(6)
|
|
set limit($core.int value) => $_setSignedInt32(5, value);
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasLimit() => $_has(5);
|
|
@$pb.TagNumber(6)
|
|
void clearLimit() => $_clearField(6);
|
|
}
|
|
|
|
class ListSettingsResponse extends $pb.GeneratedMessage {
|
|
factory ListSettingsResponse({
|
|
$core.Iterable<Site>? sites,
|
|
}) {
|
|
final result = create();
|
|
if (sites != null) result.sites.addAll(sites);
|
|
return result;
|
|
}
|
|
|
|
ListSettingsResponse._();
|
|
|
|
factory ListSettingsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory ListSettingsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListSettingsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..pc<Site>(1, _omitFieldNames ? '' : 'Sites', $pb.PbFieldType.PM, protoName: 'Sites', subBuilder: Site.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListSettingsResponse clone() => ListSettingsResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListSettingsResponse copyWith(void Function(ListSettingsResponse) updates) => super.copyWith((message) => updates(message as ListSettingsResponse)) as ListSettingsResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListSettingsResponse create() => ListSettingsResponse._();
|
|
@$core.override
|
|
ListSettingsResponse createEmptyInstance() => create();
|
|
static $pb.PbList<ListSettingsResponse> createRepeated() => $pb.PbList<ListSettingsResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListSettingsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListSettingsResponse>(create);
|
|
static ListSettingsResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$pb.PbList<Site> get sites => $_getList(0);
|
|
}
|
|
|
|
/// Update
|
|
class UpdateSettingsRequest extends $pb.GeneratedMessage {
|
|
factory UpdateSettingsRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$core.String? name,
|
|
$core.bool? active,
|
|
$1.Address? address,
|
|
$core.Iterable<$core.String>? phones,
|
|
$core.String? fax,
|
|
$core.Iterable<$2.Segmentation>? segmentations,
|
|
$core.Iterable<$2.ProjectAuthorisation>? authorisations,
|
|
$core.Iterable<$2.Unit>? units,
|
|
$core.Iterable<$2.OpeningRule>? openingRules,
|
|
$core.Iterable<$2.DurationRule>? durationRules,
|
|
$core.Iterable<$2.CapacityRule>? capacityRules,
|
|
$2.Instruction? instruction,
|
|
$core.Iterable<$2.CarrierInformation>? carrierInformation,
|
|
$core.int? roundedPeriodInMinutes,
|
|
$core.String? timeZone,
|
|
$core.Iterable<$core.String>? emails,
|
|
$core.String? defaultSiteLanguageISO6391,
|
|
$core.String? prefixAppointmentID,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (name != null) result.name = name;
|
|
if (active != null) result.active = active;
|
|
if (address != null) result.address = address;
|
|
if (phones != null) result.phones.addAll(phones);
|
|
if (fax != null) result.fax = fax;
|
|
if (segmentations != null) result.segmentations.addAll(segmentations);
|
|
if (authorisations != null) result.authorisations.addAll(authorisations);
|
|
if (units != null) result.units.addAll(units);
|
|
if (openingRules != null) result.openingRules.addAll(openingRules);
|
|
if (durationRules != null) result.durationRules.addAll(durationRules);
|
|
if (capacityRules != null) result.capacityRules.addAll(capacityRules);
|
|
if (instruction != null) result.instruction = instruction;
|
|
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
|
if (roundedPeriodInMinutes != null) result.roundedPeriodInMinutes = roundedPeriodInMinutes;
|
|
if (timeZone != null) result.timeZone = timeZone;
|
|
if (emails != null) result.emails.addAll(emails);
|
|
if (defaultSiteLanguageISO6391 != null) result.defaultSiteLanguageISO6391 = defaultSiteLanguageISO6391;
|
|
if (prefixAppointmentID != null) result.prefixAppointmentID = prefixAppointmentID;
|
|
return result;
|
|
}
|
|
|
|
UpdateSettingsRequest._();
|
|
|
|
factory UpdateSettingsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory UpdateSettingsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSettingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..aOS(3, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOB(4, _omitFieldNames ? '' : 'Active', protoName: 'Active')
|
|
..aOM<$1.Address>(6, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $1.Address.create)
|
|
..pPS(7, _omitFieldNames ? '' : 'Phones', protoName: 'Phones')
|
|
..aOS(8, _omitFieldNames ? '' : 'Fax', protoName: 'Fax')
|
|
..pc<$2.Segmentation>(9, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $2.Segmentation.create)
|
|
..pc<$2.ProjectAuthorisation>(10, _omitFieldNames ? '' : 'Authorisations', $pb.PbFieldType.PM, protoName: 'Authorisations', subBuilder: $2.ProjectAuthorisation.create)
|
|
..pc<$2.Unit>(11, _omitFieldNames ? '' : 'Units', $pb.PbFieldType.PM, protoName: 'Units', subBuilder: $2.Unit.create)
|
|
..pc<$2.OpeningRule>(12, _omitFieldNames ? '' : 'OpeningRules', $pb.PbFieldType.PM, protoName: 'OpeningRules', subBuilder: $2.OpeningRule.create)
|
|
..pc<$2.DurationRule>(13, _omitFieldNames ? '' : 'DurationRules', $pb.PbFieldType.PM, protoName: 'DurationRules', subBuilder: $2.DurationRule.create)
|
|
..pc<$2.CapacityRule>(14, _omitFieldNames ? '' : 'CapacityRules', $pb.PbFieldType.PM, protoName: 'CapacityRules', subBuilder: $2.CapacityRule.create)
|
|
..aOM<$2.Instruction>(15, _omitFieldNames ? '' : 'Instruction', protoName: 'Instruction', subBuilder: $2.Instruction.create)
|
|
..pc<$2.CarrierInformation>(17, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformation.create)
|
|
..a<$core.int>(18, _omitFieldNames ? '' : 'RoundedPeriodInMinutes', $pb.PbFieldType.OU3, protoName: 'RoundedPeriodInMinutes')
|
|
..aOS(19, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
|
|
..pPS(20, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
|
..aOS(21, _omitFieldNames ? '' : 'DefaultSiteLanguageISO6391', protoName: 'DefaultSiteLanguageISO6391')
|
|
..aOS(22, _omitFieldNames ? '' : 'PrefixAppointmentID', protoName: 'PrefixAppointmentID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateSettingsRequest clone() => UpdateSettingsRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateSettingsRequest copyWith(void Function(UpdateSettingsRequest) updates) => super.copyWith((message) => updates(message as UpdateSettingsRequest)) as UpdateSettingsRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateSettingsRequest create() => UpdateSettingsRequest._();
|
|
@$core.override
|
|
UpdateSettingsRequest createEmptyInstance() => create();
|
|
static $pb.PbList<UpdateSettingsRequest> createRepeated() => $pb.PbList<UpdateSettingsRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateSettingsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateSettingsRequest>(create);
|
|
static UpdateSettingsRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
/// Name of the Site
|
|
@$pb.TagNumber(3)
|
|
$core.String get name => $_getSZ(1);
|
|
@$pb.TagNumber(3)
|
|
set name($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasName() => $_has(1);
|
|
@$pb.TagNumber(3)
|
|
void clearName() => $_clearField(3);
|
|
|
|
@$pb.TagNumber(4)
|
|
$core.bool get active => $_getBF(2);
|
|
@$pb.TagNumber(4)
|
|
set active($core.bool value) => $_setBool(2, value);
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasActive() => $_has(2);
|
|
@$pb.TagNumber(4)
|
|
void clearActive() => $_clearField(4);
|
|
|
|
@$pb.TagNumber(6)
|
|
$1.Address get address => $_getN(3);
|
|
@$pb.TagNumber(6)
|
|
set address($1.Address value) => $_setField(6, value);
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasAddress() => $_has(3);
|
|
@$pb.TagNumber(6)
|
|
void clearAddress() => $_clearField(6);
|
|
@$pb.TagNumber(6)
|
|
$1.Address ensureAddress() => $_ensure(3);
|
|
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<$core.String> get phones => $_getList(4);
|
|
|
|
@$pb.TagNumber(8)
|
|
$core.String get fax => $_getSZ(5);
|
|
@$pb.TagNumber(8)
|
|
set fax($core.String value) => $_setString(5, value);
|
|
@$pb.TagNumber(8)
|
|
$core.bool hasFax() => $_has(5);
|
|
@$pb.TagNumber(8)
|
|
void clearFax() => $_clearField(8);
|
|
|
|
/// List of Segmentations that segment the logistic site.
|
|
@$pb.TagNumber(9)
|
|
$pb.PbList<$2.Segmentation> get segmentations => $_getList(6);
|
|
|
|
/// List of allowed project and the constraints (interval time in which they can book an appointment) they are associated with.
|
|
@$pb.TagNumber(10)
|
|
$pb.PbList<$2.ProjectAuthorisation> get authorisations => $_getList(7);
|
|
|
|
@$pb.TagNumber(11)
|
|
$pb.PbList<$2.Unit> get units => $_getList(8);
|
|
|
|
/// Definition of the opening rules. 2 opening rule definitions cannot overlap.
|
|
@$pb.TagNumber(12)
|
|
$pb.PbList<$2.OpeningRule> get openingRules => $_getList(9);
|
|
|
|
/// Definition of the booking slot duration rules.
|
|
@$pb.TagNumber(13)
|
|
$pb.PbList<$2.DurationRule> get durationRules => $_getList(10);
|
|
|
|
/// Definition of the capacity rules. 2 capacity rule can overlap and the more constraining one will be applied.
|
|
@$pb.TagNumber(14)
|
|
$pb.PbList<$2.CapacityRule> get capacityRules => $_getList(11);
|
|
|
|
@$pb.TagNumber(15)
|
|
$2.Instruction get instruction => $_getN(12);
|
|
@$pb.TagNumber(15)
|
|
set instruction($2.Instruction value) => $_setField(15, value);
|
|
@$pb.TagNumber(15)
|
|
$core.bool hasInstruction() => $_has(12);
|
|
@$pb.TagNumber(15)
|
|
void clearInstruction() => $_clearField(15);
|
|
@$pb.TagNumber(15)
|
|
$2.Instruction ensureInstruction() => $_ensure(12);
|
|
|
|
/// Set of required or optional information to ask when a slot is booked
|
|
@$pb.TagNumber(17)
|
|
$pb.PbList<$2.CarrierInformation> get carrierInformation => $_getList(13);
|
|
|
|
/// Defines the rounded value of periods in minutes, must be greater than 0.
|
|
@$pb.TagNumber(18)
|
|
$core.int get roundedPeriodInMinutes => $_getIZ(14);
|
|
@$pb.TagNumber(18)
|
|
set roundedPeriodInMinutes($core.int value) => $_setUnsignedInt32(14, value);
|
|
@$pb.TagNumber(18)
|
|
$core.bool hasRoundedPeriodInMinutes() => $_has(14);
|
|
@$pb.TagNumber(18)
|
|
void clearRoundedPeriodInMinutes() => $_clearField(18);
|
|
|
|
/// Add Site Time zone
|
|
@$pb.TagNumber(19)
|
|
$core.String get timeZone => $_getSZ(15);
|
|
@$pb.TagNumber(19)
|
|
set timeZone($core.String value) => $_setString(15, value);
|
|
@$pb.TagNumber(19)
|
|
$core.bool hasTimeZone() => $_has(15);
|
|
@$pb.TagNumber(19)
|
|
void clearTimeZone() => $_clearField(19);
|
|
|
|
/// Must be a valid email address
|
|
@$pb.TagNumber(20)
|
|
$pb.PbList<$core.String> get emails => $_getList(16);
|
|
|
|
/// set the fallback language in case of missing translation
|
|
@$pb.TagNumber(21)
|
|
$core.String get defaultSiteLanguageISO6391 => $_getSZ(17);
|
|
@$pb.TagNumber(21)
|
|
set defaultSiteLanguageISO6391($core.String value) => $_setString(17, value);
|
|
@$pb.TagNumber(21)
|
|
$core.bool hasDefaultSiteLanguageISO6391() => $_has(17);
|
|
@$pb.TagNumber(21)
|
|
void clearDefaultSiteLanguageISO6391() => $_clearField(21);
|
|
|
|
@$pb.TagNumber(22)
|
|
$core.String get prefixAppointmentID => $_getSZ(18);
|
|
@$pb.TagNumber(22)
|
|
set prefixAppointmentID($core.String value) => $_setString(18, value);
|
|
@$pb.TagNumber(22)
|
|
$core.bool hasPrefixAppointmentID() => $_has(18);
|
|
@$pb.TagNumber(22)
|
|
void clearPrefixAppointmentID() => $_clearField(22);
|
|
}
|
|
|
|
class UpdateSettingsResponse extends $pb.GeneratedMessage {
|
|
factory UpdateSettingsResponse({
|
|
Site? site,
|
|
}) {
|
|
final result = create();
|
|
if (site != null) result.site = site;
|
|
return result;
|
|
}
|
|
|
|
UpdateSettingsResponse._();
|
|
|
|
factory UpdateSettingsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory UpdateSettingsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSettingsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Site>(1, _omitFieldNames ? '' : 'Site', protoName: 'Site', subBuilder: Site.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateSettingsResponse clone() => UpdateSettingsResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateSettingsResponse copyWith(void Function(UpdateSettingsResponse) updates) => super.copyWith((message) => updates(message as UpdateSettingsResponse)) as UpdateSettingsResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateSettingsResponse create() => UpdateSettingsResponse._();
|
|
@$core.override
|
|
UpdateSettingsResponse createEmptyInstance() => create();
|
|
static $pb.PbList<UpdateSettingsResponse> createRepeated() => $pb.PbList<UpdateSettingsResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateSettingsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateSettingsResponse>(create);
|
|
static UpdateSettingsResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Site get site => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set site(Site value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasSite() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearSite() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Site ensureSite() => $_ensure(0);
|
|
}
|
|
|
|
/// Upload photo
|
|
class UploadPhotoRequest extends $pb.GeneratedMessage {
|
|
factory UploadPhotoRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$3.FileDataRequest? file,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (file != null) result.file = file;
|
|
return result;
|
|
}
|
|
|
|
UploadPhotoRequest._();
|
|
|
|
factory UploadPhotoRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory UploadPhotoRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadPhotoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..aOM<$3.FileDataRequest>(2, _omitFieldNames ? '' : 'File', protoName: 'File', subBuilder: $3.FileDataRequest.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UploadPhotoRequest clone() => UploadPhotoRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UploadPhotoRequest copyWith(void Function(UploadPhotoRequest) updates) => super.copyWith((message) => updates(message as UploadPhotoRequest)) as UploadPhotoRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UploadPhotoRequest create() => UploadPhotoRequest._();
|
|
@$core.override
|
|
UploadPhotoRequest createEmptyInstance() => create();
|
|
static $pb.PbList<UploadPhotoRequest> createRepeated() => $pb.PbList<UploadPhotoRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UploadPhotoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadPhotoRequest>(create);
|
|
static UploadPhotoRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$3.FileDataRequest get file => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set file($3.FileDataRequest value) => $_setField(2, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasFile() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearFile() => $_clearField(2);
|
|
@$pb.TagNumber(2)
|
|
$3.FileDataRequest ensureFile() => $_ensure(1);
|
|
}
|
|
|
|
class UploadPhotoResponse extends $pb.GeneratedMessage {
|
|
factory UploadPhotoResponse({
|
|
$core.String? uRI,
|
|
}) {
|
|
final result = create();
|
|
if (uRI != null) result.uRI = uRI;
|
|
return result;
|
|
}
|
|
|
|
UploadPhotoResponse._();
|
|
|
|
factory UploadPhotoResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory UploadPhotoResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadPhotoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'URI', protoName: 'URI')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UploadPhotoResponse clone() => UploadPhotoResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UploadPhotoResponse copyWith(void Function(UploadPhotoResponse) updates) => super.copyWith((message) => updates(message as UploadPhotoResponse)) as UploadPhotoResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UploadPhotoResponse create() => UploadPhotoResponse._();
|
|
@$core.override
|
|
UploadPhotoResponse createEmptyInstance() => create();
|
|
static $pb.PbList<UploadPhotoResponse> createRepeated() => $pb.PbList<UploadPhotoResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UploadPhotoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadPhotoResponse>(create);
|
|
static UploadPhotoResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get uRI => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set uRI($core.String value) => $_setString(0, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasURI() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearURI() => $_clearField(1);
|
|
}
|
|
|
|
/// Delete photo
|
|
class DeletePhotoRequest extends $pb.GeneratedMessage {
|
|
factory DeletePhotoRequest({
|
|
$3.RequestProjectHeader? header,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
return result;
|
|
}
|
|
|
|
DeletePhotoRequest._();
|
|
|
|
factory DeletePhotoRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory DeletePhotoRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePhotoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeletePhotoRequest clone() => DeletePhotoRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeletePhotoRequest copyWith(void Function(DeletePhotoRequest) updates) => super.copyWith((message) => updates(message as DeletePhotoRequest)) as DeletePhotoRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeletePhotoRequest create() => DeletePhotoRequest._();
|
|
@$core.override
|
|
DeletePhotoRequest createEmptyInstance() => create();
|
|
static $pb.PbList<DeletePhotoRequest> createRepeated() => $pb.PbList<DeletePhotoRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeletePhotoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeletePhotoRequest>(create);
|
|
static DeletePhotoRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
}
|
|
|
|
class DeletePhotoResponse extends $pb.GeneratedMessage {
|
|
factory DeletePhotoResponse() => create();
|
|
|
|
DeletePhotoResponse._();
|
|
|
|
factory DeletePhotoResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory DeletePhotoResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePhotoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeletePhotoResponse clone() => DeletePhotoResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeletePhotoResponse copyWith(void Function(DeletePhotoResponse) updates) => super.copyWith((message) => updates(message as DeletePhotoResponse)) as DeletePhotoResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeletePhotoResponse create() => DeletePhotoResponse._();
|
|
@$core.override
|
|
DeletePhotoResponse createEmptyInstance() => create();
|
|
static $pb.PbList<DeletePhotoResponse> createRepeated() => $pb.PbList<DeletePhotoResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeletePhotoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeletePhotoResponse>(create);
|
|
static DeletePhotoResponse? _defaultInstance;
|
|
}
|
|
|
|
/// Upload document
|
|
class UploadInstructionDocumentRequest extends $pb.GeneratedMessage {
|
|
factory UploadInstructionDocumentRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$3.FileDataRequest? file,
|
|
$core.String? docID,
|
|
$core.String? languageCodeISO6391,
|
|
$core.String? name,
|
|
$core.bool? ackRequired,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (file != null) result.file = file;
|
|
if (docID != null) result.docID = docID;
|
|
if (languageCodeISO6391 != null) result.languageCodeISO6391 = languageCodeISO6391;
|
|
if (name != null) result.name = name;
|
|
if (ackRequired != null) result.ackRequired = ackRequired;
|
|
return result;
|
|
}
|
|
|
|
UploadInstructionDocumentRequest._();
|
|
|
|
factory UploadInstructionDocumentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory UploadInstructionDocumentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadInstructionDocumentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..aOM<$3.FileDataRequest>(2, _omitFieldNames ? '' : 'File', protoName: 'File', subBuilder: $3.FileDataRequest.create)
|
|
..aOS(3, _omitFieldNames ? '' : 'DocID', protoName: 'DocID')
|
|
..aOS(4, _omitFieldNames ? '' : 'LanguageCodeISO6391', protoName: 'LanguageCodeISO6391')
|
|
..aOS(5, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOB(6, _omitFieldNames ? '' : 'AckRequired', protoName: 'AckRequired')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UploadInstructionDocumentRequest clone() => UploadInstructionDocumentRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UploadInstructionDocumentRequest copyWith(void Function(UploadInstructionDocumentRequest) updates) => super.copyWith((message) => updates(message as UploadInstructionDocumentRequest)) as UploadInstructionDocumentRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UploadInstructionDocumentRequest create() => UploadInstructionDocumentRequest._();
|
|
@$core.override
|
|
UploadInstructionDocumentRequest createEmptyInstance() => create();
|
|
static $pb.PbList<UploadInstructionDocumentRequest> createRepeated() => $pb.PbList<UploadInstructionDocumentRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UploadInstructionDocumentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadInstructionDocumentRequest>(create);
|
|
static UploadInstructionDocumentRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$3.FileDataRequest get file => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set file($3.FileDataRequest value) => $_setField(2, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasFile() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearFile() => $_clearField(2);
|
|
@$pb.TagNumber(2)
|
|
$3.FileDataRequest ensureFile() => $_ensure(1);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.String get docID => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set docID($core.String value) => $_setString(2, value);
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasDocID() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearDocID() => $_clearField(3);
|
|
|
|
@$pb.TagNumber(4)
|
|
$core.String get languageCodeISO6391 => $_getSZ(3);
|
|
@$pb.TagNumber(4)
|
|
set languageCodeISO6391($core.String value) => $_setString(3, value);
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasLanguageCodeISO6391() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearLanguageCodeISO6391() => $_clearField(4);
|
|
|
|
@$pb.TagNumber(5)
|
|
$core.String get name => $_getSZ(4);
|
|
@$pb.TagNumber(5)
|
|
set name($core.String value) => $_setString(4, value);
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasName() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearName() => $_clearField(5);
|
|
|
|
@$pb.TagNumber(6)
|
|
$core.bool get ackRequired => $_getBF(5);
|
|
@$pb.TagNumber(6)
|
|
set ackRequired($core.bool value) => $_setBool(5, value);
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasAckRequired() => $_has(5);
|
|
@$pb.TagNumber(6)
|
|
void clearAckRequired() => $_clearField(6);
|
|
}
|
|
|
|
class UploadInstructionDocumentResponse extends $pb.GeneratedMessage {
|
|
factory UploadInstructionDocumentResponse({
|
|
$core.String? uRI,
|
|
}) {
|
|
final result = create();
|
|
if (uRI != null) result.uRI = uRI;
|
|
return result;
|
|
}
|
|
|
|
UploadInstructionDocumentResponse._();
|
|
|
|
factory UploadInstructionDocumentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory UploadInstructionDocumentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadInstructionDocumentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'URI', protoName: 'URI')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UploadInstructionDocumentResponse clone() => UploadInstructionDocumentResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UploadInstructionDocumentResponse copyWith(void Function(UploadInstructionDocumentResponse) updates) => super.copyWith((message) => updates(message as UploadInstructionDocumentResponse)) as UploadInstructionDocumentResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UploadInstructionDocumentResponse create() => UploadInstructionDocumentResponse._();
|
|
@$core.override
|
|
UploadInstructionDocumentResponse createEmptyInstance() => create();
|
|
static $pb.PbList<UploadInstructionDocumentResponse> createRepeated() => $pb.PbList<UploadInstructionDocumentResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UploadInstructionDocumentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadInstructionDocumentResponse>(create);
|
|
static UploadInstructionDocumentResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get uRI => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set uRI($core.String value) => $_setString(0, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasURI() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearURI() => $_clearField(1);
|
|
}
|
|
|
|
/// Delete document
|
|
class DeleteInstructionDocumentRequest extends $pb.GeneratedMessage {
|
|
factory DeleteInstructionDocumentRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$core.String? docID,
|
|
$core.String? languageCodeISO6391,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (docID != null) result.docID = docID;
|
|
if (languageCodeISO6391 != null) result.languageCodeISO6391 = languageCodeISO6391;
|
|
return result;
|
|
}
|
|
|
|
DeleteInstructionDocumentRequest._();
|
|
|
|
factory DeleteInstructionDocumentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory DeleteInstructionDocumentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteInstructionDocumentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'DocID', protoName: 'DocID')
|
|
..aOS(3, _omitFieldNames ? '' : 'LanguageCodeISO6391', protoName: 'LanguageCodeISO6391')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteInstructionDocumentRequest clone() => DeleteInstructionDocumentRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteInstructionDocumentRequest copyWith(void Function(DeleteInstructionDocumentRequest) updates) => super.copyWith((message) => updates(message as DeleteInstructionDocumentRequest)) as DeleteInstructionDocumentRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteInstructionDocumentRequest create() => DeleteInstructionDocumentRequest._();
|
|
@$core.override
|
|
DeleteInstructionDocumentRequest createEmptyInstance() => create();
|
|
static $pb.PbList<DeleteInstructionDocumentRequest> createRepeated() => $pb.PbList<DeleteInstructionDocumentRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteInstructionDocumentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteInstructionDocumentRequest>(create);
|
|
static DeleteInstructionDocumentRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get docID => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set docID($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasDocID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearDocID() => $_clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.String get languageCodeISO6391 => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set languageCodeISO6391($core.String value) => $_setString(2, value);
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasLanguageCodeISO6391() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearLanguageCodeISO6391() => $_clearField(3);
|
|
}
|
|
|
|
class DeleteInstructionDocumentResponse extends $pb.GeneratedMessage {
|
|
factory DeleteInstructionDocumentResponse() => create();
|
|
|
|
DeleteInstructionDocumentResponse._();
|
|
|
|
factory DeleteInstructionDocumentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory DeleteInstructionDocumentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteInstructionDocumentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteInstructionDocumentResponse clone() => DeleteInstructionDocumentResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteInstructionDocumentResponse copyWith(void Function(DeleteInstructionDocumentResponse) updates) => super.copyWith((message) => updates(message as DeleteInstructionDocumentResponse)) as DeleteInstructionDocumentResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteInstructionDocumentResponse create() => DeleteInstructionDocumentResponse._();
|
|
@$core.override
|
|
DeleteInstructionDocumentResponse createEmptyInstance() => create();
|
|
static $pb.PbList<DeleteInstructionDocumentResponse> createRepeated() => $pb.PbList<DeleteInstructionDocumentResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteInstructionDocumentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteInstructionDocumentResponse>(create);
|
|
static DeleteInstructionDocumentResponse? _defaultInstance;
|
|
}
|
|
|
|
/// GetAvailableSlots
|
|
class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
|
factory GetAvailableSlotsRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$2.AppointmentType? appointmentType,
|
|
$core.Iterable<$2.Commission>? commissions,
|
|
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
|
|
$core.String? startDate,
|
|
$core.String? endDate,
|
|
$core.Iterable<$core.String>? skippedAppointmentIDs,
|
|
$core.String? actorID,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (appointmentType != null) result.appointmentType = appointmentType;
|
|
if (commissions != null) result.commissions.addAll(commissions);
|
|
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
|
if (startDate != null) result.startDate = startDate;
|
|
if (endDate != null) result.endDate = endDate;
|
|
if (skippedAppointmentIDs != null) result.skippedAppointmentIDs.addAll(skippedAppointmentIDs);
|
|
if (actorID != null) result.actorID = actorID;
|
|
return result;
|
|
}
|
|
|
|
GetAvailableSlotsRequest._();
|
|
|
|
factory GetAvailableSlotsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory GetAvailableSlotsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..e<$2.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
|
|
..pc<$2.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
|
|
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
|
|
..aOS(5, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate')
|
|
..aOS(6, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate')
|
|
..pPS(7, _omitFieldNames ? '' : 'SkippedAppointmentIDs', protoName: 'SkippedAppointmentIDs')
|
|
..aOS(8, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetAvailableSlotsRequest clone() => GetAvailableSlotsRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetAvailableSlotsRequest copyWith(void Function(GetAvailableSlotsRequest) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsRequest)) as GetAvailableSlotsRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetAvailableSlotsRequest create() => GetAvailableSlotsRequest._();
|
|
@$core.override
|
|
GetAvailableSlotsRequest createEmptyInstance() => create();
|
|
static $pb.PbList<GetAvailableSlotsRequest> createRepeated() => $pb.PbList<GetAvailableSlotsRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetAvailableSlotsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetAvailableSlotsRequest>(create);
|
|
static GetAvailableSlotsRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
/// Type of appointment : Expedition / Reception / Both
|
|
@$pb.TagNumber(2)
|
|
$2.AppointmentType get appointmentType => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set appointmentType($2.AppointmentType value) => $_setField(2, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasAppointmentType() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearAppointmentType() => $_clearField(2);
|
|
|
|
/// List of the orders and projects for which the appointment is made, with the quantities
|
|
@$pb.TagNumber(3)
|
|
$pb.PbList<$2.Commission> get commissions => $_getList(2);
|
|
|
|
/// Set of segmentation constraining the slot booking
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(3);
|
|
|
|
@$pb.TagNumber(5)
|
|
$core.String get startDate => $_getSZ(4);
|
|
@$pb.TagNumber(5)
|
|
set startDate($core.String value) => $_setString(4, value);
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasStartDate() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearStartDate() => $_clearField(5);
|
|
|
|
@$pb.TagNumber(6)
|
|
$core.String get endDate => $_getSZ(5);
|
|
@$pb.TagNumber(6)
|
|
set endDate($core.String value) => $_setString(5, value);
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasEndDate() => $_has(5);
|
|
@$pb.TagNumber(6)
|
|
void clearEndDate() => $_clearField(6);
|
|
|
|
/// Optional, needed to skip counting those appointments in the capacity rules
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<$core.String> get skippedAppointmentIDs => $_getList(6);
|
|
|
|
@$pb.TagNumber(8)
|
|
$core.String get actorID => $_getSZ(7);
|
|
@$pb.TagNumber(8)
|
|
set actorID($core.String value) => $_setString(7, value);
|
|
@$pb.TagNumber(8)
|
|
$core.bool hasActorID() => $_has(7);
|
|
@$pb.TagNumber(8)
|
|
void clearActorID() => $_clearField(8);
|
|
}
|
|
|
|
class GetAvailableSlotsResponse extends $pb.GeneratedMessage {
|
|
factory GetAvailableSlotsResponse({
|
|
$core.Iterable<$2.SlotGroup>? slotGroups,
|
|
$fixnum.Int64? estimatedNeededDurationInMinutes,
|
|
}) {
|
|
final result = create();
|
|
if (slotGroups != null) result.slotGroups.addAll(slotGroups);
|
|
if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes;
|
|
return result;
|
|
}
|
|
|
|
GetAvailableSlotsResponse._();
|
|
|
|
factory GetAvailableSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory GetAvailableSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..pc<$2.SlotGroup>(1, _omitFieldNames ? '' : 'SlotGroups', $pb.PbFieldType.PM, protoName: 'SlotGroups', subBuilder: $2.SlotGroup.create)
|
|
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetAvailableSlotsResponse clone() => GetAvailableSlotsResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetAvailableSlotsResponse copyWith(void Function(GetAvailableSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsResponse)) as GetAvailableSlotsResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetAvailableSlotsResponse create() => GetAvailableSlotsResponse._();
|
|
@$core.override
|
|
GetAvailableSlotsResponse createEmptyInstance() => create();
|
|
static $pb.PbList<GetAvailableSlotsResponse> createRepeated() => $pb.PbList<GetAvailableSlotsResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetAvailableSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetAvailableSlotsResponse>(create);
|
|
static GetAvailableSlotsResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$pb.PbList<$2.SlotGroup> get slotGroups => $_getList(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1);
|
|
@$pb.TagNumber(2)
|
|
set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasEstimatedNeededDurationInMinutes() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearEstimatedNeededDurationInMinutes() => $_clearField(2);
|
|
}
|
|
|
|
class SlotGroupAndReason extends $pb.GeneratedMessage {
|
|
factory SlotGroupAndReason({
|
|
$2.SlotGroup? slotGroup,
|
|
$core.String? reason,
|
|
}) {
|
|
final result = create();
|
|
if (slotGroup != null) result.slotGroup = slotGroup;
|
|
if (reason != null) result.reason = reason;
|
|
return result;
|
|
}
|
|
|
|
SlotGroupAndReason._();
|
|
|
|
factory SlotGroupAndReason.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory SlotGroupAndReason.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SlotGroupAndReason', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$2.SlotGroup>(1, _omitFieldNames ? '' : 'SlotGroup', protoName: 'SlotGroup', subBuilder: $2.SlotGroup.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
SlotGroupAndReason clone() => SlotGroupAndReason()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
SlotGroupAndReason copyWith(void Function(SlotGroupAndReason) updates) => super.copyWith((message) => updates(message as SlotGroupAndReason)) as SlotGroupAndReason;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static SlotGroupAndReason create() => SlotGroupAndReason._();
|
|
@$core.override
|
|
SlotGroupAndReason createEmptyInstance() => create();
|
|
static $pb.PbList<SlotGroupAndReason> createRepeated() => $pb.PbList<SlotGroupAndReason>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static SlotGroupAndReason getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SlotGroupAndReason>(create);
|
|
static SlotGroupAndReason? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$2.SlotGroup get slotGroup => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set slotGroup($2.SlotGroup value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasSlotGroup() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearSlotGroup() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$2.SlotGroup ensureSlotGroup() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get reason => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set reason($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasReason() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearReason() => $_clearField(2);
|
|
}
|
|
|
|
class GetAllSlotsResponse extends $pb.GeneratedMessage {
|
|
factory GetAllSlotsResponse({
|
|
$core.Iterable<SlotGroupAndReason>? slotGroupAndReasons,
|
|
$fixnum.Int64? estimatedNeededDurationInMinutes,
|
|
}) {
|
|
final result = create();
|
|
if (slotGroupAndReasons != null) result.slotGroupAndReasons.addAll(slotGroupAndReasons);
|
|
if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes;
|
|
return result;
|
|
}
|
|
|
|
GetAllSlotsResponse._();
|
|
|
|
factory GetAllSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory GetAllSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..pc<SlotGroupAndReason>(1, _omitFieldNames ? '' : 'SlotGroupAndReasons', $pb.PbFieldType.PM, protoName: 'SlotGroupAndReasons', subBuilder: SlotGroupAndReason.create)
|
|
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetAllSlotsResponse clone() => GetAllSlotsResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetAllSlotsResponse copyWith(void Function(GetAllSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAllSlotsResponse)) as GetAllSlotsResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetAllSlotsResponse create() => GetAllSlotsResponse._();
|
|
@$core.override
|
|
GetAllSlotsResponse createEmptyInstance() => create();
|
|
static $pb.PbList<GetAllSlotsResponse> createRepeated() => $pb.PbList<GetAllSlotsResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetAllSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetAllSlotsResponse>(create);
|
|
static GetAllSlotsResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$pb.PbList<SlotGroupAndReason> get slotGroupAndReasons => $_getList(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1);
|
|
@$pb.TagNumber(2)
|
|
set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasEstimatedNeededDurationInMinutes() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearEstimatedNeededDurationInMinutes() => $_clearField(2);
|
|
}
|
|
|
|
/// BookAppointment
|
|
class BookAppointmentRequest extends $pb.GeneratedMessage {
|
|
factory BookAppointmentRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$2.AppointmentType? appointmentType,
|
|
$core.Iterable<$2.Commission>? commissions,
|
|
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
|
|
$core.Iterable<$2.CarrierInformationWithValue>? carrierInformation,
|
|
$core.Iterable<$2.Slot>? slots,
|
|
$core.Iterable<$core.String>? emails,
|
|
$core.String? carrierID,
|
|
$core.String? carrierName,
|
|
$core.String? appointmentID,
|
|
$core.bool? instructionAck,
|
|
$core.String? actorID,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (appointmentType != null) result.appointmentType = appointmentType;
|
|
if (commissions != null) result.commissions.addAll(commissions);
|
|
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
|
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
|
if (slots != null) result.slots.addAll(slots);
|
|
if (emails != null) result.emails.addAll(emails);
|
|
if (carrierID != null) result.carrierID = carrierID;
|
|
if (carrierName != null) result.carrierName = carrierName;
|
|
if (appointmentID != null) result.appointmentID = appointmentID;
|
|
if (instructionAck != null) result.instructionAck = instructionAck;
|
|
if (actorID != null) result.actorID = actorID;
|
|
return result;
|
|
}
|
|
|
|
BookAppointmentRequest._();
|
|
|
|
factory BookAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory BookAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..e<$2.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
|
|
..pc<$2.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
|
|
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
|
|
..pc<$2.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformationWithValue.create)
|
|
..pc<$2.Slot>(6, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
|
..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
|
..aOS(9, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID')
|
|
..aOS(10, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName')
|
|
..aOS(11, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
|
..aOB(12, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck')
|
|
..aOS(13, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
BookAppointmentRequest clone() => BookAppointmentRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
BookAppointmentRequest copyWith(void Function(BookAppointmentRequest) updates) => super.copyWith((message) => updates(message as BookAppointmentRequest)) as BookAppointmentRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static BookAppointmentRequest create() => BookAppointmentRequest._();
|
|
@$core.override
|
|
BookAppointmentRequest createEmptyInstance() => create();
|
|
static $pb.PbList<BookAppointmentRequest> createRepeated() => $pb.PbList<BookAppointmentRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static BookAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BookAppointmentRequest>(create);
|
|
static BookAppointmentRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
/// Type of appointment : Expedition / Reception / Both
|
|
@$pb.TagNumber(2)
|
|
$2.AppointmentType get appointmentType => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set appointmentType($2.AppointmentType value) => $_setField(2, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasAppointmentType() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearAppointmentType() => $_clearField(2);
|
|
|
|
/// List of the orders and projects for which the appointment is made, with the quantities
|
|
@$pb.TagNumber(3)
|
|
$pb.PbList<$2.Commission> get commissions => $_getList(2);
|
|
|
|
/// Set of segmentation constraining the slot booking
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(3);
|
|
|
|
/// Required carrierInformation, some can be obligatory
|
|
@$pb.TagNumber(5)
|
|
$pb.PbList<$2.CarrierInformationWithValue> get carrierInformation => $_getList(4);
|
|
|
|
/// The slot to book for the appointment
|
|
@$pb.TagNumber(6)
|
|
$pb.PbList<$2.Slot> get slots => $_getList(5);
|
|
|
|
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
|
|
/// User mails being notified on this appointment
|
|
@$pb.TagNumber(8)
|
|
$pb.PbList<$core.String> get emails => $_getList(6);
|
|
|
|
/// The carrier identifier who requests to book the appointment
|
|
@$pb.TagNumber(9)
|
|
$core.String get carrierID => $_getSZ(7);
|
|
@$pb.TagNumber(9)
|
|
set carrierID($core.String value) => $_setString(7, value);
|
|
@$pb.TagNumber(9)
|
|
$core.bool hasCarrierID() => $_has(7);
|
|
@$pb.TagNumber(9)
|
|
void clearCarrierID() => $_clearField(9);
|
|
|
|
/// The carrier name who requests to book the appointment
|
|
@$pb.TagNumber(10)
|
|
$core.String get carrierName => $_getSZ(8);
|
|
@$pb.TagNumber(10)
|
|
set carrierName($core.String value) => $_setString(8, value);
|
|
@$pb.TagNumber(10)
|
|
$core.bool hasCarrierName() => $_has(8);
|
|
@$pb.TagNumber(10)
|
|
void clearCarrierName() => $_clearField(10);
|
|
|
|
/// The appointment ID, usually generated using siteCounterServices
|
|
@$pb.TagNumber(11)
|
|
$core.String get appointmentID => $_getSZ(9);
|
|
@$pb.TagNumber(11)
|
|
set appointmentID($core.String value) => $_setString(9, value);
|
|
@$pb.TagNumber(11)
|
|
$core.bool hasAppointmentID() => $_has(9);
|
|
@$pb.TagNumber(11)
|
|
void clearAppointmentID() => $_clearField(11);
|
|
|
|
/// Acknowledgment of the site instructions
|
|
@$pb.TagNumber(12)
|
|
$core.bool get instructionAck => $_getBF(10);
|
|
@$pb.TagNumber(12)
|
|
set instructionAck($core.bool value) => $_setBool(10, value);
|
|
@$pb.TagNumber(12)
|
|
$core.bool hasInstructionAck() => $_has(10);
|
|
@$pb.TagNumber(12)
|
|
void clearInstructionAck() => $_clearField(12);
|
|
|
|
@$pb.TagNumber(13)
|
|
$core.String get actorID => $_getSZ(11);
|
|
@$pb.TagNumber(13)
|
|
set actorID($core.String value) => $_setString(11, value);
|
|
@$pb.TagNumber(13)
|
|
$core.bool hasActorID() => $_has(11);
|
|
@$pb.TagNumber(13)
|
|
void clearActorID() => $_clearField(13);
|
|
}
|
|
|
|
/// BookAppointmentNoReference
|
|
class BookAppointmentNoReferenceRequest extends $pb.GeneratedMessage {
|
|
factory BookAppointmentNoReferenceRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$2.AppointmentType? appointmentType,
|
|
$core.String? projectID,
|
|
$core.Iterable<$2.QuantityByUnit>? quantities,
|
|
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
|
|
$core.Iterable<$2.CarrierInformationWithValue>? carrierInformation,
|
|
$core.Iterable<$2.Slot>? slots,
|
|
$core.Iterable<$core.String>? emails,
|
|
$core.String? carrierID,
|
|
$core.String? carrierName,
|
|
$core.String? appointmentID,
|
|
$core.String? reason,
|
|
$core.bool? instructionAck,
|
|
$core.String? actorID,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (appointmentType != null) result.appointmentType = appointmentType;
|
|
if (projectID != null) result.projectID = projectID;
|
|
if (quantities != null) result.quantities.addAll(quantities);
|
|
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
|
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
|
if (slots != null) result.slots.addAll(slots);
|
|
if (emails != null) result.emails.addAll(emails);
|
|
if (carrierID != null) result.carrierID = carrierID;
|
|
if (carrierName != null) result.carrierName = carrierName;
|
|
if (appointmentID != null) result.appointmentID = appointmentID;
|
|
if (reason != null) result.reason = reason;
|
|
if (instructionAck != null) result.instructionAck = instructionAck;
|
|
if (actorID != null) result.actorID = actorID;
|
|
return result;
|
|
}
|
|
|
|
BookAppointmentNoReferenceRequest._();
|
|
|
|
factory BookAppointmentNoReferenceRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory BookAppointmentNoReferenceRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentNoReferenceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..e<$2.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
|
|
..aOS(3, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
|
..pc<$2.QuantityByUnit>(4, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create)
|
|
..pc<$2.SegmentationSelection>(5, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
|
|
..pc<$2.CarrierInformationWithValue>(6, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformationWithValue.create)
|
|
..pc<$2.Slot>(7, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
|
..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
|
..aOS(9, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID')
|
|
..aOS(10, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName')
|
|
..aOS(11, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
|
..aOS(12, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
|
..aOB(13, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck')
|
|
..aOS(14, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
BookAppointmentNoReferenceRequest clone() => BookAppointmentNoReferenceRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
BookAppointmentNoReferenceRequest copyWith(void Function(BookAppointmentNoReferenceRequest) updates) => super.copyWith((message) => updates(message as BookAppointmentNoReferenceRequest)) as BookAppointmentNoReferenceRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static BookAppointmentNoReferenceRequest create() => BookAppointmentNoReferenceRequest._();
|
|
@$core.override
|
|
BookAppointmentNoReferenceRequest createEmptyInstance() => create();
|
|
static $pb.PbList<BookAppointmentNoReferenceRequest> createRepeated() => $pb.PbList<BookAppointmentNoReferenceRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static BookAppointmentNoReferenceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BookAppointmentNoReferenceRequest>(create);
|
|
static BookAppointmentNoReferenceRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
/// Type of appointment : Expedition / Reception / Both
|
|
@$pb.TagNumber(2)
|
|
$2.AppointmentType get appointmentType => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set appointmentType($2.AppointmentType value) => $_setField(2, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasAppointmentType() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearAppointmentType() => $_clearField(2);
|
|
|
|
/// Project for which the appointment is made, with the quantities
|
|
@$pb.TagNumber(3)
|
|
$core.String get projectID => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set projectID($core.String value) => $_setString(2, value);
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasProjectID() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearProjectID() => $_clearField(3);
|
|
|
|
/// quantities
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<$2.QuantityByUnit> get quantities => $_getList(3);
|
|
|
|
/// Set of segmentation constraining the slot booking
|
|
@$pb.TagNumber(5)
|
|
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(4);
|
|
|
|
/// Required carrierInformation, some can be obligatory
|
|
@$pb.TagNumber(6)
|
|
$pb.PbList<$2.CarrierInformationWithValue> get carrierInformation => $_getList(5);
|
|
|
|
/// The slot to book for the appointment
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<$2.Slot> get slots => $_getList(6);
|
|
|
|
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
|
|
/// User mails being notified on this appointment
|
|
@$pb.TagNumber(8)
|
|
$pb.PbList<$core.String> get emails => $_getList(7);
|
|
|
|
/// The carrier identifier who requests to book the appointment
|
|
@$pb.TagNumber(9)
|
|
$core.String get carrierID => $_getSZ(8);
|
|
@$pb.TagNumber(9)
|
|
set carrierID($core.String value) => $_setString(8, value);
|
|
@$pb.TagNumber(9)
|
|
$core.bool hasCarrierID() => $_has(8);
|
|
@$pb.TagNumber(9)
|
|
void clearCarrierID() => $_clearField(9);
|
|
|
|
/// The carrier name who requests to book the appointment
|
|
@$pb.TagNumber(10)
|
|
$core.String get carrierName => $_getSZ(9);
|
|
@$pb.TagNumber(10)
|
|
set carrierName($core.String value) => $_setString(9, value);
|
|
@$pb.TagNumber(10)
|
|
$core.bool hasCarrierName() => $_has(9);
|
|
@$pb.TagNumber(10)
|
|
void clearCarrierName() => $_clearField(10);
|
|
|
|
/// The appointment ID, usually generated using siteCounterServices
|
|
@$pb.TagNumber(11)
|
|
$core.String get appointmentID => $_getSZ(10);
|
|
@$pb.TagNumber(11)
|
|
set appointmentID($core.String value) => $_setString(10, value);
|
|
@$pb.TagNumber(11)
|
|
$core.bool hasAppointmentID() => $_has(10);
|
|
@$pb.TagNumber(11)
|
|
void clearAppointmentID() => $_clearField(11);
|
|
|
|
/// The Reason for which the appointment has no commissions
|
|
@$pb.TagNumber(12)
|
|
$core.String get reason => $_getSZ(11);
|
|
@$pb.TagNumber(12)
|
|
set reason($core.String value) => $_setString(11, value);
|
|
@$pb.TagNumber(12)
|
|
$core.bool hasReason() => $_has(11);
|
|
@$pb.TagNumber(12)
|
|
void clearReason() => $_clearField(12);
|
|
|
|
/// Acknowledgment of the site instructions
|
|
@$pb.TagNumber(13)
|
|
$core.bool get instructionAck => $_getBF(12);
|
|
@$pb.TagNumber(13)
|
|
set instructionAck($core.bool value) => $_setBool(12, value);
|
|
@$pb.TagNumber(13)
|
|
$core.bool hasInstructionAck() => $_has(12);
|
|
@$pb.TagNumber(13)
|
|
void clearInstructionAck() => $_clearField(13);
|
|
|
|
@$pb.TagNumber(14)
|
|
$core.String get actorID => $_getSZ(13);
|
|
@$pb.TagNumber(14)
|
|
set actorID($core.String value) => $_setString(13, value);
|
|
@$pb.TagNumber(14)
|
|
$core.bool hasActorID() => $_has(13);
|
|
@$pb.TagNumber(14)
|
|
void clearActorID() => $_clearField(14);
|
|
}
|
|
|
|
/// ForceBookAppointment
|
|
class ForceBookAppointmentRequest extends $pb.GeneratedMessage {
|
|
factory ForceBookAppointmentRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$2.AppointmentType? appointmentType,
|
|
$core.Iterable<$2.Commission>? commissions,
|
|
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
|
|
$core.Iterable<$2.CarrierInformationWithValue>? carrierInformation,
|
|
$core.Iterable<$2.Slot>? slots,
|
|
$core.Iterable<$core.String>? emails,
|
|
$core.String? carrierID,
|
|
$core.String? carrierName,
|
|
$core.String? timeZone,
|
|
$core.String? appointmentID,
|
|
$core.bool? instructionAck,
|
|
$core.String? projectID,
|
|
$core.String? reason,
|
|
$core.Iterable<$2.QuantityByUnit>? quantities,
|
|
$core.String? actorID,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (appointmentType != null) result.appointmentType = appointmentType;
|
|
if (commissions != null) result.commissions.addAll(commissions);
|
|
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
|
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
|
if (slots != null) result.slots.addAll(slots);
|
|
if (emails != null) result.emails.addAll(emails);
|
|
if (carrierID != null) result.carrierID = carrierID;
|
|
if (carrierName != null) result.carrierName = carrierName;
|
|
if (timeZone != null) result.timeZone = timeZone;
|
|
if (appointmentID != null) result.appointmentID = appointmentID;
|
|
if (instructionAck != null) result.instructionAck = instructionAck;
|
|
if (projectID != null) result.projectID = projectID;
|
|
if (reason != null) result.reason = reason;
|
|
if (quantities != null) result.quantities.addAll(quantities);
|
|
if (actorID != null) result.actorID = actorID;
|
|
return result;
|
|
}
|
|
|
|
ForceBookAppointmentRequest._();
|
|
|
|
factory ForceBookAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory ForceBookAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ForceBookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..e<$2.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
|
|
..pc<$2.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
|
|
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
|
|
..pc<$2.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.CarrierInformationWithValue.create)
|
|
..pc<$2.Slot>(6, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
|
..pPS(8, _omitFieldNames ? '' : 'Emails', protoName: 'Emails')
|
|
..aOS(9, _omitFieldNames ? '' : 'CarrierID', protoName: 'CarrierID')
|
|
..aOS(10, _omitFieldNames ? '' : 'CarrierName', protoName: 'CarrierName')
|
|
..aOS(11, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
|
|
..aOS(12, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
|
..aOB(13, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck')
|
|
..aOS(14, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
|
..aOS(15, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
|
..pc<$2.QuantityByUnit>(16, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create)
|
|
..aOS(17, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ForceBookAppointmentRequest clone() => ForceBookAppointmentRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ForceBookAppointmentRequest copyWith(void Function(ForceBookAppointmentRequest) updates) => super.copyWith((message) => updates(message as ForceBookAppointmentRequest)) as ForceBookAppointmentRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ForceBookAppointmentRequest create() => ForceBookAppointmentRequest._();
|
|
@$core.override
|
|
ForceBookAppointmentRequest createEmptyInstance() => create();
|
|
static $pb.PbList<ForceBookAppointmentRequest> createRepeated() => $pb.PbList<ForceBookAppointmentRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ForceBookAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ForceBookAppointmentRequest>(create);
|
|
static ForceBookAppointmentRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
/// Type of appointment : Expedition / Reception / Both
|
|
@$pb.TagNumber(2)
|
|
$2.AppointmentType get appointmentType => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set appointmentType($2.AppointmentType value) => $_setField(2, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasAppointmentType() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearAppointmentType() => $_clearField(2);
|
|
|
|
/// List of the orders and projects for which the appointment is made, with the quantities
|
|
@$pb.TagNumber(3)
|
|
$pb.PbList<$2.Commission> get commissions => $_getList(2);
|
|
|
|
/// Set of segmentation constraining the slot booking
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(3);
|
|
|
|
/// Required carrierInformation, some can be obligatory
|
|
@$pb.TagNumber(5)
|
|
$pb.PbList<$2.CarrierInformationWithValue> get carrierInformation => $_getList(4);
|
|
|
|
/// The slot to book for the appointment
|
|
@$pb.TagNumber(6)
|
|
$pb.PbList<$2.Slot> get slots => $_getList(5);
|
|
|
|
/// TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
|
|
/// User mails being notified on this appointment
|
|
@$pb.TagNumber(8)
|
|
$pb.PbList<$core.String> get emails => $_getList(6);
|
|
|
|
/// The carrier identifier who requests to book the appointment
|
|
@$pb.TagNumber(9)
|
|
$core.String get carrierID => $_getSZ(7);
|
|
@$pb.TagNumber(9)
|
|
set carrierID($core.String value) => $_setString(7, value);
|
|
@$pb.TagNumber(9)
|
|
$core.bool hasCarrierID() => $_has(7);
|
|
@$pb.TagNumber(9)
|
|
void clearCarrierID() => $_clearField(9);
|
|
|
|
/// The carrier name who requests to book the appointment
|
|
@$pb.TagNumber(10)
|
|
$core.String get carrierName => $_getSZ(8);
|
|
@$pb.TagNumber(10)
|
|
set carrierName($core.String value) => $_setString(8, value);
|
|
@$pb.TagNumber(10)
|
|
$core.bool hasCarrierName() => $_has(8);
|
|
@$pb.TagNumber(10)
|
|
void clearCarrierName() => $_clearField(10);
|
|
|
|
/// time zone, useful only if a WMS send a message
|
|
@$pb.TagNumber(11)
|
|
$core.String get timeZone => $_getSZ(9);
|
|
@$pb.TagNumber(11)
|
|
set timeZone($core.String value) => $_setString(9, value);
|
|
@$pb.TagNumber(11)
|
|
$core.bool hasTimeZone() => $_has(9);
|
|
@$pb.TagNumber(11)
|
|
void clearTimeZone() => $_clearField(11);
|
|
|
|
/// The appointment ID, usually generated using siteCounterServices
|
|
@$pb.TagNumber(12)
|
|
$core.String get appointmentID => $_getSZ(10);
|
|
@$pb.TagNumber(12)
|
|
set appointmentID($core.String value) => $_setString(10, value);
|
|
@$pb.TagNumber(12)
|
|
$core.bool hasAppointmentID() => $_has(10);
|
|
@$pb.TagNumber(12)
|
|
void clearAppointmentID() => $_clearField(12);
|
|
|
|
/// Acknowledgment of the site instructions
|
|
@$pb.TagNumber(13)
|
|
$core.bool get instructionAck => $_getBF(11);
|
|
@$pb.TagNumber(13)
|
|
set instructionAck($core.bool value) => $_setBool(11, value);
|
|
@$pb.TagNumber(13)
|
|
$core.bool hasInstructionAck() => $_has(11);
|
|
@$pb.TagNumber(13)
|
|
void clearInstructionAck() => $_clearField(13);
|
|
|
|
/// In case of no reference, Project for which the appointment is made, with the quantities
|
|
@$pb.TagNumber(14)
|
|
$core.String get projectID => $_getSZ(12);
|
|
@$pb.TagNumber(14)
|
|
set projectID($core.String value) => $_setString(12, value);
|
|
@$pb.TagNumber(14)
|
|
$core.bool hasProjectID() => $_has(12);
|
|
@$pb.TagNumber(14)
|
|
void clearProjectID() => $_clearField(14);
|
|
|
|
/// In case of no reference, The Reason for which the appointment has no reference
|
|
@$pb.TagNumber(15)
|
|
$core.String get reason => $_getSZ(13);
|
|
@$pb.TagNumber(15)
|
|
set reason($core.String value) => $_setString(13, value);
|
|
@$pb.TagNumber(15)
|
|
$core.bool hasReason() => $_has(13);
|
|
@$pb.TagNumber(15)
|
|
void clearReason() => $_clearField(15);
|
|
|
|
/// In case of no reference, quantities loaded or to load in the truck
|
|
@$pb.TagNumber(16)
|
|
$pb.PbList<$2.QuantityByUnit> get quantities => $_getList(14);
|
|
|
|
@$pb.TagNumber(17)
|
|
$core.String get actorID => $_getSZ(15);
|
|
@$pb.TagNumber(17)
|
|
set actorID($core.String value) => $_setString(15, value);
|
|
@$pb.TagNumber(17)
|
|
$core.bool hasActorID() => $_has(15);
|
|
@$pb.TagNumber(17)
|
|
void clearActorID() => $_clearField(17);
|
|
}
|
|
|
|
class BookAppointmentResponse extends $pb.GeneratedMessage {
|
|
factory BookAppointmentResponse({
|
|
$core.String? appointmentID,
|
|
}) {
|
|
final result = create();
|
|
if (appointmentID != null) result.appointmentID = appointmentID;
|
|
return result;
|
|
}
|
|
|
|
BookAppointmentResponse._();
|
|
|
|
factory BookAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory BookAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
BookAppointmentResponse clone() => BookAppointmentResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
BookAppointmentResponse copyWith(void Function(BookAppointmentResponse) updates) => super.copyWith((message) => updates(message as BookAppointmentResponse)) as BookAppointmentResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static BookAppointmentResponse create() => BookAppointmentResponse._();
|
|
@$core.override
|
|
BookAppointmentResponse createEmptyInstance() => create();
|
|
static $pb.PbList<BookAppointmentResponse> createRepeated() => $pb.PbList<BookAppointmentResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static BookAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BookAppointmentResponse>(create);
|
|
static BookAppointmentResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get appointmentID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set appointmentID($core.String value) => $_setString(0, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasAppointmentID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearAppointmentID() => $_clearField(1);
|
|
}
|
|
|
|
/// CancelAppointment
|
|
class CancelAppointmentRequest extends $pb.GeneratedMessage {
|
|
factory CancelAppointmentRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$core.String? appointmentID,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (appointmentID != null) result.appointmentID = appointmentID;
|
|
return result;
|
|
}
|
|
|
|
CancelAppointmentRequest._();
|
|
|
|
factory CancelAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory CancelAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CancelAppointmentRequest clone() => CancelAppointmentRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CancelAppointmentRequest copyWith(void Function(CancelAppointmentRequest) updates) => super.copyWith((message) => updates(message as CancelAppointmentRequest)) as CancelAppointmentRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CancelAppointmentRequest create() => CancelAppointmentRequest._();
|
|
@$core.override
|
|
CancelAppointmentRequest createEmptyInstance() => create();
|
|
static $pb.PbList<CancelAppointmentRequest> createRepeated() => $pb.PbList<CancelAppointmentRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CancelAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CancelAppointmentRequest>(create);
|
|
static CancelAppointmentRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get appointmentID => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set appointmentID($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasAppointmentID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearAppointmentID() => $_clearField(2);
|
|
}
|
|
|
|
class CancelAppointmentResponse extends $pb.GeneratedMessage {
|
|
factory CancelAppointmentResponse({
|
|
$core.String? appointmentID,
|
|
}) {
|
|
final result = create();
|
|
if (appointmentID != null) result.appointmentID = appointmentID;
|
|
return result;
|
|
}
|
|
|
|
CancelAppointmentResponse._();
|
|
|
|
factory CancelAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory CancelAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CancelAppointmentResponse clone() => CancelAppointmentResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CancelAppointmentResponse copyWith(void Function(CancelAppointmentResponse) updates) => super.copyWith((message) => updates(message as CancelAppointmentResponse)) as CancelAppointmentResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CancelAppointmentResponse create() => CancelAppointmentResponse._();
|
|
@$core.override
|
|
CancelAppointmentResponse createEmptyInstance() => create();
|
|
static $pb.PbList<CancelAppointmentResponse> createRepeated() => $pb.PbList<CancelAppointmentResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CancelAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CancelAppointmentResponse>(create);
|
|
static CancelAppointmentResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get appointmentID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set appointmentID($core.String value) => $_setString(0, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasAppointmentID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearAppointmentID() => $_clearField(1);
|
|
}
|
|
|
|
class UpdateAppointmentRequest extends $pb.GeneratedMessage {
|
|
factory UpdateAppointmentRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$core.String? appointmentID,
|
|
$core.Iterable<$2.Slot>? slots,
|
|
$core.Iterable<$2.Commission>? commissions,
|
|
$core.String? actorID,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (appointmentID != null) result.appointmentID = appointmentID;
|
|
if (slots != null) result.slots.addAll(slots);
|
|
if (commissions != null) result.commissions.addAll(commissions);
|
|
if (actorID != null) result.actorID = actorID;
|
|
return result;
|
|
}
|
|
|
|
UpdateAppointmentRequest._();
|
|
|
|
factory UpdateAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory UpdateAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
|
..pc<$2.Slot>(3, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
|
..pc<$2.Commission>(4, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
|
|
..aOS(5, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateAppointmentRequest clone() => UpdateAppointmentRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateAppointmentRequest copyWith(void Function(UpdateAppointmentRequest) updates) => super.copyWith((message) => updates(message as UpdateAppointmentRequest)) as UpdateAppointmentRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateAppointmentRequest create() => UpdateAppointmentRequest._();
|
|
@$core.override
|
|
UpdateAppointmentRequest createEmptyInstance() => create();
|
|
static $pb.PbList<UpdateAppointmentRequest> createRepeated() => $pb.PbList<UpdateAppointmentRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateAppointmentRequest>(create);
|
|
static UpdateAppointmentRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get appointmentID => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set appointmentID($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasAppointmentID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearAppointmentID() => $_clearField(2);
|
|
|
|
/// The slots to book for the appointment
|
|
@$pb.TagNumber(3)
|
|
$pb.PbList<$2.Slot> get slots => $_getList(2);
|
|
|
|
/// The modified Commissions for the appointment
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<$2.Commission> get commissions => $_getList(3);
|
|
|
|
@$pb.TagNumber(5)
|
|
$core.String get actorID => $_getSZ(4);
|
|
@$pb.TagNumber(5)
|
|
set actorID($core.String value) => $_setString(4, value);
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasActorID() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearActorID() => $_clearField(5);
|
|
}
|
|
|
|
class UpdateAppointmentNoReferenceRequest extends $pb.GeneratedMessage {
|
|
factory UpdateAppointmentNoReferenceRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$core.String? appointmentID,
|
|
$core.Iterable<$2.Slot>? slots,
|
|
$core.String? projectID,
|
|
$core.Iterable<$2.QuantityByUnit>? quantities,
|
|
$core.String? reason,
|
|
$core.String? actorID,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (appointmentID != null) result.appointmentID = appointmentID;
|
|
if (slots != null) result.slots.addAll(slots);
|
|
if (projectID != null) result.projectID = projectID;
|
|
if (quantities != null) result.quantities.addAll(quantities);
|
|
if (reason != null) result.reason = reason;
|
|
if (actorID != null) result.actorID = actorID;
|
|
return result;
|
|
}
|
|
|
|
UpdateAppointmentNoReferenceRequest._();
|
|
|
|
factory UpdateAppointmentNoReferenceRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory UpdateAppointmentNoReferenceRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateAppointmentNoReferenceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
|
..pc<$2.Slot>(3, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
|
..aOS(4, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
|
..pc<$2.QuantityByUnit>(5, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create)
|
|
..aOS(6, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
|
..aOS(7, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateAppointmentNoReferenceRequest clone() => UpdateAppointmentNoReferenceRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateAppointmentNoReferenceRequest copyWith(void Function(UpdateAppointmentNoReferenceRequest) updates) => super.copyWith((message) => updates(message as UpdateAppointmentNoReferenceRequest)) as UpdateAppointmentNoReferenceRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateAppointmentNoReferenceRequest create() => UpdateAppointmentNoReferenceRequest._();
|
|
@$core.override
|
|
UpdateAppointmentNoReferenceRequest createEmptyInstance() => create();
|
|
static $pb.PbList<UpdateAppointmentNoReferenceRequest> createRepeated() => $pb.PbList<UpdateAppointmentNoReferenceRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateAppointmentNoReferenceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateAppointmentNoReferenceRequest>(create);
|
|
static UpdateAppointmentNoReferenceRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get appointmentID => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set appointmentID($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasAppointmentID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearAppointmentID() => $_clearField(2);
|
|
|
|
/// The slots to book for the appointment
|
|
@$pb.TagNumber(3)
|
|
$pb.PbList<$2.Slot> get slots => $_getList(2);
|
|
|
|
/// Project for which the appointment is made, with the quantities
|
|
@$pb.TagNumber(4)
|
|
$core.String get projectID => $_getSZ(3);
|
|
@$pb.TagNumber(4)
|
|
set projectID($core.String value) => $_setString(3, value);
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasProjectID() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearProjectID() => $_clearField(4);
|
|
|
|
/// In case of no reference, quantities
|
|
@$pb.TagNumber(5)
|
|
$pb.PbList<$2.QuantityByUnit> get quantities => $_getList(4);
|
|
|
|
/// In case of no reference, The Reason for which the appointment has no commissions
|
|
@$pb.TagNumber(6)
|
|
$core.String get reason => $_getSZ(5);
|
|
@$pb.TagNumber(6)
|
|
set reason($core.String value) => $_setString(5, value);
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasReason() => $_has(5);
|
|
@$pb.TagNumber(6)
|
|
void clearReason() => $_clearField(6);
|
|
|
|
@$pb.TagNumber(7)
|
|
$core.String get actorID => $_getSZ(6);
|
|
@$pb.TagNumber(7)
|
|
set actorID($core.String value) => $_setString(6, value);
|
|
@$pb.TagNumber(7)
|
|
$core.bool hasActorID() => $_has(6);
|
|
@$pb.TagNumber(7)
|
|
void clearActorID() => $_clearField(7);
|
|
}
|
|
|
|
class ForceUpdateAppointmentRequest extends $pb.GeneratedMessage {
|
|
factory ForceUpdateAppointmentRequest({
|
|
$3.RequestProjectHeader? header,
|
|
$core.String? appointmentID,
|
|
$core.Iterable<$2.Slot>? slots,
|
|
$core.Iterable<$2.Commission>? commissions,
|
|
$core.String? timeZone,
|
|
$core.String? projectID,
|
|
$core.Iterable<$2.QuantityByUnit>? quantities,
|
|
$core.String? reason,
|
|
$core.String? actorID,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (appointmentID != null) result.appointmentID = appointmentID;
|
|
if (slots != null) result.slots.addAll(slots);
|
|
if (commissions != null) result.commissions.addAll(commissions);
|
|
if (timeZone != null) result.timeZone = timeZone;
|
|
if (projectID != null) result.projectID = projectID;
|
|
if (quantities != null) result.quantities.addAll(quantities);
|
|
if (reason != null) result.reason = reason;
|
|
if (actorID != null) result.actorID = actorID;
|
|
return result;
|
|
}
|
|
|
|
ForceUpdateAppointmentRequest._();
|
|
|
|
factory ForceUpdateAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory ForceUpdateAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ForceUpdateAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
|
..pc<$2.Slot>(3, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $2.Slot.create)
|
|
..pc<$2.Commission>(4, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
|
|
..aOS(5, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
|
|
..aOS(6, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
|
..pc<$2.QuantityByUnit>(7, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $2.QuantityByUnit.create)
|
|
..aOS(8, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
|
..aOS(9, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ForceUpdateAppointmentRequest clone() => ForceUpdateAppointmentRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ForceUpdateAppointmentRequest copyWith(void Function(ForceUpdateAppointmentRequest) updates) => super.copyWith((message) => updates(message as ForceUpdateAppointmentRequest)) as ForceUpdateAppointmentRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ForceUpdateAppointmentRequest create() => ForceUpdateAppointmentRequest._();
|
|
@$core.override
|
|
ForceUpdateAppointmentRequest createEmptyInstance() => create();
|
|
static $pb.PbList<ForceUpdateAppointmentRequest> createRepeated() => $pb.PbList<ForceUpdateAppointmentRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ForceUpdateAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ForceUpdateAppointmentRequest>(create);
|
|
static ForceUpdateAppointmentRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get appointmentID => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set appointmentID($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasAppointmentID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearAppointmentID() => $_clearField(2);
|
|
|
|
/// The slots to book for the appointment
|
|
@$pb.TagNumber(3)
|
|
$pb.PbList<$2.Slot> get slots => $_getList(2);
|
|
|
|
/// The modified Commissions for the appointment
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<$2.Commission> get commissions => $_getList(3);
|
|
|
|
/// time zone, useful only if a WMS use this API
|
|
@$pb.TagNumber(5)
|
|
$core.String get timeZone => $_getSZ(4);
|
|
@$pb.TagNumber(5)
|
|
set timeZone($core.String value) => $_setString(4, value);
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasTimeZone() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearTimeZone() => $_clearField(5);
|
|
|
|
/// Project for which the appointment is made, with the quantities
|
|
@$pb.TagNumber(6)
|
|
$core.String get projectID => $_getSZ(5);
|
|
@$pb.TagNumber(6)
|
|
set projectID($core.String value) => $_setString(5, value);
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasProjectID() => $_has(5);
|
|
@$pb.TagNumber(6)
|
|
void clearProjectID() => $_clearField(6);
|
|
|
|
/// In case of no reference, quantities
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<$2.QuantityByUnit> get quantities => $_getList(6);
|
|
|
|
/// In case of no reference, The Reason for which the appointment has no commissions
|
|
@$pb.TagNumber(8)
|
|
$core.String get reason => $_getSZ(7);
|
|
@$pb.TagNumber(8)
|
|
set reason($core.String value) => $_setString(7, value);
|
|
@$pb.TagNumber(8)
|
|
$core.bool hasReason() => $_has(7);
|
|
@$pb.TagNumber(8)
|
|
void clearReason() => $_clearField(8);
|
|
|
|
@$pb.TagNumber(9)
|
|
$core.String get actorID => $_getSZ(8);
|
|
@$pb.TagNumber(9)
|
|
set actorID($core.String value) => $_setString(8, value);
|
|
@$pb.TagNumber(9)
|
|
$core.bool hasActorID() => $_has(8);
|
|
@$pb.TagNumber(9)
|
|
void clearActorID() => $_clearField(9);
|
|
}
|
|
|
|
/// ListUserSites
|
|
class ListUserSitesRequest extends $pb.GeneratedMessage {
|
|
factory ListUserSitesRequest({
|
|
$core.Iterable<$core.String>? projectID,
|
|
}) {
|
|
final result = create();
|
|
if (projectID != null) result.projectID.addAll(projectID);
|
|
return result;
|
|
}
|
|
|
|
ListUserSitesRequest._();
|
|
|
|
factory ListUserSitesRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory ListUserSitesRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserSitesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..pPS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListUserSitesRequest clone() => ListUserSitesRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListUserSitesRequest copyWith(void Function(ListUserSitesRequest) updates) => super.copyWith((message) => updates(message as ListUserSitesRequest)) as ListUserSitesRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListUserSitesRequest create() => ListUserSitesRequest._();
|
|
@$core.override
|
|
ListUserSitesRequest createEmptyInstance() => create();
|
|
static $pb.PbList<ListUserSitesRequest> createRepeated() => $pb.PbList<ListUserSitesRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListUserSitesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListUserSitesRequest>(create);
|
|
static ListUserSitesRequest? _defaultInstance;
|
|
|
|
/// TODO optional filter
|
|
@$pb.TagNumber(1)
|
|
$pb.PbList<$core.String> get projectID => $_getList(0);
|
|
}
|
|
|
|
class ListUserSitesResponse extends $pb.GeneratedMessage {
|
|
factory ListUserSitesResponse({
|
|
$core.Iterable<Site>? sites,
|
|
}) {
|
|
final result = create();
|
|
if (sites != null) result.sites.addAll(sites);
|
|
return result;
|
|
}
|
|
|
|
ListUserSitesResponse._();
|
|
|
|
factory ListUserSitesResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory ListUserSitesResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserSitesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..pc<Site>(1, _omitFieldNames ? '' : 'Sites', $pb.PbFieldType.PM, protoName: 'Sites', subBuilder: Site.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListUserSitesResponse clone() => ListUserSitesResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListUserSitesResponse copyWith(void Function(ListUserSitesResponse) updates) => super.copyWith((message) => updates(message as ListUserSitesResponse)) as ListUserSitesResponse;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListUserSitesResponse create() => ListUserSitesResponse._();
|
|
@$core.override
|
|
ListUserSitesResponse createEmptyInstance() => create();
|
|
static $pb.PbList<ListUserSitesResponse> createRepeated() => $pb.PbList<ListUserSitesResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListUserSitesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListUserSitesResponse>(create);
|
|
static ListUserSitesResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$pb.PbList<Site> get sites => $_getList(0);
|
|
}
|
|
|
|
class DeleteSettingsRequest extends $pb.GeneratedMessage {
|
|
factory DeleteSettingsRequest({
|
|
$core.String? siteID,
|
|
}) {
|
|
final result = create();
|
|
if (siteID != null) result.siteID = siteID;
|
|
return result;
|
|
}
|
|
|
|
DeleteSettingsRequest._();
|
|
|
|
factory DeleteSettingsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory DeleteSettingsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSettingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteSettingsRequest clone() => DeleteSettingsRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteSettingsRequest copyWith(void Function(DeleteSettingsRequest) updates) => super.copyWith((message) => updates(message as DeleteSettingsRequest)) as DeleteSettingsRequest;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteSettingsRequest create() => DeleteSettingsRequest._();
|
|
@$core.override
|
|
DeleteSettingsRequest createEmptyInstance() => create();
|
|
static $pb.PbList<DeleteSettingsRequest> createRepeated() => $pb.PbList<DeleteSettingsRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteSettingsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteSettingsRequest>(create);
|
|
static DeleteSettingsRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get siteID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set siteID($core.String value) => $_setString(0, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasSiteID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearSiteID() => $_clearField(1);
|
|
}
|
|
|
|
class DeleteSettingsResult extends $pb.GeneratedMessage {
|
|
factory DeleteSettingsResult() => create();
|
|
|
|
DeleteSettingsResult._();
|
|
|
|
factory DeleteSettingsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory DeleteSettingsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteSettingsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteSettingsResult clone() => DeleteSettingsResult()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteSettingsResult copyWith(void Function(DeleteSettingsResult) updates) => super.copyWith((message) => updates(message as DeleteSettingsResult)) as DeleteSettingsResult;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteSettingsResult create() => DeleteSettingsResult._();
|
|
@$core.override
|
|
DeleteSettingsResult createEmptyInstance() => create();
|
|
static $pb.PbList<DeleteSettingsResult> createRepeated() => $pb.PbList<DeleteSettingsResult>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteSettingsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteSettingsResult>(create);
|
|
static DeleteSettingsResult? _defaultInstance;
|
|
}
|
|
|
|
|
|
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|