Package dev.openfga.sdk.api.model
Class UnprocessableContentMessageResponse
- java.lang.Object
-
- dev.openfga.sdk.api.model.UnprocessableContentMessageResponse
-
public class UnprocessableContentMessageResponse extends java.lang.Object
UnprocessableContentMessageResponse
-
-
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 UnprocessableContentMessageResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnprocessableContentMessageResponse
code(UnprocessableContentErrorCode code)
boolean
equals(java.lang.Object o)
Return true if this UnprocessableContentMessageResponse object is equal to o.UnprocessableContentErrorCode
getCode()
Get codejava.lang.String
getMessage()
Get messageint
hashCode()
UnprocessableContentMessageResponse
message(java.lang.String message)
void
setCode(UnprocessableContentErrorCode 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 UnprocessableContentMessageResponse code(UnprocessableContentErrorCode code)
-
getCode
@Nullable public UnprocessableContentErrorCode getCode()
Get code- Returns:
- code
-
setCode
public void setCode(UnprocessableContentErrorCode code)
-
message
public UnprocessableContentMessageResponse 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 UnprocessableContentMessageResponse 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
-
-