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