You've already forked dart-core-sdk
1967 lines
91 KiB
Dart
1967 lines
91 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: calendar.proto
|
|
//
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
import 'shared.pb.dart' as $3;
|
|
import 'shared.pbenum.dart' as $3;
|
|
|
|
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
|
|
|
class WorkTimeDay extends $pb.GeneratedMessage {
|
|
factory WorkTimeDay({
|
|
$3.WeekDay? weekDay,
|
|
$core.bool? isWorkingDay,
|
|
$core.Iterable<$3.TimeRange>? timeRanges,
|
|
}) {
|
|
final $result = create();
|
|
if (weekDay != null) {
|
|
$result.weekDay = weekDay;
|
|
}
|
|
if (isWorkingDay != null) {
|
|
$result.isWorkingDay = isWorkingDay;
|
|
}
|
|
if (timeRanges != null) {
|
|
$result.timeRanges.addAll(timeRanges);
|
|
}
|
|
return $result;
|
|
}
|
|
WorkTimeDay._() : super();
|
|
factory WorkTimeDay.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory WorkTimeDay.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WorkTimeDay', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..e<$3.WeekDay>(1, _omitFieldNames ? '' : 'WeekDay', $pb.PbFieldType.OE, protoName: 'WeekDay', defaultOrMaker: $3.WeekDay.WEEKDAY_UNDEFINED, valueOf: $3.WeekDay.valueOf, enumValues: $3.WeekDay.values)
|
|
..aOB(2, _omitFieldNames ? '' : 'IsWorkingDay', protoName: 'IsWorkingDay')
|
|
..pc<$3.TimeRange>(3, _omitFieldNames ? '' : 'TimeRanges', $pb.PbFieldType.PM, protoName: 'TimeRanges', subBuilder: $3.TimeRange.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
WorkTimeDay clone() => WorkTimeDay()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
WorkTimeDay copyWith(void Function(WorkTimeDay) updates) => super.copyWith((message) => updates(message as WorkTimeDay)) as WorkTimeDay;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static WorkTimeDay create() => WorkTimeDay._();
|
|
WorkTimeDay createEmptyInstance() => create();
|
|
static $pb.PbList<WorkTimeDay> createRepeated() => $pb.PbList<WorkTimeDay>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static WorkTimeDay getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<WorkTimeDay>(create);
|
|
static WorkTimeDay? _defaultInstance;
|
|
|
|
/// Day of the week
|
|
@$pb.TagNumber(1)
|
|
$3.WeekDay get weekDay => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set weekDay($3.WeekDay v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasWeekDay() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearWeekDay() => $_clearField(1);
|
|
|
|
/// Is a workingDay
|
|
@$pb.TagNumber(2)
|
|
$core.bool get isWorkingDay => $_getBF(1);
|
|
@$pb.TagNumber(2)
|
|
set isWorkingDay($core.bool v) { $_setBool(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasIsWorkingDay() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearIsWorkingDay() => $_clearField(2);
|
|
|
|
/// Opening hours definition according to filters
|
|
@$pb.TagNumber(3)
|
|
$pb.PbList<$3.TimeRange> get timeRanges => $_getList(2);
|
|
}
|
|
|
|
class ExceptionalClosure extends $pb.GeneratedMessage {
|
|
factory ExceptionalClosure({
|
|
$core.Iterable<$3.LabelByLanguage>? labels,
|
|
$core.String? startDate,
|
|
$core.String? endDate,
|
|
$core.bool? fullDay,
|
|
$core.String? startHour,
|
|
$core.String? endHour,
|
|
}) {
|
|
final $result = create();
|
|
if (labels != null) {
|
|
$result.labels.addAll(labels);
|
|
}
|
|
if (startDate != null) {
|
|
$result.startDate = startDate;
|
|
}
|
|
if (endDate != null) {
|
|
$result.endDate = endDate;
|
|
}
|
|
if (fullDay != null) {
|
|
$result.fullDay = fullDay;
|
|
}
|
|
if (startHour != null) {
|
|
$result.startHour = startHour;
|
|
}
|
|
if (endHour != null) {
|
|
$result.endHour = endHour;
|
|
}
|
|
return $result;
|
|
}
|
|
ExceptionalClosure._() : super();
|
|
factory ExceptionalClosure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ExceptionalClosure.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExceptionalClosure', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..pc<$3.LabelByLanguage>(1, _omitFieldNames ? '' : 'Labels', $pb.PbFieldType.PM, protoName: 'Labels', subBuilder: $3.LabelByLanguage.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate')
|
|
..aOS(3, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate')
|
|
..aOB(4, _omitFieldNames ? '' : 'FullDay', protoName: 'FullDay')
|
|
..aOS(5, _omitFieldNames ? '' : 'StartHour', protoName: 'StartHour')
|
|
..aOS(6, _omitFieldNames ? '' : 'EndHour', protoName: 'EndHour')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ExceptionalClosure clone() => ExceptionalClosure()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ExceptionalClosure copyWith(void Function(ExceptionalClosure) updates) => super.copyWith((message) => updates(message as ExceptionalClosure)) as ExceptionalClosure;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ExceptionalClosure create() => ExceptionalClosure._();
|
|
ExceptionalClosure createEmptyInstance() => create();
|
|
static $pb.PbList<ExceptionalClosure> createRepeated() => $pb.PbList<ExceptionalClosure>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ExceptionalClosure getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExceptionalClosure>(create);
|
|
static ExceptionalClosure? _defaultInstance;
|
|
|
|
/// Name of the holiday
|
|
@$pb.TagNumber(1)
|
|
$pb.PbList<$3.LabelByLanguage> get labels => $_getList(0);
|
|
|
|
/// Start of the ExceptionalClosure, format yyyy-mm-dd //TODO are we sure about the format
|
|
@$pb.TagNumber(2)
|
|
$core.String get startDate => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set startDate($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasStartDate() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearStartDate() => $_clearField(2);
|
|
|
|
/// End of the ExceptionalClosure, format yyyy-mm-dd //TODO are we sure about the format
|
|
@$pb.TagNumber(3)
|
|
$core.String get endDate => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set endDate($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasEndDate() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearEndDate() => $_clearField(3);
|
|
|
|
/// Set to true if the ExceptionalClosure is a complete closure for the impacted days
|
|
@$pb.TagNumber(4)
|
|
$core.bool get fullDay => $_getBF(3);
|
|
@$pb.TagNumber(4)
|
|
set fullDay($core.bool v) { $_setBool(3, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasFullDay() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearFullDay() => $_clearField(4);
|
|
|
|
/// Start of the ExceptionalClosure hour if FullDay is set to false, format hh:mm
|
|
@$pb.TagNumber(5)
|
|
$core.String get startHour => $_getSZ(4);
|
|
@$pb.TagNumber(5)
|
|
set startHour($core.String v) { $_setString(4, v); }
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasStartHour() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearStartHour() => $_clearField(5);
|
|
|
|
/// End of the ExceptionalClosure hour if FullDay is set to false, format hh:mm
|
|
@$pb.TagNumber(6)
|
|
$core.String get endHour => $_getSZ(5);
|
|
@$pb.TagNumber(6)
|
|
set endHour($core.String v) { $_setString(5, v); }
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasEndHour() => $_has(5);
|
|
@$pb.TagNumber(6)
|
|
void clearEndHour() => $_clearField(6);
|
|
}
|
|
|
|
class Calendar extends $pb.GeneratedMessage {
|
|
factory Calendar({
|
|
$core.String? iD,
|
|
$3.ResourceType? rscType,
|
|
$core.String? resourceID,
|
|
$core.String? name,
|
|
$core.String? description,
|
|
$core.Iterable<ExceptionalClosure>? exceptionalClosures,
|
|
$core.Iterable<WorkTimeDay>? workTimeDays,
|
|
}) {
|
|
final $result = create();
|
|
if (iD != null) {
|
|
$result.iD = iD;
|
|
}
|
|
if (rscType != null) {
|
|
$result.rscType = rscType;
|
|
}
|
|
if (resourceID != null) {
|
|
$result.resourceID = resourceID;
|
|
}
|
|
if (name != null) {
|
|
$result.name = name;
|
|
}
|
|
if (description != null) {
|
|
$result.description = description;
|
|
}
|
|
if (exceptionalClosures != null) {
|
|
$result.exceptionalClosures.addAll(exceptionalClosures);
|
|
}
|
|
if (workTimeDays != null) {
|
|
$result.workTimeDays.addAll(workTimeDays);
|
|
}
|
|
return $result;
|
|
}
|
|
Calendar._() : super();
|
|
factory Calendar.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory Calendar.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Calendar', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
|
..e<$3.ResourceType>(2, _omitFieldNames ? '' : 'RscType', $pb.PbFieldType.OE, protoName: 'RscType', defaultOrMaker: $3.ResourceType.RESOURCE_TYPE_UNKNOWN, valueOf: $3.ResourceType.valueOf, enumValues: $3.ResourceType.values)
|
|
..aOS(3, _omitFieldNames ? '' : 'ResourceID', protoName: 'ResourceID')
|
|
..aOS(4, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOS(5, _omitFieldNames ? '' : 'Description', protoName: 'Description')
|
|
..pc<ExceptionalClosure>(6, _omitFieldNames ? '' : 'ExceptionalClosures', $pb.PbFieldType.PM, protoName: 'ExceptionalClosures', subBuilder: ExceptionalClosure.create)
|
|
..pc<WorkTimeDay>(7, _omitFieldNames ? '' : 'WorkTimeDays', $pb.PbFieldType.PM, protoName: 'WorkTimeDays', subBuilder: WorkTimeDay.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
Calendar clone() => Calendar()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
Calendar copyWith(void Function(Calendar) updates) => super.copyWith((message) => updates(message as Calendar)) as Calendar;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static Calendar create() => Calendar._();
|
|
Calendar createEmptyInstance() => create();
|
|
static $pb.PbList<Calendar> createRepeated() => $pb.PbList<Calendar>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static Calendar getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Calendar>(create);
|
|
static Calendar? _defaultInstance;
|
|
|
|
/// Identifier of the calendar
|
|
@$pb.TagNumber(1)
|
|
$core.String get iD => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set iD($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearID() => $_clearField(1);
|
|
|
|
/// Resource type on which the calendar is referenced
|
|
@$pb.TagNumber(2)
|
|
$3.ResourceType get rscType => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set rscType($3.ResourceType v) { $_setField(2, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasRscType() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearRscType() => $_clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.String get resourceID => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set resourceID($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasResourceID() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearResourceID() => $_clearField(3);
|
|
|
|
/// Name of the calendar
|
|
@$pb.TagNumber(4)
|
|
$core.String get name => $_getSZ(3);
|
|
@$pb.TagNumber(4)
|
|
set name($core.String v) { $_setString(3, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasName() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearName() => $_clearField(4);
|
|
|
|
/// Description of the calendar
|
|
@$pb.TagNumber(5)
|
|
$core.String get description => $_getSZ(4);
|
|
@$pb.TagNumber(5)
|
|
set description($core.String v) { $_setString(4, v); }
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasDescription() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearDescription() => $_clearField(5);
|
|
|
|
/// List of Exceptional closure
|
|
@$pb.TagNumber(6)
|
|
$pb.PbList<ExceptionalClosure> get exceptionalClosures => $_getList(5);
|
|
|
|
/// Definition of the opening hours by week day
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<WorkTimeDay> get workTimeDays => $_getList(6);
|
|
}
|
|
|
|
/// Create a calendar at organisation level
|
|
class CreateCalendarOnOrganisationRequest extends $pb.GeneratedMessage {
|
|
factory CreateCalendarOnOrganisationRequest({
|
|
$3.RequestOrganisationHeader? header,
|
|
$core.String? name,
|
|
$core.String? description,
|
|
$core.Iterable<ExceptionalClosure>? exceptionalClosures,
|
|
$core.Iterable<WorkTimeDay>? workTimeDays,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
if (name != null) {
|
|
$result.name = name;
|
|
}
|
|
if (description != null) {
|
|
$result.description = description;
|
|
}
|
|
if (exceptionalClosures != null) {
|
|
$result.exceptionalClosures.addAll(exceptionalClosures);
|
|
}
|
|
if (workTimeDays != null) {
|
|
$result.workTimeDays.addAll(workTimeDays);
|
|
}
|
|
return $result;
|
|
}
|
|
CreateCalendarOnOrganisationRequest._() : super();
|
|
factory CreateCalendarOnOrganisationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CreateCalendarOnOrganisationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateCalendarOnOrganisationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOS(3, _omitFieldNames ? '' : 'Description', protoName: 'Description')
|
|
..pc<ExceptionalClosure>(4, _omitFieldNames ? '' : 'ExceptionalClosures', $pb.PbFieldType.PM, protoName: 'ExceptionalClosures', subBuilder: ExceptionalClosure.create)
|
|
..pc<WorkTimeDay>(7, _omitFieldNames ? '' : 'WorkTimeDays', $pb.PbFieldType.PM, protoName: 'WorkTimeDays', subBuilder: WorkTimeDay.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateCalendarOnOrganisationRequest clone() => CreateCalendarOnOrganisationRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateCalendarOnOrganisationRequest copyWith(void Function(CreateCalendarOnOrganisationRequest) updates) => super.copyWith((message) => updates(message as CreateCalendarOnOrganisationRequest)) as CreateCalendarOnOrganisationRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateCalendarOnOrganisationRequest create() => CreateCalendarOnOrganisationRequest._();
|
|
CreateCalendarOnOrganisationRequest createEmptyInstance() => create();
|
|
static $pb.PbList<CreateCalendarOnOrganisationRequest> createRepeated() => $pb.PbList<CreateCalendarOnOrganisationRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateCalendarOnOrganisationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateCalendarOnOrganisationRequest>(create);
|
|
static CreateCalendarOnOrganisationRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader ensureHeader() => $_ensure(0);
|
|
|
|
/// Name of the calendar
|
|
@$pb.TagNumber(2)
|
|
$core.String get name => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set name($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasName() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearName() => $_clearField(2);
|
|
|
|
/// Description of the calendar
|
|
@$pb.TagNumber(3)
|
|
$core.String get description => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set description($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasDescription() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearDescription() => $_clearField(3);
|
|
|
|
/// List of Exceptional closure
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<ExceptionalClosure> get exceptionalClosures => $_getList(3);
|
|
|
|
/// Definition of the opening hours by week day
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<WorkTimeDay> get workTimeDays => $_getList(4);
|
|
}
|
|
|
|
class CreateCalendarOnOrganisationResponse extends $pb.GeneratedMessage {
|
|
factory CreateCalendarOnOrganisationResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
CreateCalendarOnOrganisationResponse._() : super();
|
|
factory CreateCalendarOnOrganisationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CreateCalendarOnOrganisationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateCalendarOnOrganisationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateCalendarOnOrganisationResponse clone() => CreateCalendarOnOrganisationResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateCalendarOnOrganisationResponse copyWith(void Function(CreateCalendarOnOrganisationResponse) updates) => super.copyWith((message) => updates(message as CreateCalendarOnOrganisationResponse)) as CreateCalendarOnOrganisationResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateCalendarOnOrganisationResponse create() => CreateCalendarOnOrganisationResponse._();
|
|
CreateCalendarOnOrganisationResponse createEmptyInstance() => create();
|
|
static $pb.PbList<CreateCalendarOnOrganisationResponse> createRepeated() => $pb.PbList<CreateCalendarOnOrganisationResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateCalendarOnOrganisationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateCalendarOnOrganisationResponse>(create);
|
|
static CreateCalendarOnOrganisationResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
/// Get a calendar at organisation level
|
|
class GetCalendarOnOrganisationRequest extends $pb.GeneratedMessage {
|
|
factory GetCalendarOnOrganisationRequest({
|
|
$3.RequestOrganisationHeader? header,
|
|
$core.String? iD,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
if (iD != null) {
|
|
$result.iD = iD;
|
|
}
|
|
return $result;
|
|
}
|
|
GetCalendarOnOrganisationRequest._() : super();
|
|
factory GetCalendarOnOrganisationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory GetCalendarOnOrganisationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCalendarOnOrganisationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetCalendarOnOrganisationRequest clone() => GetCalendarOnOrganisationRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetCalendarOnOrganisationRequest copyWith(void Function(GetCalendarOnOrganisationRequest) updates) => super.copyWith((message) => updates(message as GetCalendarOnOrganisationRequest)) as GetCalendarOnOrganisationRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetCalendarOnOrganisationRequest create() => GetCalendarOnOrganisationRequest._();
|
|
GetCalendarOnOrganisationRequest createEmptyInstance() => create();
|
|
static $pb.PbList<GetCalendarOnOrganisationRequest> createRepeated() => $pb.PbList<GetCalendarOnOrganisationRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetCalendarOnOrganisationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetCalendarOnOrganisationRequest>(create);
|
|
static GetCalendarOnOrganisationRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get iD => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set iD($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearID() => $_clearField(2);
|
|
}
|
|
|
|
class GetCalendarOnOrganisationResponse extends $pb.GeneratedMessage {
|
|
factory GetCalendarOnOrganisationResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
GetCalendarOnOrganisationResponse._() : super();
|
|
factory GetCalendarOnOrganisationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory GetCalendarOnOrganisationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCalendarOnOrganisationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetCalendarOnOrganisationResponse clone() => GetCalendarOnOrganisationResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetCalendarOnOrganisationResponse copyWith(void Function(GetCalendarOnOrganisationResponse) updates) => super.copyWith((message) => updates(message as GetCalendarOnOrganisationResponse)) as GetCalendarOnOrganisationResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetCalendarOnOrganisationResponse create() => GetCalendarOnOrganisationResponse._();
|
|
GetCalendarOnOrganisationResponse createEmptyInstance() => create();
|
|
static $pb.PbList<GetCalendarOnOrganisationResponse> createRepeated() => $pb.PbList<GetCalendarOnOrganisationResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetCalendarOnOrganisationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetCalendarOnOrganisationResponse>(create);
|
|
static GetCalendarOnOrganisationResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
/// List a calendar at organisation level
|
|
class ListCalendarOnOrganisationRequest extends $pb.GeneratedMessage {
|
|
factory ListCalendarOnOrganisationRequest({
|
|
$3.RequestOrganisationHeader? header,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
return $result;
|
|
}
|
|
ListCalendarOnOrganisationRequest._() : super();
|
|
factory ListCalendarOnOrganisationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ListCalendarOnOrganisationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListCalendarOnOrganisationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListCalendarOnOrganisationRequest clone() => ListCalendarOnOrganisationRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListCalendarOnOrganisationRequest copyWith(void Function(ListCalendarOnOrganisationRequest) updates) => super.copyWith((message) => updates(message as ListCalendarOnOrganisationRequest)) as ListCalendarOnOrganisationRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListCalendarOnOrganisationRequest create() => ListCalendarOnOrganisationRequest._();
|
|
ListCalendarOnOrganisationRequest createEmptyInstance() => create();
|
|
static $pb.PbList<ListCalendarOnOrganisationRequest> createRepeated() => $pb.PbList<ListCalendarOnOrganisationRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListCalendarOnOrganisationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListCalendarOnOrganisationRequest>(create);
|
|
static ListCalendarOnOrganisationRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader ensureHeader() => $_ensure(0);
|
|
}
|
|
|
|
class ListCalendarOnOrganisationResponse extends $pb.GeneratedMessage {
|
|
factory ListCalendarOnOrganisationResponse({
|
|
$core.Iterable<Calendar>? calendars,
|
|
}) {
|
|
final $result = create();
|
|
if (calendars != null) {
|
|
$result.calendars.addAll(calendars);
|
|
}
|
|
return $result;
|
|
}
|
|
ListCalendarOnOrganisationResponse._() : super();
|
|
factory ListCalendarOnOrganisationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ListCalendarOnOrganisationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListCalendarOnOrganisationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..pc<Calendar>(1, _omitFieldNames ? '' : 'Calendars', $pb.PbFieldType.PM, protoName: 'Calendars', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListCalendarOnOrganisationResponse clone() => ListCalendarOnOrganisationResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListCalendarOnOrganisationResponse copyWith(void Function(ListCalendarOnOrganisationResponse) updates) => super.copyWith((message) => updates(message as ListCalendarOnOrganisationResponse)) as ListCalendarOnOrganisationResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListCalendarOnOrganisationResponse create() => ListCalendarOnOrganisationResponse._();
|
|
ListCalendarOnOrganisationResponse createEmptyInstance() => create();
|
|
static $pb.PbList<ListCalendarOnOrganisationResponse> createRepeated() => $pb.PbList<ListCalendarOnOrganisationResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListCalendarOnOrganisationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListCalendarOnOrganisationResponse>(create);
|
|
static ListCalendarOnOrganisationResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$pb.PbList<Calendar> get calendars => $_getList(0);
|
|
}
|
|
|
|
/// Update a calendar at organisation level
|
|
class UpdateCalendarOnOrganisationRequest extends $pb.GeneratedMessage {
|
|
factory UpdateCalendarOnOrganisationRequest({
|
|
$3.RequestOrganisationHeader? header,
|
|
$core.String? iD,
|
|
$core.String? name,
|
|
$core.String? description,
|
|
$core.Iterable<ExceptionalClosure>? exceptionalClosures,
|
|
$core.Iterable<WorkTimeDay>? workTimeDays,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
if (iD != null) {
|
|
$result.iD = iD;
|
|
}
|
|
if (name != null) {
|
|
$result.name = name;
|
|
}
|
|
if (description != null) {
|
|
$result.description = description;
|
|
}
|
|
if (exceptionalClosures != null) {
|
|
$result.exceptionalClosures.addAll(exceptionalClosures);
|
|
}
|
|
if (workTimeDays != null) {
|
|
$result.workTimeDays.addAll(workTimeDays);
|
|
}
|
|
return $result;
|
|
}
|
|
UpdateCalendarOnOrganisationRequest._() : super();
|
|
factory UpdateCalendarOnOrganisationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory UpdateCalendarOnOrganisationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateCalendarOnOrganisationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
|
..aOS(3, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOS(4, _omitFieldNames ? '' : 'Description', protoName: 'Description')
|
|
..pc<ExceptionalClosure>(5, _omitFieldNames ? '' : 'ExceptionalClosures', $pb.PbFieldType.PM, protoName: 'ExceptionalClosures', subBuilder: ExceptionalClosure.create)
|
|
..pc<WorkTimeDay>(7, _omitFieldNames ? '' : 'WorkTimeDays', $pb.PbFieldType.PM, protoName: 'WorkTimeDays', subBuilder: WorkTimeDay.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateCalendarOnOrganisationRequest clone() => UpdateCalendarOnOrganisationRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateCalendarOnOrganisationRequest copyWith(void Function(UpdateCalendarOnOrganisationRequest) updates) => super.copyWith((message) => updates(message as UpdateCalendarOnOrganisationRequest)) as UpdateCalendarOnOrganisationRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateCalendarOnOrganisationRequest create() => UpdateCalendarOnOrganisationRequest._();
|
|
UpdateCalendarOnOrganisationRequest createEmptyInstance() => create();
|
|
static $pb.PbList<UpdateCalendarOnOrganisationRequest> createRepeated() => $pb.PbList<UpdateCalendarOnOrganisationRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateCalendarOnOrganisationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateCalendarOnOrganisationRequest>(create);
|
|
static UpdateCalendarOnOrganisationRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader ensureHeader() => $_ensure(0);
|
|
|
|
/// Identifier of the calendar
|
|
@$pb.TagNumber(2)
|
|
$core.String get iD => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set iD($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearID() => $_clearField(2);
|
|
|
|
/// Name of the calendar
|
|
@$pb.TagNumber(3)
|
|
$core.String get name => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set name($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasName() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearName() => $_clearField(3);
|
|
|
|
/// Description of the calendar
|
|
@$pb.TagNumber(4)
|
|
$core.String get description => $_getSZ(3);
|
|
@$pb.TagNumber(4)
|
|
set description($core.String v) { $_setString(3, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasDescription() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearDescription() => $_clearField(4);
|
|
|
|
/// List of Exceptional closure
|
|
@$pb.TagNumber(5)
|
|
$pb.PbList<ExceptionalClosure> get exceptionalClosures => $_getList(4);
|
|
|
|
/// Definition of the opening hours by week day
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<WorkTimeDay> get workTimeDays => $_getList(5);
|
|
}
|
|
|
|
class UpdateCalendarOnOrganisationResponse extends $pb.GeneratedMessage {
|
|
factory UpdateCalendarOnOrganisationResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
UpdateCalendarOnOrganisationResponse._() : super();
|
|
factory UpdateCalendarOnOrganisationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory UpdateCalendarOnOrganisationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateCalendarOnOrganisationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateCalendarOnOrganisationResponse clone() => UpdateCalendarOnOrganisationResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateCalendarOnOrganisationResponse copyWith(void Function(UpdateCalendarOnOrganisationResponse) updates) => super.copyWith((message) => updates(message as UpdateCalendarOnOrganisationResponse)) as UpdateCalendarOnOrganisationResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateCalendarOnOrganisationResponse create() => UpdateCalendarOnOrganisationResponse._();
|
|
UpdateCalendarOnOrganisationResponse createEmptyInstance() => create();
|
|
static $pb.PbList<UpdateCalendarOnOrganisationResponse> createRepeated() => $pb.PbList<UpdateCalendarOnOrganisationResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateCalendarOnOrganisationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateCalendarOnOrganisationResponse>(create);
|
|
static UpdateCalendarOnOrganisationResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
/// Delete a calendar at organisation level
|
|
class DeleteCalendarOnOrganisationRequest extends $pb.GeneratedMessage {
|
|
factory DeleteCalendarOnOrganisationRequest({
|
|
$3.RequestOrganisationHeader? header,
|
|
$core.String? iD,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
if (iD != null) {
|
|
$result.iD = iD;
|
|
}
|
|
return $result;
|
|
}
|
|
DeleteCalendarOnOrganisationRequest._() : super();
|
|
factory DeleteCalendarOnOrganisationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory DeleteCalendarOnOrganisationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteCalendarOnOrganisationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestOrganisationHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteCalendarOnOrganisationRequest clone() => DeleteCalendarOnOrganisationRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteCalendarOnOrganisationRequest copyWith(void Function(DeleteCalendarOnOrganisationRequest) updates) => super.copyWith((message) => updates(message as DeleteCalendarOnOrganisationRequest)) as DeleteCalendarOnOrganisationRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteCalendarOnOrganisationRequest create() => DeleteCalendarOnOrganisationRequest._();
|
|
DeleteCalendarOnOrganisationRequest createEmptyInstance() => create();
|
|
static $pb.PbList<DeleteCalendarOnOrganisationRequest> createRepeated() => $pb.PbList<DeleteCalendarOnOrganisationRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteCalendarOnOrganisationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteCalendarOnOrganisationRequest>(create);
|
|
static DeleteCalendarOnOrganisationRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestOrganisationHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestOrganisationHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get iD => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set iD($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearID() => $_clearField(2);
|
|
}
|
|
|
|
class DeleteCalendarOnOrganisationResponse extends $pb.GeneratedMessage {
|
|
factory DeleteCalendarOnOrganisationResponse() => create();
|
|
DeleteCalendarOnOrganisationResponse._() : super();
|
|
factory DeleteCalendarOnOrganisationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory DeleteCalendarOnOrganisationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteCalendarOnOrganisationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteCalendarOnOrganisationResponse clone() => DeleteCalendarOnOrganisationResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteCalendarOnOrganisationResponse copyWith(void Function(DeleteCalendarOnOrganisationResponse) updates) => super.copyWith((message) => updates(message as DeleteCalendarOnOrganisationResponse)) as DeleteCalendarOnOrganisationResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteCalendarOnOrganisationResponse create() => DeleteCalendarOnOrganisationResponse._();
|
|
DeleteCalendarOnOrganisationResponse createEmptyInstance() => create();
|
|
static $pb.PbList<DeleteCalendarOnOrganisationResponse> createRepeated() => $pb.PbList<DeleteCalendarOnOrganisationResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteCalendarOnOrganisationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteCalendarOnOrganisationResponse>(create);
|
|
static DeleteCalendarOnOrganisationResponse? _defaultInstance;
|
|
}
|
|
|
|
/// ImportClassicHolidays on a calendar at organisation level
|
|
class ImportClassicHolidaysOnOrganisationRequest extends $pb.GeneratedMessage {
|
|
factory ImportClassicHolidaysOnOrganisationRequest({
|
|
Calendar? calendar,
|
|
$core.String? country,
|
|
$core.int? numberOfYears,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
if (country != null) {
|
|
$result.country = country;
|
|
}
|
|
if (numberOfYears != null) {
|
|
$result.numberOfYears = numberOfYears;
|
|
}
|
|
return $result;
|
|
}
|
|
ImportClassicHolidaysOnOrganisationRequest._() : super();
|
|
factory ImportClassicHolidaysOnOrganisationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ImportClassicHolidaysOnOrganisationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ImportClassicHolidaysOnOrganisationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'Country', protoName: 'Country')
|
|
..a<$core.int>(3, _omitFieldNames ? '' : 'NumberOfYears', $pb.PbFieldType.OU3, protoName: 'NumberOfYears')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ImportClassicHolidaysOnOrganisationRequest clone() => ImportClassicHolidaysOnOrganisationRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ImportClassicHolidaysOnOrganisationRequest copyWith(void Function(ImportClassicHolidaysOnOrganisationRequest) updates) => super.copyWith((message) => updates(message as ImportClassicHolidaysOnOrganisationRequest)) as ImportClassicHolidaysOnOrganisationRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ImportClassicHolidaysOnOrganisationRequest create() => ImportClassicHolidaysOnOrganisationRequest._();
|
|
ImportClassicHolidaysOnOrganisationRequest createEmptyInstance() => create();
|
|
static $pb.PbList<ImportClassicHolidaysOnOrganisationRequest> createRepeated() => $pb.PbList<ImportClassicHolidaysOnOrganisationRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ImportClassicHolidaysOnOrganisationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ImportClassicHolidaysOnOrganisationRequest>(create);
|
|
static ImportClassicHolidaysOnOrganisationRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get country => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set country($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasCountry() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearCountry() => $_clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.int get numberOfYears => $_getIZ(2);
|
|
@$pb.TagNumber(3)
|
|
set numberOfYears($core.int v) { $_setUnsignedInt32(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasNumberOfYears() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearNumberOfYears() => $_clearField(3);
|
|
}
|
|
|
|
class ImportClassicHolidaysOnOrganisationResponse extends $pb.GeneratedMessage {
|
|
factory ImportClassicHolidaysOnOrganisationResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
ImportClassicHolidaysOnOrganisationResponse._() : super();
|
|
factory ImportClassicHolidaysOnOrganisationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ImportClassicHolidaysOnOrganisationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ImportClassicHolidaysOnOrganisationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ImportClassicHolidaysOnOrganisationResponse clone() => ImportClassicHolidaysOnOrganisationResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ImportClassicHolidaysOnOrganisationResponse copyWith(void Function(ImportClassicHolidaysOnOrganisationResponse) updates) => super.copyWith((message) => updates(message as ImportClassicHolidaysOnOrganisationResponse)) as ImportClassicHolidaysOnOrganisationResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ImportClassicHolidaysOnOrganisationResponse create() => ImportClassicHolidaysOnOrganisationResponse._();
|
|
ImportClassicHolidaysOnOrganisationResponse createEmptyInstance() => create();
|
|
static $pb.PbList<ImportClassicHolidaysOnOrganisationResponse> createRepeated() => $pb.PbList<ImportClassicHolidaysOnOrganisationResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ImportClassicHolidaysOnOrganisationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ImportClassicHolidaysOnOrganisationResponse>(create);
|
|
static ImportClassicHolidaysOnOrganisationResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
/// Clone a calendar at organisation level
|
|
class CloneCalendarOnOrganisationRequest extends $pb.GeneratedMessage {
|
|
factory CloneCalendarOnOrganisationRequest({
|
|
$core.String? calendarID,
|
|
$core.String? name,
|
|
$core.String? description,
|
|
}) {
|
|
final $result = create();
|
|
if (calendarID != null) {
|
|
$result.calendarID = calendarID;
|
|
}
|
|
if (name != null) {
|
|
$result.name = name;
|
|
}
|
|
if (description != null) {
|
|
$result.description = description;
|
|
}
|
|
return $result;
|
|
}
|
|
CloneCalendarOnOrganisationRequest._() : super();
|
|
factory CloneCalendarOnOrganisationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CloneCalendarOnOrganisationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CloneCalendarOnOrganisationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'CalendarID', protoName: 'CalendarID')
|
|
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOS(3, _omitFieldNames ? '' : 'Description', protoName: 'Description')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CloneCalendarOnOrganisationRequest clone() => CloneCalendarOnOrganisationRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CloneCalendarOnOrganisationRequest copyWith(void Function(CloneCalendarOnOrganisationRequest) updates) => super.copyWith((message) => updates(message as CloneCalendarOnOrganisationRequest)) as CloneCalendarOnOrganisationRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CloneCalendarOnOrganisationRequest create() => CloneCalendarOnOrganisationRequest._();
|
|
CloneCalendarOnOrganisationRequest createEmptyInstance() => create();
|
|
static $pb.PbList<CloneCalendarOnOrganisationRequest> createRepeated() => $pb.PbList<CloneCalendarOnOrganisationRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CloneCalendarOnOrganisationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CloneCalendarOnOrganisationRequest>(create);
|
|
static CloneCalendarOnOrganisationRequest? _defaultInstance;
|
|
|
|
/// Identifier of the calendar to copy
|
|
@$pb.TagNumber(1)
|
|
$core.String get calendarID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set calendarID($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendarID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendarID() => $_clearField(1);
|
|
|
|
/// Name of the calendar
|
|
@$pb.TagNumber(2)
|
|
$core.String get name => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set name($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasName() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearName() => $_clearField(2);
|
|
|
|
/// Description of the calendar
|
|
@$pb.TagNumber(3)
|
|
$core.String get description => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set description($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasDescription() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearDescription() => $_clearField(3);
|
|
}
|
|
|
|
class CloneCalendarOnOrganisationResponse extends $pb.GeneratedMessage {
|
|
factory CloneCalendarOnOrganisationResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
CloneCalendarOnOrganisationResponse._() : super();
|
|
factory CloneCalendarOnOrganisationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CloneCalendarOnOrganisationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CloneCalendarOnOrganisationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CloneCalendarOnOrganisationResponse clone() => CloneCalendarOnOrganisationResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CloneCalendarOnOrganisationResponse copyWith(void Function(CloneCalendarOnOrganisationResponse) updates) => super.copyWith((message) => updates(message as CloneCalendarOnOrganisationResponse)) as CloneCalendarOnOrganisationResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CloneCalendarOnOrganisationResponse create() => CloneCalendarOnOrganisationResponse._();
|
|
CloneCalendarOnOrganisationResponse createEmptyInstance() => create();
|
|
static $pb.PbList<CloneCalendarOnOrganisationResponse> createRepeated() => $pb.PbList<CloneCalendarOnOrganisationResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CloneCalendarOnOrganisationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CloneCalendarOnOrganisationResponse>(create);
|
|
static CloneCalendarOnOrganisationResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
/// Create a calendar at site level
|
|
class CreateCalendarOnSiteRequest extends $pb.GeneratedMessage {
|
|
factory CreateCalendarOnSiteRequest({
|
|
$3.RequestSiteHeader? header,
|
|
$core.String? name,
|
|
$core.String? description,
|
|
$core.Iterable<ExceptionalClosure>? exceptionalClosures,
|
|
$core.Iterable<WorkTimeDay>? workTimeDays,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
if (name != null) {
|
|
$result.name = name;
|
|
}
|
|
if (description != null) {
|
|
$result.description = description;
|
|
}
|
|
if (exceptionalClosures != null) {
|
|
$result.exceptionalClosures.addAll(exceptionalClosures);
|
|
}
|
|
if (workTimeDays != null) {
|
|
$result.workTimeDays.addAll(workTimeDays);
|
|
}
|
|
return $result;
|
|
}
|
|
CreateCalendarOnSiteRequest._() : super();
|
|
factory CreateCalendarOnSiteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CreateCalendarOnSiteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateCalendarOnSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOS(3, _omitFieldNames ? '' : 'Description', protoName: 'Description')
|
|
..pc<ExceptionalClosure>(4, _omitFieldNames ? '' : 'ExceptionalClosures', $pb.PbFieldType.PM, protoName: 'ExceptionalClosures', subBuilder: ExceptionalClosure.create)
|
|
..pc<WorkTimeDay>(7, _omitFieldNames ? '' : 'WorkTimeDays', $pb.PbFieldType.PM, protoName: 'WorkTimeDays', subBuilder: WorkTimeDay.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateCalendarOnSiteRequest clone() => CreateCalendarOnSiteRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateCalendarOnSiteRequest copyWith(void Function(CreateCalendarOnSiteRequest) updates) => super.copyWith((message) => updates(message as CreateCalendarOnSiteRequest)) as CreateCalendarOnSiteRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateCalendarOnSiteRequest create() => CreateCalendarOnSiteRequest._();
|
|
CreateCalendarOnSiteRequest createEmptyInstance() => create();
|
|
static $pb.PbList<CreateCalendarOnSiteRequest> createRepeated() => $pb.PbList<CreateCalendarOnSiteRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateCalendarOnSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateCalendarOnSiteRequest>(create);
|
|
static CreateCalendarOnSiteRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestSiteHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
|
|
|
|
/// Name of the calendar
|
|
@$pb.TagNumber(2)
|
|
$core.String get name => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set name($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasName() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearName() => $_clearField(2);
|
|
|
|
/// Description of the calendar
|
|
@$pb.TagNumber(3)
|
|
$core.String get description => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set description($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasDescription() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearDescription() => $_clearField(3);
|
|
|
|
/// List of Exceptional closure
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<ExceptionalClosure> get exceptionalClosures => $_getList(3);
|
|
|
|
/// Definition of the opening hours by week day
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<WorkTimeDay> get workTimeDays => $_getList(4);
|
|
}
|
|
|
|
class CreateCalendarOnSiteResponse extends $pb.GeneratedMessage {
|
|
factory CreateCalendarOnSiteResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
CreateCalendarOnSiteResponse._() : super();
|
|
factory CreateCalendarOnSiteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CreateCalendarOnSiteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateCalendarOnSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateCalendarOnSiteResponse clone() => CreateCalendarOnSiteResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CreateCalendarOnSiteResponse copyWith(void Function(CreateCalendarOnSiteResponse) updates) => super.copyWith((message) => updates(message as CreateCalendarOnSiteResponse)) as CreateCalendarOnSiteResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateCalendarOnSiteResponse create() => CreateCalendarOnSiteResponse._();
|
|
CreateCalendarOnSiteResponse createEmptyInstance() => create();
|
|
static $pb.PbList<CreateCalendarOnSiteResponse> createRepeated() => $pb.PbList<CreateCalendarOnSiteResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreateCalendarOnSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateCalendarOnSiteResponse>(create);
|
|
static CreateCalendarOnSiteResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
/// Get a calendar at site level
|
|
class GetCalendarOnSiteRequest extends $pb.GeneratedMessage {
|
|
factory GetCalendarOnSiteRequest({
|
|
$3.RequestSiteHeader? header,
|
|
$core.String? iD,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
if (iD != null) {
|
|
$result.iD = iD;
|
|
}
|
|
return $result;
|
|
}
|
|
GetCalendarOnSiteRequest._() : super();
|
|
factory GetCalendarOnSiteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory GetCalendarOnSiteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCalendarOnSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetCalendarOnSiteRequest clone() => GetCalendarOnSiteRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetCalendarOnSiteRequest copyWith(void Function(GetCalendarOnSiteRequest) updates) => super.copyWith((message) => updates(message as GetCalendarOnSiteRequest)) as GetCalendarOnSiteRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetCalendarOnSiteRequest create() => GetCalendarOnSiteRequest._();
|
|
GetCalendarOnSiteRequest createEmptyInstance() => create();
|
|
static $pb.PbList<GetCalendarOnSiteRequest> createRepeated() => $pb.PbList<GetCalendarOnSiteRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetCalendarOnSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetCalendarOnSiteRequest>(create);
|
|
static GetCalendarOnSiteRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestSiteHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get iD => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set iD($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearID() => $_clearField(2);
|
|
}
|
|
|
|
class GetCalendarOnSiteResponse extends $pb.GeneratedMessage {
|
|
factory GetCalendarOnSiteResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
GetCalendarOnSiteResponse._() : super();
|
|
factory GetCalendarOnSiteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory GetCalendarOnSiteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCalendarOnSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetCalendarOnSiteResponse clone() => GetCalendarOnSiteResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
GetCalendarOnSiteResponse copyWith(void Function(GetCalendarOnSiteResponse) updates) => super.copyWith((message) => updates(message as GetCalendarOnSiteResponse)) as GetCalendarOnSiteResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetCalendarOnSiteResponse create() => GetCalendarOnSiteResponse._();
|
|
GetCalendarOnSiteResponse createEmptyInstance() => create();
|
|
static $pb.PbList<GetCalendarOnSiteResponse> createRepeated() => $pb.PbList<GetCalendarOnSiteResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static GetCalendarOnSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetCalendarOnSiteResponse>(create);
|
|
static GetCalendarOnSiteResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
/// List a calendar at site level
|
|
class ListCalendarOnSiteRequest extends $pb.GeneratedMessage {
|
|
factory ListCalendarOnSiteRequest({
|
|
$3.RequestSiteHeader? header,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
return $result;
|
|
}
|
|
ListCalendarOnSiteRequest._() : super();
|
|
factory ListCalendarOnSiteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ListCalendarOnSiteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListCalendarOnSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListCalendarOnSiteRequest clone() => ListCalendarOnSiteRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListCalendarOnSiteRequest copyWith(void Function(ListCalendarOnSiteRequest) updates) => super.copyWith((message) => updates(message as ListCalendarOnSiteRequest)) as ListCalendarOnSiteRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListCalendarOnSiteRequest create() => ListCalendarOnSiteRequest._();
|
|
ListCalendarOnSiteRequest createEmptyInstance() => create();
|
|
static $pb.PbList<ListCalendarOnSiteRequest> createRepeated() => $pb.PbList<ListCalendarOnSiteRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListCalendarOnSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListCalendarOnSiteRequest>(create);
|
|
static ListCalendarOnSiteRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestSiteHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
|
|
}
|
|
|
|
class ListCalendarOnSiteResponse extends $pb.GeneratedMessage {
|
|
factory ListCalendarOnSiteResponse({
|
|
$core.Iterable<Calendar>? calendars,
|
|
}) {
|
|
final $result = create();
|
|
if (calendars != null) {
|
|
$result.calendars.addAll(calendars);
|
|
}
|
|
return $result;
|
|
}
|
|
ListCalendarOnSiteResponse._() : super();
|
|
factory ListCalendarOnSiteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ListCalendarOnSiteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListCalendarOnSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..pc<Calendar>(1, _omitFieldNames ? '' : 'Calendars', $pb.PbFieldType.PM, protoName: 'Calendars', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListCalendarOnSiteResponse clone() => ListCalendarOnSiteResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ListCalendarOnSiteResponse copyWith(void Function(ListCalendarOnSiteResponse) updates) => super.copyWith((message) => updates(message as ListCalendarOnSiteResponse)) as ListCalendarOnSiteResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListCalendarOnSiteResponse create() => ListCalendarOnSiteResponse._();
|
|
ListCalendarOnSiteResponse createEmptyInstance() => create();
|
|
static $pb.PbList<ListCalendarOnSiteResponse> createRepeated() => $pb.PbList<ListCalendarOnSiteResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ListCalendarOnSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListCalendarOnSiteResponse>(create);
|
|
static ListCalendarOnSiteResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$pb.PbList<Calendar> get calendars => $_getList(0);
|
|
}
|
|
|
|
/// Update a calendar at site level
|
|
class UpdateCalendarOnSiteRequest extends $pb.GeneratedMessage {
|
|
factory UpdateCalendarOnSiteRequest({
|
|
$3.RequestSiteHeader? header,
|
|
$core.String? iD,
|
|
$core.String? name,
|
|
$core.String? description,
|
|
$core.Iterable<ExceptionalClosure>? exceptionalClosures,
|
|
$core.Iterable<WorkTimeDay>? workTimeDays,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
if (iD != null) {
|
|
$result.iD = iD;
|
|
}
|
|
if (name != null) {
|
|
$result.name = name;
|
|
}
|
|
if (description != null) {
|
|
$result.description = description;
|
|
}
|
|
if (exceptionalClosures != null) {
|
|
$result.exceptionalClosures.addAll(exceptionalClosures);
|
|
}
|
|
if (workTimeDays != null) {
|
|
$result.workTimeDays.addAll(workTimeDays);
|
|
}
|
|
return $result;
|
|
}
|
|
UpdateCalendarOnSiteRequest._() : super();
|
|
factory UpdateCalendarOnSiteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory UpdateCalendarOnSiteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateCalendarOnSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
|
..aOS(3, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOS(4, _omitFieldNames ? '' : 'Description', protoName: 'Description')
|
|
..pc<ExceptionalClosure>(5, _omitFieldNames ? '' : 'ExceptionalClosures', $pb.PbFieldType.PM, protoName: 'ExceptionalClosures', subBuilder: ExceptionalClosure.create)
|
|
..pc<WorkTimeDay>(7, _omitFieldNames ? '' : 'WorkTimeDays', $pb.PbFieldType.PM, protoName: 'WorkTimeDays', subBuilder: WorkTimeDay.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateCalendarOnSiteRequest clone() => UpdateCalendarOnSiteRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateCalendarOnSiteRequest copyWith(void Function(UpdateCalendarOnSiteRequest) updates) => super.copyWith((message) => updates(message as UpdateCalendarOnSiteRequest)) as UpdateCalendarOnSiteRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateCalendarOnSiteRequest create() => UpdateCalendarOnSiteRequest._();
|
|
UpdateCalendarOnSiteRequest createEmptyInstance() => create();
|
|
static $pb.PbList<UpdateCalendarOnSiteRequest> createRepeated() => $pb.PbList<UpdateCalendarOnSiteRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateCalendarOnSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateCalendarOnSiteRequest>(create);
|
|
static UpdateCalendarOnSiteRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestSiteHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
|
|
|
|
/// Identifier of the calendar
|
|
@$pb.TagNumber(2)
|
|
$core.String get iD => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set iD($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearID() => $_clearField(2);
|
|
|
|
/// Name of the calendar
|
|
@$pb.TagNumber(3)
|
|
$core.String get name => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set name($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasName() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearName() => $_clearField(3);
|
|
|
|
/// Description of the calendar
|
|
@$pb.TagNumber(4)
|
|
$core.String get description => $_getSZ(3);
|
|
@$pb.TagNumber(4)
|
|
set description($core.String v) { $_setString(3, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasDescription() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearDescription() => $_clearField(4);
|
|
|
|
/// List of Exceptional closure
|
|
@$pb.TagNumber(5)
|
|
$pb.PbList<ExceptionalClosure> get exceptionalClosures => $_getList(4);
|
|
|
|
/// Definition of the opening hours by week day
|
|
@$pb.TagNumber(7)
|
|
$pb.PbList<WorkTimeDay> get workTimeDays => $_getList(5);
|
|
}
|
|
|
|
class UpdateCalendarOnSiteResponse extends $pb.GeneratedMessage {
|
|
factory UpdateCalendarOnSiteResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
UpdateCalendarOnSiteResponse._() : super();
|
|
factory UpdateCalendarOnSiteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory UpdateCalendarOnSiteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateCalendarOnSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateCalendarOnSiteResponse clone() => UpdateCalendarOnSiteResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
UpdateCalendarOnSiteResponse copyWith(void Function(UpdateCalendarOnSiteResponse) updates) => super.copyWith((message) => updates(message as UpdateCalendarOnSiteResponse)) as UpdateCalendarOnSiteResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateCalendarOnSiteResponse create() => UpdateCalendarOnSiteResponse._();
|
|
UpdateCalendarOnSiteResponse createEmptyInstance() => create();
|
|
static $pb.PbList<UpdateCalendarOnSiteResponse> createRepeated() => $pb.PbList<UpdateCalendarOnSiteResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdateCalendarOnSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateCalendarOnSiteResponse>(create);
|
|
static UpdateCalendarOnSiteResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
/// Delete a calendar at site level
|
|
class DeleteCalendarOnSiteRequest extends $pb.GeneratedMessage {
|
|
factory DeleteCalendarOnSiteRequest({
|
|
$3.RequestSiteHeader? header,
|
|
$core.String? iD,
|
|
}) {
|
|
final $result = create();
|
|
if (header != null) {
|
|
$result.header = header;
|
|
}
|
|
if (iD != null) {
|
|
$result.iD = iD;
|
|
}
|
|
return $result;
|
|
}
|
|
DeleteCalendarOnSiteRequest._() : super();
|
|
factory DeleteCalendarOnSiteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory DeleteCalendarOnSiteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteCalendarOnSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteCalendarOnSiteRequest clone() => DeleteCalendarOnSiteRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteCalendarOnSiteRequest copyWith(void Function(DeleteCalendarOnSiteRequest) updates) => super.copyWith((message) => updates(message as DeleteCalendarOnSiteRequest)) as DeleteCalendarOnSiteRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteCalendarOnSiteRequest create() => DeleteCalendarOnSiteRequest._();
|
|
DeleteCalendarOnSiteRequest createEmptyInstance() => create();
|
|
static $pb.PbList<DeleteCalendarOnSiteRequest> createRepeated() => $pb.PbList<DeleteCalendarOnSiteRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteCalendarOnSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteCalendarOnSiteRequest>(create);
|
|
static DeleteCalendarOnSiteRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($3.RequestSiteHeader v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get iD => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set iD($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearID() => $_clearField(2);
|
|
}
|
|
|
|
class DeleteCalendarOnSiteResponse extends $pb.GeneratedMessage {
|
|
factory DeleteCalendarOnSiteResponse() => create();
|
|
DeleteCalendarOnSiteResponse._() : super();
|
|
factory DeleteCalendarOnSiteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory DeleteCalendarOnSiteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteCalendarOnSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteCalendarOnSiteResponse clone() => DeleteCalendarOnSiteResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
DeleteCalendarOnSiteResponse copyWith(void Function(DeleteCalendarOnSiteResponse) updates) => super.copyWith((message) => updates(message as DeleteCalendarOnSiteResponse)) as DeleteCalendarOnSiteResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteCalendarOnSiteResponse create() => DeleteCalendarOnSiteResponse._();
|
|
DeleteCalendarOnSiteResponse createEmptyInstance() => create();
|
|
static $pb.PbList<DeleteCalendarOnSiteResponse> createRepeated() => $pb.PbList<DeleteCalendarOnSiteResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DeleteCalendarOnSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteCalendarOnSiteResponse>(create);
|
|
static DeleteCalendarOnSiteResponse? _defaultInstance;
|
|
}
|
|
|
|
/// ImportClassicHolidays on a calendar at site level
|
|
class ImportClassicHolidaysOnSiteRequest extends $pb.GeneratedMessage {
|
|
factory ImportClassicHolidaysOnSiteRequest({
|
|
Calendar? calendar,
|
|
$core.String? country,
|
|
$core.int? numberOfYears,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
if (country != null) {
|
|
$result.country = country;
|
|
}
|
|
if (numberOfYears != null) {
|
|
$result.numberOfYears = numberOfYears;
|
|
}
|
|
return $result;
|
|
}
|
|
ImportClassicHolidaysOnSiteRequest._() : super();
|
|
factory ImportClassicHolidaysOnSiteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ImportClassicHolidaysOnSiteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ImportClassicHolidaysOnSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..aOS(2, _omitFieldNames ? '' : 'Country', protoName: 'Country')
|
|
..a<$core.int>(3, _omitFieldNames ? '' : 'NumberOfYears', $pb.PbFieldType.OU3, protoName: 'NumberOfYears')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ImportClassicHolidaysOnSiteRequest clone() => ImportClassicHolidaysOnSiteRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ImportClassicHolidaysOnSiteRequest copyWith(void Function(ImportClassicHolidaysOnSiteRequest) updates) => super.copyWith((message) => updates(message as ImportClassicHolidaysOnSiteRequest)) as ImportClassicHolidaysOnSiteRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ImportClassicHolidaysOnSiteRequest create() => ImportClassicHolidaysOnSiteRequest._();
|
|
ImportClassicHolidaysOnSiteRequest createEmptyInstance() => create();
|
|
static $pb.PbList<ImportClassicHolidaysOnSiteRequest> createRepeated() => $pb.PbList<ImportClassicHolidaysOnSiteRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ImportClassicHolidaysOnSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ImportClassicHolidaysOnSiteRequest>(create);
|
|
static ImportClassicHolidaysOnSiteRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get country => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set country($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasCountry() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearCountry() => $_clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.int get numberOfYears => $_getIZ(2);
|
|
@$pb.TagNumber(3)
|
|
set numberOfYears($core.int v) { $_setUnsignedInt32(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasNumberOfYears() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearNumberOfYears() => $_clearField(3);
|
|
}
|
|
|
|
class ImportClassicHolidaysOnSiteResponse extends $pb.GeneratedMessage {
|
|
factory ImportClassicHolidaysOnSiteResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
ImportClassicHolidaysOnSiteResponse._() : super();
|
|
factory ImportClassicHolidaysOnSiteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ImportClassicHolidaysOnSiteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ImportClassicHolidaysOnSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ImportClassicHolidaysOnSiteResponse clone() => ImportClassicHolidaysOnSiteResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
ImportClassicHolidaysOnSiteResponse copyWith(void Function(ImportClassicHolidaysOnSiteResponse) updates) => super.copyWith((message) => updates(message as ImportClassicHolidaysOnSiteResponse)) as ImportClassicHolidaysOnSiteResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ImportClassicHolidaysOnSiteResponse create() => ImportClassicHolidaysOnSiteResponse._();
|
|
ImportClassicHolidaysOnSiteResponse createEmptyInstance() => create();
|
|
static $pb.PbList<ImportClassicHolidaysOnSiteResponse> createRepeated() => $pb.PbList<ImportClassicHolidaysOnSiteResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ImportClassicHolidaysOnSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ImportClassicHolidaysOnSiteResponse>(create);
|
|
static ImportClassicHolidaysOnSiteResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
/// Clone a calendar at site level
|
|
class CloneCalendarOnSiteRequest extends $pb.GeneratedMessage {
|
|
factory CloneCalendarOnSiteRequest({
|
|
$core.String? calendarID,
|
|
$core.String? name,
|
|
$core.String? description,
|
|
}) {
|
|
final $result = create();
|
|
if (calendarID != null) {
|
|
$result.calendarID = calendarID;
|
|
}
|
|
if (name != null) {
|
|
$result.name = name;
|
|
}
|
|
if (description != null) {
|
|
$result.description = description;
|
|
}
|
|
return $result;
|
|
}
|
|
CloneCalendarOnSiteRequest._() : super();
|
|
factory CloneCalendarOnSiteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CloneCalendarOnSiteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CloneCalendarOnSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'CalendarID', protoName: 'CalendarID')
|
|
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
|
..aOS(3, _omitFieldNames ? '' : 'Description', protoName: 'Description')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CloneCalendarOnSiteRequest clone() => CloneCalendarOnSiteRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CloneCalendarOnSiteRequest copyWith(void Function(CloneCalendarOnSiteRequest) updates) => super.copyWith((message) => updates(message as CloneCalendarOnSiteRequest)) as CloneCalendarOnSiteRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CloneCalendarOnSiteRequest create() => CloneCalendarOnSiteRequest._();
|
|
CloneCalendarOnSiteRequest createEmptyInstance() => create();
|
|
static $pb.PbList<CloneCalendarOnSiteRequest> createRepeated() => $pb.PbList<CloneCalendarOnSiteRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CloneCalendarOnSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CloneCalendarOnSiteRequest>(create);
|
|
static CloneCalendarOnSiteRequest? _defaultInstance;
|
|
|
|
/// Identifier of the calendar to copy
|
|
@$pb.TagNumber(1)
|
|
$core.String get calendarID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set calendarID($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendarID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendarID() => $_clearField(1);
|
|
|
|
/// Name of the calendar
|
|
@$pb.TagNumber(2)
|
|
$core.String get name => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set name($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasName() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearName() => $_clearField(2);
|
|
|
|
/// Description of the calendar
|
|
@$pb.TagNumber(3)
|
|
$core.String get description => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set description($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasDescription() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearDescription() => $_clearField(3);
|
|
}
|
|
|
|
class CloneCalendarOnSiteResponse extends $pb.GeneratedMessage {
|
|
factory CloneCalendarOnSiteResponse({
|
|
Calendar? calendar,
|
|
}) {
|
|
final $result = create();
|
|
if (calendar != null) {
|
|
$result.calendar = calendar;
|
|
}
|
|
return $result;
|
|
}
|
|
CloneCalendarOnSiteResponse._() : super();
|
|
factory CloneCalendarOnSiteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CloneCalendarOnSiteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CloneCalendarOnSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<Calendar>(1, _omitFieldNames ? '' : 'Calendar', protoName: 'Calendar', subBuilder: Calendar.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CloneCalendarOnSiteResponse clone() => CloneCalendarOnSiteResponse()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CloneCalendarOnSiteResponse copyWith(void Function(CloneCalendarOnSiteResponse) updates) => super.copyWith((message) => updates(message as CloneCalendarOnSiteResponse)) as CloneCalendarOnSiteResponse;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CloneCalendarOnSiteResponse create() => CloneCalendarOnSiteResponse._();
|
|
CloneCalendarOnSiteResponse createEmptyInstance() => create();
|
|
static $pb.PbList<CloneCalendarOnSiteResponse> createRepeated() => $pb.PbList<CloneCalendarOnSiteResponse>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CloneCalendarOnSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CloneCalendarOnSiteResponse>(create);
|
|
static CloneCalendarOnSiteResponse? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
Calendar get calendar => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set calendar(Calendar v) { $_setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasCalendar() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearCalendar() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
Calendar ensureCalendar() => $_ensure(0);
|
|
}
|
|
|
|
|
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|