Class ErrorResponse
java.lang.Object
net.andresbustamante.yafoot.web.dto.ErrorResponse
@Validated
@Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
date="2025-05-03T17:58:20.830298669Z[Etc/UTC]")
public class ErrorResponse
extends Object
ErrorResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull String
getError()
Get error@NotNull String
Get messagegetPath()
Get pathGet status@NotNull @Valid OffsetDateTime
Get timestampint
hashCode()
void
void
setMessage
(String message) void
void
void
setTimestamp
(OffsetDateTime timestamp) timestamp
(OffsetDateTime timestamp) toString()
-
Constructor Details
-
ErrorResponse
public ErrorResponse()
-
-
Method Details
-
timestamp
-
getTimestamp
Get timestamp- Returns:
- timestamp
-
setTimestamp
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
error
-
getError
Get error- Returns:
- error
-
setError
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
path
-
getPath
Get path- Returns:
- path
-
setPath
-
equals
-
hashCode
public int hashCode() -
toString
-