public void marshall(VideoSelector videoSelector, ProtocolMarshaller protocolMarshaller) {

        if (videoSelector == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(videoSelector.getColorSpace(), COLORSPACE_BINDING);
            protocolMarshaller.marshall(videoSelector.getColorSpaceUsage(), COLORSPACEUSAGE_BINDING);
            protocolMarshaller.marshall(videoSelector.getHdr10Metadata(), HDR10METADATA_BINDING);
            protocolMarshaller.marshall(videoSelector.getPid(), PID_BINDING);
            protocolMarshaller.marshall(videoSelector.getProgramNumber(), PROGRAMNUMBER_BINDING);
            protocolMarshaller.marshall(videoSelector.getRotate(), ROTATE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( VideoSelector videoSelector , ProtocolMarshaller protocolMarshaller ) { if ( videoSelector == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( videoSelector . getColorSpace ( ) , COLORSPACE_BINDING ) ; protocolMarshaller . marshall ( videoSelector . getColorSpaceUsage ( ) , COLORSPACEUSAGE_BINDING ) ; protocolMarshaller . marshall ( videoSelector . getHdr10Metadata ( ) , HDR10METADATA_BINDING ) ; protocolMarshaller . marshall ( videoSelector . getPid ( ) , PID_BINDING ) ; protocolMarshaller . marshall ( videoSelector . getProgramNumber ( ) , PROGRAMNUMBER_BINDING ) ; protocolMarshaller . marshall ( videoSelector . getRotate ( ) , ROTATE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.