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