Latest generation

This commit is contained in:
ci core model
2025-05-26 13:58:27 +00:00
parent 2561ef3177
commit 8bbc3685f1
10 changed files with 256 additions and 110 deletions

View File

@@ -1840,6 +1840,192 @@ class SegmentationActorConstraint extends $pb.GeneratedMessage {
void clearAttributePath() => $_clearField(5);
}
class Commission extends $pb.GeneratedMessage {
factory Commission({
$core.String? projectID,
$core.String? orderID,
$core.Iterable<QuantityByUnit>? quantities,
}) {
final $result = create();
if (projectID != null) {
$result.projectID = projectID;
}
if (orderID != null) {
$result.orderID = orderID;
}
if (quantities != null) {
$result.quantities.addAll(quantities);
}
return $result;
}
Commission._() : super();
factory Commission.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Commission.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Commission', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
..pc<QuantityByUnit>(3, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: QuantityByUnit.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Commission clone() => Commission()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Commission copyWith(void Function(Commission) updates) => super.copyWith((message) => updates(message as Commission)) as Commission;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Commission create() => Commission._();
Commission createEmptyInstance() => create();
static $pb.PbList<Commission> createRepeated() => $pb.PbList<Commission>();
@$core.pragma('dart2js:noInline')
static Commission getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Commission>(create);
static Commission? _defaultInstance;
@$pb.TagNumber(1)
$core.String get projectID => $_getSZ(0);
@$pb.TagNumber(1)
set projectID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasProjectID() => $_has(0);
@$pb.TagNumber(1)
void clearProjectID() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get orderID => $_getSZ(1);
@$pb.TagNumber(2)
set orderID($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasOrderID() => $_has(1);
@$pb.TagNumber(2)
void clearOrderID() => $_clearField(2);
@$pb.TagNumber(3)
$pb.PbList<QuantityByUnit> get quantities => $_getList(2);
}
class Booking extends $pb.GeneratedMessage {
factory Booking({
AppointmentType? appointmentType,
$core.Iterable<Commission>? commissions,
$core.Iterable<Segmentation>? segmentations,
$core.Iterable<Slot>? slots,
}) {
final $result = create();
if (appointmentType != null) {
$result.appointmentType = appointmentType;
}
if (commissions != null) {
$result.commissions.addAll(commissions);
}
if (segmentations != null) {
$result.segmentations.addAll(segmentations);
}
if (slots != null) {
$result.slots.addAll(slots);
}
return $result;
}
Booking._() : super();
factory Booking.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Booking.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Booking', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..e<AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: AppointmentType.APPOINTMENTTYPE_UNKNOWN, valueOf: AppointmentType.valueOf, enumValues: AppointmentType.values)
..pc<Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: Commission.create)
..pc<Segmentation>(3, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: Segmentation.create)
..pc<Slot>(4, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: Slot.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Booking clone() => Booking()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
Booking copyWith(void Function(Booking) updates) => super.copyWith((message) => updates(message as Booking)) as Booking;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Booking create() => Booking._();
Booking createEmptyInstance() => create();
static $pb.PbList<Booking> createRepeated() => $pb.PbList<Booking>();
@$core.pragma('dart2js:noInline')
static Booking getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Booking>(create);
static Booking? _defaultInstance;
@$pb.TagNumber(1)
AppointmentType get appointmentType => $_getN(0);
@$pb.TagNumber(1)
set appointmentType(AppointmentType v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasAppointmentType() => $_has(0);
@$pb.TagNumber(1)
void clearAppointmentType() => $_clearField(1);
@$pb.TagNumber(2)
$pb.PbList<Commission> get commissions => $_getList(1);
@$pb.TagNumber(3)
$pb.PbList<Segmentation> get segmentations => $_getList(2);
@$pb.TagNumber(4)
$pb.PbList<Slot> get slots => $_getList(3);
}
class SlotGroup extends $pb.GeneratedMessage {
factory SlotGroup({
$core.Iterable<Slot>? slots,
$core.int? availability,
}) {
final $result = create();
if (slots != null) {
$result.slots.addAll(slots);
}
if (availability != null) {
$result.availability = availability;
}
return $result;
}
SlotGroup._() : super();
factory SlotGroup.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory SlotGroup.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SlotGroup', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<Slot>(1, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: Slot.create)
..a<$core.int>(2, _omitFieldNames ? '' : 'Availability', $pb.PbFieldType.OU3, protoName: 'Availability')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SlotGroup clone() => SlotGroup()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SlotGroup copyWith(void Function(SlotGroup) updates) => super.copyWith((message) => updates(message as SlotGroup)) as SlotGroup;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static SlotGroup create() => SlotGroup._();
SlotGroup createEmptyInstance() => create();
static $pb.PbList<SlotGroup> createRepeated() => $pb.PbList<SlotGroup>();
@$core.pragma('dart2js:noInline')
static SlotGroup getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SlotGroup>(create);
static SlotGroup? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<Slot> get slots => $_getList(0);
@$pb.TagNumber(2)
$core.int get availability => $_getIZ(1);
@$pb.TagNumber(2)
set availability($core.int v) { $_setUnsignedInt32(1, v); }
@$pb.TagNumber(2)
$core.bool hasAvailability() => $_has(1);
@$pb.TagNumber(2)
void clearAvailability() => $_clearField(2);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');