Class InspectionDataRequest

    • Method Detail

      • protocol

        public final String protocol()

        The protocol used to make the HTTP request.

        Returns:
        The protocol used to make the HTTP request.
      • method

        public final String method()

        The HTTP method used for the HTTP request.

        Returns:
        The HTTP method used for the HTTP request.
      • url

        public final String url()

        The API endpoint used for the HTTP request.

        Returns:
        The API endpoint used for the HTTP request.
      • headers

        public final String headers()

        The request headers associated with the HTTP request.

        Returns:
        The request headers associated with the HTTP request.
      • body

        public final String body()

        The request body for the HTTP request.

        Returns:
        The request body for the HTTP request.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)