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 Object
ClientForbiddenProblemAllOf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientForbiddenProblemAllOf.CustomTypeAdapterFactory
static class
ClientForbiddenProblemAllOf.ReasonEnum
Gets or Sets reason
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_REASON
static String
SERIALIZED_NAME_REGISTRATION_URL
-
Constructor Summary
Constructors Constructor Description ClientForbiddenProblemAllOf()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static ClientForbiddenProblemAllOf
fromJson(String jsonString)
Create an instance of ClientForbiddenProblemAllOf given an JSON stringClientForbiddenProblemAllOf.ReasonEnum
getReason()
Get reasonURL
getRegistrationUrl()
Get registrationUrlint
hashCode()
ClientForbiddenProblemAllOf
reason(ClientForbiddenProblemAllOf.ReasonEnum reason)
ClientForbiddenProblemAllOf
registrationUrl(URL registrationUrl)
void
setReason(ClientForbiddenProblemAllOf.ReasonEnum reason)
void
setRegistrationUrl(URL registrationUrl)
String
toJson()
Convert an instance of ClientForbiddenProblemAllOf to an JSON stringString
toString()
static void
validateJsonObject(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(URL registrationUrl)
-
getRegistrationUrl
@Nullable public URL getRegistrationUrl()
Get registrationUrl- Returns:
- registrationUrl
-
setRegistrationUrl
public void setRegistrationUrl(URL registrationUrl)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
Validates 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
-
-