docs: public void marshall(CaptionSourceSettings captionSourceSettings, ProtocolMarshaller protocolMarshaller) {
  
          if (captionSourceSettings == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(captionSourceSettings.getAncillarySourceSettings(), ANCILLARYSOURCESETTINGS_BINDING);
              protocolMarshaller.marshall(captionSourceSettings.getDvbSubSourceSettings(), DVBSUBSOURCESETTINGS_BINDING);
              protocolMarshaller.marshall(captionSourceSettings.getEmbeddedSourceSettings(), EMBEDDEDSOURCESETTINGS_BINDING);
              protocolMarshaller.marshall(captionSourceSettings.getFileSourceSettings(), FILESOURCESETTINGS_BINDING);
              protocolMarshaller.marshall(captionSourceSettings.getSourceType(), SOURCETYPE_BINDING);
              protocolMarshaller.marshall(captionSourceSettings.getTeletextSourceSettings(), TELETEXTSOURCESETTINGS_BINDING);
              protocolMarshaller.marshall(captionSourceSettings.getTrackSourceSettings(), TRACKSOURCESETTINGS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }