DnsAuthorization constructor

DnsAuthorization({
  1. String? name,
  2. Timestamp? createTime,
  3. Timestamp? updateTime,
  4. Map<String, String>? labels,
  5. String? description,
  6. String? domain,
  7. DnsAuthorization_DnsResourceRecord? dnsResourceRecord,
})

Implementation

factory DnsAuthorization({
  $core.String? name,
  $2.Timestamp? createTime,
  $2.Timestamp? updateTime,
  $core.Map<$core.String, $core.String>? labels,
  $core.String? description,
  $core.String? domain,
  DnsAuthorization_DnsResourceRecord? dnsResourceRecord,
}) {
  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 (description != null) {
    $result.description = description;
  }
  if (domain != null) {
    $result.domain = domain;
  }
  if (dnsResourceRecord != null) {
    $result.dnsResourceRecord = dnsResourceRecord;
  }
  return $result;
}