CertificateMapEntry constructor

CertificateMapEntry({
  1. String? name,
  2. Timestamp? createTime,
  3. Timestamp? updateTime,
  4. Map<String, String>? labels,
  5. String? hostname,
  6. Iterable<String>? certificates,
  7. ServingState? state,
  8. String? description,
  9. CertificateMapEntry_Matcher? matcher,
})

Implementation

factory CertificateMapEntry({
  $core.String? name,
  $2.Timestamp? createTime,
  $2.Timestamp? updateTime,
  $core.Map<$core.String, $core.String>? labels,
  $core.String? hostname,
  $core.Iterable<$core.String>? certificates,
  ServingState? state,
  $core.String? description,
  CertificateMapEntry_Matcher? matcher,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (createTime != null) {
    $result.createTime = createTime;
  }
  if (updateTime != null) {
    $result.updateTime = updateTime;
  }
  if (labels != null) {
    $result.labels.addAll(labels);
  }
  if (hostname != null) {
    $result.hostname = hostname;
  }
  if (certificates != null) {
    $result.certificates.addAll(certificates);
  }
  if (state != null) {
    $result.state = state;
  }
  if (description != null) {
    $result.description = description;
  }
  if (matcher != null) {
    $result.matcher = matcher;
  }
  return $result;
}