code: public void marshall(RestApi restApi, ProtocolMarshaller protocolMarshaller) {
  
          if (restApi == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(restApi.getId(), ID_BINDING);
              protocolMarshaller.marshall(restApi.getName(), NAME_BINDING);
              protocolMarshaller.marshall(restApi.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(restApi.getCreatedDate(), CREATEDDATE_BINDING);
              protocolMarshaller.marshall(restApi.getVersion(), VERSION_BINDING);
              protocolMarshaller.marshall(restApi.getWarnings(), WARNINGS_BINDING);
              protocolMarshaller.marshall(restApi.getBinaryMediaTypes(), BINARYMEDIATYPES_BINDING);
              protocolMarshaller.marshall(restApi.getMinimumCompressionSize(), MINIMUMCOMPRESSIONSIZE_BINDING);
              protocolMarshaller.marshall(restApi.getApiKeySource(), APIKEYSOURCE_BINDING);
              protocolMarshaller.marshall(restApi.getEndpointConfiguration(), ENDPOINTCONFIGURATION_BINDING);
              protocolMarshaller.marshall(restApi.getPolicy(), POLICY_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.