You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -4540,14 +4540,21 @@ class SiteProjectAptTypeBookingActorsContext extends $pb.GeneratedMessage {
|
||||
void clearActorName() => $_clearField(3);
|
||||
}
|
||||
|
||||
/// User should only set either (ActorID & ProjectID) OR SiteID alone.
|
||||
/// Validation: exactly one of the two options must be provided:
|
||||
/// - Option 1: both ProjectID and ActorID must be set (non-empty)
|
||||
/// - Option 2: SiteID must be set (non-empty)
|
||||
/// Setting both options or neither will be rejected.
|
||||
class InitBookerProfileRequest extends $pb.GeneratedMessage {
|
||||
factory InitBookerProfileRequest({
|
||||
$core.String? projectID,
|
||||
$core.String? actorID,
|
||||
$core.String? siteID,
|
||||
}) {
|
||||
final result = create();
|
||||
if (projectID != null) result.projectID = projectID;
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
if (siteID != null) result.siteID = siteID;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -4559,6 +4566,7 @@ class InitBookerProfileRequest extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InitBookerProfileRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..aOS(3, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -4596,6 +4604,15 @@ class InitBookerProfileRequest extends $pb.GeneratedMessage {
|
||||
$core.bool hasActorID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearActorID() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get siteID => $_getSZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set siteID($core.String value) => $_setString(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasSiteID() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearSiteID() => $_clearField(3);
|
||||
}
|
||||
|
||||
class InitBookerProfileResponse extends $pb.GeneratedMessage {
|
||||
|
||||
Reference in New Issue
Block a user