Package dev.openfga.sdk.api.model
Class InternalErrorMessageResponse
- java.lang.Object
-
- dev.openfga.sdk.api.model.InternalErrorMessageResponse
-
public class InternalErrorMessageResponse extends java.lang.Object
InternalErrorMessageResponse
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JSON_PROPERTY_CODE
static java.lang.String
JSON_PROPERTY_MESSAGE
-
Constructor Summary
Constructors Constructor Description InternalErrorMessageResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalErrorMessageResponse
code(InternalErrorCode code)
boolean
equals(java.lang.Object o)
Return true if this InternalErrorMessageResponse object is equal to o.InternalErrorCode
getCode()
Get codejava.lang.String
getMessage()
Get messageint
hashCode()
InternalErrorMessageResponse
message(java.lang.String message)
void
setCode(InternalErrorCode code)
void
setMessage(java.lang.String message)
java.lang.String
toString()
java.lang.String
toUrlQueryString()
Convert the instance into URL query string.java.lang.String
toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_CODE
public static final java.lang.String JSON_PROPERTY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
public static final java.lang.String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
code
public InternalErrorMessageResponse code(InternalErrorCode code)
-
getCode
@Nullable public InternalErrorCode getCode()
Get code- Returns:
- code
-
setCode
public void setCode(InternalErrorCode code)
-
message
public InternalErrorMessageResponse message(java.lang.String message)
-
getMessage
@Nullable public java.lang.String getMessage()
Get message- Returns:
- message
-
setMessage
public void setMessage(java.lang.String message)
-
equals
public boolean equals(java.lang.Object o)
Return true if this InternalErrorMessageResponse object is equal to 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
-
toUrlQueryString
public java.lang.String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
public java.lang.String toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-
-