Class ResponseResource<Type>

  • Type Parameters:
    Type - The type of the object to be displayed in the response

    public class ResponseResource<Type>
    extends java.lang.Object
    The resource for displaying the API responses.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Type getResource()  
      java.util.List<java.lang.String> getWarnings()  
      void setWarnings​(java.util.List<java.lang.String> warnings)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResponseResource

        public ResponseResource​(Type resource)
    • Method Detail

      • getResource

        public Type getResource()
      • getWarnings

        public java.util.List<java.lang.String> getWarnings()
      • setWarnings

        public void setWarnings​(java.util.List<java.lang.String> warnings)