Package com.twitter.clientlib.model
Class ClientForbiddenProblemAllOf
- java.lang.Object
-
- com.twitter.clientlib.model.ClientForbiddenProblemAllOf
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ClientForbiddenProblemAllOf extends ObjectClientForbiddenProblemAllOf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientForbiddenProblemAllOf.CustomTypeAdapterFactorystatic classClientForbiddenProblemAllOf.ReasonEnumGets or Sets reason
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_REASONstatic StringSERIALIZED_NAME_REGISTRATION_URL
-
Constructor Summary
Constructors Constructor Description ClientForbiddenProblemAllOf()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ClientForbiddenProblemAllOffromJson(String jsonString)Create an instance of ClientForbiddenProblemAllOf given an JSON stringClientForbiddenProblemAllOf.ReasonEnumgetReason()Get reasonURIgetRegistrationUrl()Get registrationUrlinthashCode()ClientForbiddenProblemAllOfreason(ClientForbiddenProblemAllOf.ReasonEnum reason)ClientForbiddenProblemAllOfregistrationUrl(URI registrationUrl)voidsetReason(ClientForbiddenProblemAllOf.ReasonEnum reason)voidsetRegistrationUrl(URI registrationUrl)StringtoJson()Convert an instance of ClientForbiddenProblemAllOf to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_REASON
public static final String SERIALIZED_NAME_REASON
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REGISTRATION_URL
public static final String SERIALIZED_NAME_REGISTRATION_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
reason
public ClientForbiddenProblemAllOf reason(ClientForbiddenProblemAllOf.ReasonEnum reason)
-
getReason
@Nullable public ClientForbiddenProblemAllOf.ReasonEnum getReason()
Get reason- Returns:
- reason
-
setReason
public void setReason(ClientForbiddenProblemAllOf.ReasonEnum reason)
-
registrationUrl
public ClientForbiddenProblemAllOf registrationUrl(URI registrationUrl)
-
getRegistrationUrl
@Nullable public URI getRegistrationUrl()
Get registrationUrl- Returns:
- registrationUrl
-
setRegistrationUrl
public void setRegistrationUrl(URI registrationUrl)
-
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 ClientForbiddenProblemAllOf
-
fromJson
public static ClientForbiddenProblemAllOf fromJson(String jsonString) throws IOException
Create an instance of ClientForbiddenProblemAllOf given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ClientForbiddenProblemAllOf
- Throws:
IOException- if the JSON string is invalid with respect to ClientForbiddenProblemAllOf
-
toJson
public String toJson()
Convert an instance of ClientForbiddenProblemAllOf to an JSON string- Returns:
- JSON string
-
-