CreateOrganizationInviteRequest constructor

CreateOrganizationInviteRequest({
  1. String? organizationId,
  2. String? email,
  3. Iterable<Authorization>? authorizations,
  4. bool? sendEmailInvite,
})

Implementation

factory CreateOrganizationInviteRequest({
  $core.String? organizationId,
  $core.String? email,
  $core.Iterable<Authorization>? authorizations,
  $core.bool? sendEmailInvite,
}) {
  final $result = create();
  if (organizationId != null) {
    $result.organizationId = organizationId;
  }
  if (email != null) {
    $result.email = email;
  }
  if (authorizations != null) {
    $result.authorizations.addAll(authorizations);
  }
  if (sendEmailInvite != null) {
    $result.sendEmailInvite = sendEmailInvite;
  }
  return $result;
}