Package model
Class Error401UnauthorizedEmbeddedErrorsInner
- java.lang.Object
-
- model.Error401UnauthorizedEmbeddedErrorsInner
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Error401UnauthorizedEmbeddedErrorsInner extends Object
Error401UnauthorizedEmbeddedErrorsInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classError401UnauthorizedEmbeddedErrorsInner.CodeEnumGets or Sets codestatic classError401UnauthorizedEmbeddedErrorsInner.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CODEstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_LOGREFstatic StringSERIALIZED_NAME_MESSAGE
-
Constructor Summary
Constructors Constructor Description Error401UnauthorizedEmbeddedErrorsInner()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_CODE
public static final String SERIALIZED_NAME_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOGREF
public static final String SERIALIZED_NAME_LOGREF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
code
public Error401UnauthorizedEmbeddedErrorsInner code(Error401UnauthorizedEmbeddedErrorsInner.CodeEnum code)
-
getCode
@Nullable public Error401UnauthorizedEmbeddedErrorsInner.CodeEnum getCode()
Get code- Returns:
- code
-
setCode
public void setCode(Error401UnauthorizedEmbeddedErrorsInner.CodeEnum code)
-
logref
public Error401UnauthorizedEmbeddedErrorsInner logref(LogRef logref)
-
setLogref
public void setLogref(LogRef logref)
-
message
public Error401UnauthorizedEmbeddedErrorsInner message(String message)
-
setMessage
public void setMessage(String message)
-
links
public Error401UnauthorizedEmbeddedErrorsInner links(Error401UnauthorizedEmbeddedErrorsInnerLinks links)
-
getLinks
@Nullable public Error401UnauthorizedEmbeddedErrorsInnerLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(Error401UnauthorizedEmbeddedErrorsInnerLinks links)
-
putAdditionalProperty
public Error401UnauthorizedEmbeddedErrorsInner putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Error401UnauthorizedEmbeddedErrorsInner
-
fromJson
public static Error401UnauthorizedEmbeddedErrorsInner fromJson(String jsonString) throws IOException
Create an instance of Error401UnauthorizedEmbeddedErrorsInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Error401UnauthorizedEmbeddedErrorsInner
- Throws:
IOException- if the JSON string is invalid with respect to Error401UnauthorizedEmbeddedErrorsInner
-
toJson
public String toJson()
Convert an instance of Error401UnauthorizedEmbeddedErrorsInner to an JSON string- Returns:
- JSON string
-
-