Class Revision
- java.lang.Object
-
- com.styra.opa.openapi.models.shared.Revision
-
public class Revision extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Revision.Builder
-
Constructor Summary
Constructors Constructor Description Revision(java.lang.String revision)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Revision.Builder
builder()
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
revision()
java.lang.String
toString()
Revision
withRevision(java.lang.String revision)
-
-
-
Method Detail
-
revision
public java.lang.String revision()
-
builder
public static final Revision.Builder builder()
-
withRevision
public Revision withRevision(java.lang.String revision)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-