@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ConditionOption extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConditionOption.ConditionEnum
Condition of an email object that can be used to filter results
|
static class |
ConditionOption.CustomTypeAdapterFactory |
static class |
ConditionOption.ValueEnum
Expected condition value
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONDITION |
static String |
SERIALIZED_NAME_VALUE |
Constructor and Description |
---|
ConditionOption() |
Modifier and Type | Method and Description |
---|---|
ConditionOption |
condition(ConditionOption.ConditionEnum condition) |
boolean |
equals(Object o) |
static ConditionOption |
fromJson(String jsonString)
Create an instance of ConditionOption given an JSON string
|
ConditionOption.ConditionEnum |
getCondition()
Condition of an email object that can be used to filter results
|
ConditionOption.ValueEnum |
getValue()
Expected condition value
|
int |
hashCode() |
void |
setCondition(ConditionOption.ConditionEnum condition) |
void |
setValue(ConditionOption.ValueEnum value) |
String |
toJson()
Convert an instance of ConditionOption 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
|
ConditionOption |
value(ConditionOption.ValueEnum value) |
public static final String SERIALIZED_NAME_CONDITION
public static final String SERIALIZED_NAME_VALUE
public ConditionOption condition(ConditionOption.ConditionEnum condition)
@Nonnull public ConditionOption.ConditionEnum getCondition()
public void setCondition(ConditionOption.ConditionEnum condition)
public ConditionOption value(ConditionOption.ValueEnum value)
@Nonnull public ConditionOption.ValueEnum getValue()
public void setValue(ConditionOption.ValueEnum value)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to ConditionOptionpublic static ConditionOption fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to ConditionOptionpublic String toJson()
Copyright © 2023. All rights reserved.