@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class SetInboxFavouritedOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SetInboxFavouritedOptions.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_STATE |
Constructor and Description |
---|
SetInboxFavouritedOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static SetInboxFavouritedOptions |
fromJson(String jsonString)
Create an instance of SetInboxFavouritedOptions given an JSON string
|
Boolean |
getState()
Is the inbox a favorite.
|
int |
hashCode() |
void |
setState(Boolean state) |
SetInboxFavouritedOptions |
state(Boolean state) |
String |
toJson()
Convert an instance of SetInboxFavouritedOptions to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_STATE
public SetInboxFavouritedOptions state(Boolean state)
@Nonnull public Boolean getState()
public void setState(Boolean state)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to SetInboxFavouritedOptionspublic static SetInboxFavouritedOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to SetInboxFavouritedOptionspublic String toJson()
Copyright © 2023. All rights reserved.