Class ServiceNameRevPair

java.lang.Object
dev.restate.admin.model.ServiceNameRevPair

public class ServiceNameRevPair extends Object
ServiceNameRevPair
  • Field Details

  • Constructor Details

    • ServiceNameRevPair

      public ServiceNameRevPair()
  • Method Details

    • name

      public ServiceNameRevPair name(String name)
    • getName

      @Nonnull public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(String name)
    • revision

      public ServiceNameRevPair revision(Integer revision)
    • getRevision

      @Nonnull public Integer getRevision()
      Get revision minimum: 0
      Returns:
      revision
    • setRevision

      public void setRevision(Integer revision)
    • equals

      public boolean equals(Object o)
      Return true if this ServiceNameRevPair object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string