GetMachineStatusResponse constructor

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

Implementation

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