GenerateApiTokenRequest_ constructor

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

Implementation

factory GenerateApiTokenRequest_({
  GenerateApiTokenRequest__Never? never,
  GenerateApiTokenRequest__Expires? expires,
  $core.String? authToken,
  $9.Permissions? permissions,
  $core.String? tokenId,
  $core.String? description,
}) {
  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;
  }
  if (description != null) {
    $result.description = description;
  }
  return $result;
}