docs: public void marshall(EndpointRequest endpointRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (endpointRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(endpointRequest.getAddress(), ADDRESS_BINDING);
              protocolMarshaller.marshall(endpointRequest.getAttributes(), ATTRIBUTES_BINDING);
              protocolMarshaller.marshall(endpointRequest.getChannelType(), CHANNELTYPE_BINDING);
              protocolMarshaller.marshall(endpointRequest.getDemographic(), DEMOGRAPHIC_BINDING);
              protocolMarshaller.marshall(endpointRequest.getEffectiveDate(), EFFECTIVEDATE_BINDING);
              protocolMarshaller.marshall(endpointRequest.getEndpointStatus(), ENDPOINTSTATUS_BINDING);
              protocolMarshaller.marshall(endpointRequest.getLocation(), LOCATION_BINDING);
              protocolMarshaller.marshall(endpointRequest.getMetrics(), METRICS_BINDING);
              protocolMarshaller.marshall(endpointRequest.getOptOut(), OPTOUT_BINDING);
              protocolMarshaller.marshall(endpointRequest.getRequestId(), REQUESTID_BINDING);
              protocolMarshaller.marshall(endpointRequest.getUser(), USER_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }