Class DisplayResponse


  • public class DisplayResponse
    extends Object
    It conveys the result of the display, parallel to the message request, except if response not required and absent. Content of the Display Response message.
    • Constructor Detail

      • DisplayResponse

        public DisplayResponse()
    • Method Detail

      • outputResult

        public DisplayResponse outputResult​(List<OutputResult> outputResult)
        Information related to the result the output (display, print, input). One per DisplayOutput item of the request, and in the same order.
        Parameters:
        outputResult - Information related to the result the output (display, print, input). One per DisplayOutput item of the request, and in the same order.
        Returns:
        the current DisplayResponse instance, allowing for method chaining
      • getOutputResult

        public List<OutputResult> getOutputResult()
        Information related to the result the output (display, print, input). One per DisplayOutput item of the request, and in the same order.
        Returns:
        outputResult Information related to the result the output (display, print, input). One per DisplayOutput item of the request, and in the same order.
      • setOutputResult

        public void setOutputResult​(List<OutputResult> outputResult)
        Information related to the result the output (display, print, input). One per DisplayOutput item of the request, and in the same order.
        Parameters:
        outputResult - Information related to the result the output (display, print, input). One per DisplayOutput item of the request, and in the same order.
      • includeNullValues

        public DisplayResponse includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

        public boolean equals​(Object o)
        Return true if this DisplayResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

        public static DisplayResponse fromJson​(String jsonString)
                                        throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of DisplayResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of DisplayResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to DisplayResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of DisplayResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException