AddPersonalAccessTokenRequest constructor

AddPersonalAccessTokenRequest({
  1. String? userId,
  2. Timestamp? expirationDate,
})

Implementation

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