DatacenterConnector constructor

DatacenterConnector({
  1. Timestamp? createTime,
  2. Timestamp? updateTime,
  3. String? name,
  4. String? serviceAccount,
  5. String? version,
  6. DatacenterConnector_State? state,
  7. Timestamp? stateTime,
  8. String? bucket,
  9. Status? error,
  10. String? registrationId,
  11. String? applianceInfrastructureVersion,
  12. String? applianceSoftwareVersion,
  13. AvailableUpdates? availableVersions,
  14. UpgradeStatus? upgradeStatus,
})

Implementation

factory DatacenterConnector({
  $2.Timestamp? createTime,
  $2.Timestamp? updateTime,
  $core.String? name,
  $core.String? serviceAccount,
  $core.String? version,
  DatacenterConnector_State? state,
  $2.Timestamp? stateTime,
  $core.String? bucket,
  $19.Status? error,
  $core.String? registrationId,
  $core.String? applianceInfrastructureVersion,
  $core.String? applianceSoftwareVersion,
  AvailableUpdates? availableVersions,
  UpgradeStatus? upgradeStatus,
}) {
  final $result = create();
  if (createTime != null) {
    $result.createTime = createTime;
  }
  if (updateTime != null) {
    $result.updateTime = updateTime;
  }
  if (name != null) {
    $result.name = name;
  }
  if (serviceAccount != null) {
    $result.serviceAccount = serviceAccount;
  }
  if (version != null) {
    $result.version = version;
  }
  if (state != null) {
    $result.state = state;
  }
  if (stateTime != null) {
    $result.stateTime = stateTime;
  }
  if (bucket != null) {
    $result.bucket = bucket;
  }
  if (error != null) {
    $result.error = error;
  }
  if (registrationId != null) {
    $result.registrationId = registrationId;
  }
  if (applianceInfrastructureVersion != null) {
    $result.applianceInfrastructureVersion = applianceInfrastructureVersion;
  }
  if (applianceSoftwareVersion != null) {
    $result.applianceSoftwareVersion = applianceSoftwareVersion;
  }
  if (availableVersions != null) {
    $result.availableVersions = availableVersions;
  }
  if (upgradeStatus != null) {
    $result.upgradeStatus = upgradeStatus;
  }
  return $result;
}