Class ReasonData


public class ReasonData extends JsonViewWrapper
Optional data that is associated with a reason code. This contains data and view fields. When converting to json, the data will be serialized using the specified view.
Since:
1.0
Version:
2022-12-20
  • Constructor Details

    • ReasonData

      public ReasonData()
      Default constructor
    • ReasonData

      public ReasonData(Object data, Class<?> view)
      Create ReasonData with data and view.
      Parameters:
      data - the data
      view - the view to apply to the data