GenerateApiTokenRequest_ constructor

GenerateApiTokenRequest_({
  1. GenerateApiTokenRequest__Never? never,
  2. GenerateApiTokenRequest__Expires? expires,
  3. String? authToken,
  4. Permissions? permissions,
  5. String? tokenId,
})

Implementation

factory GenerateApiTokenRequest_({
  GenerateApiTokenRequest__Never? never,
  GenerateApiTokenRequest__Expires? expires,
  $core.String? authToken,
  $9.Permissions? permissions,
  $core.String? tokenId,
}) {
  final $result = create();
  if (never != null) {
    $result.never = never;
  }
  if (expires != null) {
    $result.expires = expires;
  }
  if (authToken != null) {
    $result.authToken = authToken;
  }
  if (permissions != null) {
    $result.permissions = permissions;
  }
  if (tokenId != null) {
    $result.tokenId = tokenId;
  }
  return $result;
}