CloudConfig constructor

CloudConfig({
  1. String? id,
  2. String? fqdn,
  3. String? localFqdn,
  4. String? managedBy,
  5. String? signalingAddress,
  6. bool? signalingInsecure,
  7. @Deprecated('This field is deprecated.') String? locationSecret,
  8. String? secret,
  9. Iterable<LocationSecret>? locationSecrets,
  10. String? primaryOrgId,
  11. String? locationId,
  12. String? machineId,
})

Implementation

factory CloudConfig({
  $core.String? id,
  $core.String? fqdn,
  $core.String? localFqdn,
  $core.String? managedBy,
  $core.String? signalingAddress,
  $core.bool? signalingInsecure,
@$core.Deprecated('This field is deprecated.')
  $core.String? locationSecret,
  $core.String? secret,
  $core.Iterable<LocationSecret>? locationSecrets,
  $core.String? primaryOrgId,
  $core.String? locationId,
  $core.String? machineId,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (fqdn != null) {
    $result.fqdn = fqdn;
  }
  if (localFqdn != null) {
    $result.localFqdn = localFqdn;
  }
  if (managedBy != null) {
    $result.managedBy = managedBy;
  }
  if (signalingAddress != null) {
    $result.signalingAddress = signalingAddress;
  }
  if (signalingInsecure != null) {
    $result.signalingInsecure = signalingInsecure;
  }
  if (locationSecret != null) {
    // ignore: deprecated_member_use_from_same_package
    $result.locationSecret = locationSecret;
  }
  if (secret != null) {
    $result.secret = secret;
  }
  if (locationSecrets != null) {
    $result.locationSecrets.addAll(locationSecrets);
  }
  if (primaryOrgId != null) {
    $result.primaryOrgId = primaryOrgId;
  }
  if (locationId != null) {
    $result.locationId = locationId;
  }
  if (machineId != null) {
    $result.machineId = machineId;
  }
  return $result;
}