docs: public void marshall(HlsPackage hlsPackage, ProtocolMarshaller protocolMarshaller) {
  
          if (hlsPackage == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(hlsPackage.getAdMarkers(), ADMARKERS_BINDING);
              protocolMarshaller.marshall(hlsPackage.getEncryption(), ENCRYPTION_BINDING);
              protocolMarshaller.marshall(hlsPackage.getIncludeIframeOnlyStream(), INCLUDEIFRAMEONLYSTREAM_BINDING);
              protocolMarshaller.marshall(hlsPackage.getPlaylistType(), PLAYLISTTYPE_BINDING);
              protocolMarshaller.marshall(hlsPackage.getPlaylistWindowSeconds(), PLAYLISTWINDOWSECONDS_BINDING);
              protocolMarshaller.marshall(hlsPackage.getProgramDateTimeIntervalSeconds(), PROGRAMDATETIMEINTERVALSECONDS_BINDING);
              protocolMarshaller.marshall(hlsPackage.getSegmentDurationSeconds(), SEGMENTDURATIONSECONDS_BINDING);
              protocolMarshaller.marshall(hlsPackage.getStreamSelection(), STREAMSELECTION_BINDING);
              protocolMarshaller.marshall(hlsPackage.getUseAudioRenditionGroup(), USEAUDIORENDITIONGROUP_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }