Package com.twitter.clientlib.model
Class ResourceUnavailableProblemAllOf
- java.lang.Object
-
- com.twitter.clientlib.model.ResourceUnavailableProblemAllOf
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ResourceUnavailableProblemAllOf extends Object
ResourceUnavailableProblemAllOf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceUnavailableProblemAllOf.CustomTypeAdapterFactory
static class
ResourceUnavailableProblemAllOf.ResourceTypeEnum
Gets or Sets resourceType
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_PARAMETER
static String
SERIALIZED_NAME_RESOURCE_ID
static String
SERIALIZED_NAME_RESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description ResourceUnavailableProblemAllOf()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_PARAMETER
public static final String SERIALIZED_NAME_PARAMETER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESOURCE_ID
public static final String SERIALIZED_NAME_RESOURCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESOURCE_TYPE
public static final String SERIALIZED_NAME_RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parameter
public ResourceUnavailableProblemAllOf parameter(String parameter)
-
setParameter
public void setParameter(String parameter)
-
resourceId
public ResourceUnavailableProblemAllOf resourceId(String resourceId)
-
setResourceId
public void setResourceId(String resourceId)
-
resourceType
public ResourceUnavailableProblemAllOf resourceType(ResourceUnavailableProblemAllOf.ResourceTypeEnum resourceType)
-
getResourceType
@Nonnull public ResourceUnavailableProblemAllOf.ResourceTypeEnum getResourceType()
Get resourceType- Returns:
- resourceType
-
setResourceType
public void setResourceType(ResourceUnavailableProblemAllOf.ResourceTypeEnum resourceType)
-
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 ResourceUnavailableProblemAllOf
-
fromJson
public static ResourceUnavailableProblemAllOf fromJson(String jsonString) throws IOException
Create an instance of ResourceUnavailableProblemAllOf given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ResourceUnavailableProblemAllOf
- Throws:
IOException
- if the JSON string is invalid with respect to ResourceUnavailableProblemAllOf
-
toJson
public String toJson()
Convert an instance of ResourceUnavailableProblemAllOf to an JSON string- Returns:
- JSON string
-
-