code: public void marshall(CreateOriginEndpointRequest createOriginEndpointRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createOriginEndpointRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createOriginEndpointRequest.getChannelId(), CHANNELID_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getCmafPackage(), CMAFPACKAGE_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getDashPackage(), DASHPACKAGE_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getHlsPackage(), HLSPACKAGE_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getId(), ID_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getManifestName(), MANIFESTNAME_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getMssPackage(), MSSPACKAGE_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getStartoverWindowSeconds(), STARTOVERWINDOWSECONDS_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getTags(), TAGS_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getTimeDelaySeconds(), TIMEDELAYSECONDS_BINDING);
              protocolMarshaller.marshall(createOriginEndpointRequest.getWhitelist(), WHITELIST_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.