code: public void marshall(HlsManifest hlsManifest, ProtocolMarshaller protocolMarshaller) {
  
          if (hlsManifest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(hlsManifest.getAdMarkers(), ADMARKERS_BINDING);
              protocolMarshaller.marshall(hlsManifest.getId(), ID_BINDING);
              protocolMarshaller.marshall(hlsManifest.getIncludeIframeOnlyStream(), INCLUDEIFRAMEONLYSTREAM_BINDING);
              protocolMarshaller.marshall(hlsManifest.getManifestName(), MANIFESTNAME_BINDING);
              protocolMarshaller.marshall(hlsManifest.getPlaylistType(), PLAYLISTTYPE_BINDING);
              protocolMarshaller.marshall(hlsManifest.getPlaylistWindowSeconds(), PLAYLISTWINDOWSECONDS_BINDING);
              protocolMarshaller.marshall(hlsManifest.getProgramDateTimeIntervalSeconds(), PROGRAMDATETIMEINTERVALSECONDS_BINDING);
              protocolMarshaller.marshall(hlsManifest.getUrl(), URL_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.