AddMachineKeyRequest constructor

AddMachineKeyRequest({
  1. String? userId,
  2. KeyType? type,
  3. Timestamp? expirationDate,
})

Implementation

factory AddMachineKeyRequest({
  $core.String? userId,
  $15.KeyType? type,
  $6.Timestamp? expirationDate,
}) {
  final $result = create();
  if (userId != null) {
    $result.userId = userId;
  }
  if (type != null) {
    $result.type = type;
  }
  if (expirationDate != null) {
    $result.expirationDate = expirationDate;
  }
  return $result;
}