docs: public void marshall(CreateConstraintRequest createConstraintRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createConstraintRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createConstraintRequest.getAcceptLanguage(), ACCEPTLANGUAGE_BINDING);
              protocolMarshaller.marshall(createConstraintRequest.getPortfolioId(), PORTFOLIOID_BINDING);
              protocolMarshaller.marshall(createConstraintRequest.getProductId(), PRODUCTID_BINDING);
              protocolMarshaller.marshall(createConstraintRequest.getParameters(), PARAMETERS_BINDING);
              protocolMarshaller.marshall(createConstraintRequest.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(createConstraintRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(createConstraintRequest.getIdempotencyToken(), IDEMPOTENCYTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }