Package dev.restate.admin.model
Class ServiceNameRevPair
java.lang.Object
dev.restate.admin.model.ServiceNameRevPair
ServiceNameRevPair
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this ServiceNameRevPair object is equal to o.getName()
Get nameGet revision minimum: 0int
hashCode()
void
void
setRevision
(Integer revision) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_REVISION
- See Also:
-
-
Constructor Details
-
ServiceNameRevPair
public ServiceNameRevPair()
-
-
Method Details
-
name
-
getName
Get name- Returns:
- name
-
setName
-
revision
-
getRevision
Get revision minimum: 0- Returns:
- revision
-
setRevision
-
equals
Return true if this ServiceNameRevPair object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-