Membership constructor
Membership({})
Implementation
factory Membership({
$core.String? userId,
$0.ObjectDetails? details,
$core.Iterable<$core.String>? roles,
$core.String? displayName,
$core.bool? iam,
$core.String? orgId,
$core.String? projectId,
$core.String? projectGrantId,
}) {
final result = create();
if (userId != null) result.userId = userId;
if (details != null) result.details = details;
if (roles != null) result.roles.addAll(roles);
if (displayName != null) result.displayName = displayName;
if (iam != null) result.iam = iam;
if (orgId != null) result.orgId = orgId;
if (projectId != null) result.projectId = projectId;
if (projectGrantId != null) result.projectGrantId = projectGrantId;
return result;
}