UpdateProjectGrantMemberRequest constructor

UpdateProjectGrantMemberRequest({
  1. String? projectId,
  2. String? grantId,
  3. String? userId,
  4. Iterable<String>? roles,
})

Implementation

factory UpdateProjectGrantMemberRequest({
  $core.String? projectId,
  $core.String? grantId,
  $core.String? userId,
  $core.Iterable<$core.String>? roles,
}) {
  final $result = create();
  if (projectId != null) {
    $result.projectId = projectId;
  }
  if (grantId != null) {
    $result.grantId = grantId;
  }
  if (userId != null) {
    $result.userId = userId;
  }
  if (roles != null) {
    $result.roles.addAll(roles);
  }
  return $result;
}