Class Location
- java.lang.Object
-
- com.styra.opa.openapi.models.errors.Location
-
public class Location extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Location.Builder
-
Constructor Summary
Constructors Constructor Description Location(java.lang.String file, long row, long col)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Location.Builder
builder()
long
col()
boolean
equals(java.lang.Object o)
java.lang.String
file()
int
hashCode()
long
row()
java.lang.String
toString()
Location
withCol(long col)
Location
withFile(java.lang.String file)
Location
withRow(long row)
-
-
-
Method Detail
-
file
public java.lang.String file()
-
row
public long row()
-
col
public long col()
-
builder
public static final Location.Builder builder()
-
withFile
public Location withFile(java.lang.String file)
-
withRow
public Location withRow(long row)
-
withCol
public Location withCol(long col)
-
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
-
-