GetMachineStatusResponse constructor

GetMachineStatusResponse({
  1. Iterable<ResourceStatus>? resources,
  2. ConfigStatus? config,
})

Implementation

factory GetMachineStatusResponse({
  $core.Iterable<ResourceStatus>? resources,
  ConfigStatus? config,
}) {
  final $result = create();
  if (resources != null) {
    $result.resources.addAll(resources);
  }
  if (config != null) {
    $result.config = config;
  }
  return $result;
}