CloudConfig constructor
CloudConfig({ - String? id,
- String? fqdn,
- String? localFqdn,
- String? managedBy,
- String? signalingAddress,
- bool? signalingInsecure,
- @Deprecated('This field is deprecated.') String? locationSecret,
- String? secret,
- Iterable<LocationSecret>? locationSecrets,
- String? primaryOrgId,
- String? locationId,
- 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;
}