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,
$0.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;
}