GenerateApiTokenResponse_ constructor

GenerateApiTokenResponse_({
  1. String? apiKey,
  2. String? refreshToken,
  3. String? endpoint,
  4. Int64? validUntil,
})

Implementation

factory GenerateApiTokenResponse_({
  $core.String? apiKey,
  $core.String? refreshToken,
  $core.String? endpoint,
  $fixnum.Int64? validUntil,
}) {
  final $result = create();
  if (apiKey != null) {
    $result.apiKey = apiKey;
  }
  if (refreshToken != null) {
    $result.refreshToken = refreshToken;
  }
  if (endpoint != null) {
    $result.endpoint = endpoint;
  }
  if (validUntil != null) {
    $result.validUntil = validUntil;
  }
  return $result;
}