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
Version:
1
  • Constructor Details

    • ReasonData

      public ReasonData()
      Default constructor
      Since:
      1
    • 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
      Since:
      1