GrantedProject constructor
GrantedProject({})
Implementation
factory GrantedProject({
$core.String? grantId,
$core.String? grantedOrgId,
$core.String? grantedOrgName,
$core.Iterable<$core.String>? grantedRoleKeys,
ProjectGrantState? state,
$core.String? projectId,
$core.String? projectName,
$core.String? projectOwnerId,
$core.String? projectOwnerName,
$7.ObjectDetails? details,
}) {
final _result = create();
if (grantId != null) {
_result.grantId = grantId;
}
if (grantedOrgId != null) {
_result.grantedOrgId = grantedOrgId;
}
if (grantedOrgName != null) {
_result.grantedOrgName = grantedOrgName;
}
if (grantedRoleKeys != null) {
_result.grantedRoleKeys.addAll(grantedRoleKeys);
}
if (state != null) {
_result.state = state;
}
if (projectId != null) {
_result.projectId = projectId;
}
if (projectName != null) {
_result.projectName = projectName;
}
if (projectOwnerId != null) {
_result.projectOwnerId = projectOwnerId;
}
if (projectOwnerName != null) {
_result.projectOwnerName = projectOwnerName;
}
if (details != null) {
_result.details = details;
}
return _result;
}