Class Return<T>

  • Type Parameters:
    T - The type of the value this result holds.

    public class Return<T>
    extends java.lang.Object
    Represents a Salt API result.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T result  
    • Constructor Summary

      Constructors 
      Constructor Description
      Return()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getResult()
      Returns the value of this result.
      • Methods inherited from class java.lang.Object

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

      • result

        @SerializedName("return")
        private T result
    • Constructor Detail

      • Return

        public Return()
    • Method Detail

      • getResult

        public T getResult()
        Returns the value of this result.
        Returns:
        The value of this result.