code: public void marshall(OperatingSystem operatingSystem, ProtocolMarshaller protocolMarshaller) {
  
          if (operatingSystem == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(operatingSystem.getName(), NAME_BINDING);
              protocolMarshaller.marshall(operatingSystem.getId(), ID_BINDING);
              protocolMarshaller.marshall(operatingSystem.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(operatingSystem.getConfigurationManagers(), CONFIGURATIONMANAGERS_BINDING);
              protocolMarshaller.marshall(operatingSystem.getReportedName(), REPORTEDNAME_BINDING);
              protocolMarshaller.marshall(operatingSystem.getReportedVersion(), REPORTEDVERSION_BINDING);
              protocolMarshaller.marshall(operatingSystem.getSupported(), SUPPORTED_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.