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