Class Ref

java.lang.Object
com.ngrok.definitions.Ref

public class Ref extends Object
A class encapsulating the Ref resource.
  • Constructor Details

    • Ref

      public Ref(String id, URI uri)
      Creates a new instance of Ref.
      Parameters:
      id - a resource identifier
      uri - a uri for locating a resource
  • Method Details

    • getId

      public String getId()
      a resource identifier
      Returns:
      the value of the property as a String
    • getUri

      public URI getUri()
      a uri for locating a resource
      Returns:
      the value of the property as a URI
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object