Class DataPassthroughRequest


  • public final class DataPassthroughRequest
    extends java.lang.Object
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Returns:
        The path of the request in the third party's platform.
      • getBaseUrlOverride

        public java.util.Optional<java.lang.String> getBaseUrlOverride()
        Returns:
        An optional override of the third party's base url for the request.
      • getData

        public java.util.Optional<java.lang.String> getData()
        Returns:
        The data with the request. You must include a request_format parameter matching the data's format
      • getMultipartFormData

        public java.util.Optional<java.util.List<MultipartFormFieldRequest>> getMultipartFormData()
        Returns:
        Pass an array of MultipartFormField objects in here instead of using the data param if request_format is set to MULTIPART.
      • getHeaders

        public java.util.Optional<java.util.Map<java.lang.String,​com.fasterxml.jackson.databind.JsonNode>> getHeaders()
        Returns:
        The headers to use for the request (Merge will handle the account's authorization headers). Content-Type header is required for passthrough. Choose content type corresponding to expected format of receiving server.
      • getNormalizeResponse

        public java.util.Optional<java.lang.Boolean> getNormalizeResponse()
        Returns:
        Optional. If true, the response will always be an object of the form {"type": T, "value": ...} where T will be one of string, boolean, number, null, array, object.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object