@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class SmsMatchOption extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SmsMatchOption.CustomTypeAdapterFactory  | 
static class  | 
SmsMatchOption.FieldEnum
Fields of an SMS object that can be used to filter results 
 | 
static class  | 
SmsMatchOption.ShouldEnum
How the value of the email field specified should be compared to the value given in the match options. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static HashSet<String> | 
openapiFields  | 
static HashSet<String> | 
openapiRequiredFields  | 
static String | 
SERIALIZED_NAME_FIELD  | 
static String | 
SERIALIZED_NAME_SHOULD  | 
static String | 
SERIALIZED_NAME_VALUE  | 
| Constructor and Description | 
|---|
SmsMatchOption()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
SmsMatchOption | 
field(SmsMatchOption.FieldEnum field)  | 
static SmsMatchOption | 
fromJson(String jsonString)
Create an instance of SmsMatchOption given an JSON string 
 | 
SmsMatchOption.FieldEnum | 
getField()
Fields of an SMS object that can be used to filter results 
 | 
SmsMatchOption.ShouldEnum | 
getShould()
How the value of the email field specified should be compared to the value given in the match options. 
 | 
String | 
getValue()
The value you wish to compare with the value of the field specified using the `should` value passed. 
 | 
int | 
hashCode()  | 
void | 
setField(SmsMatchOption.FieldEnum field)  | 
void | 
setShould(SmsMatchOption.ShouldEnum should)  | 
void | 
setValue(String value)  | 
SmsMatchOption | 
should(SmsMatchOption.ShouldEnum should)  | 
String | 
toJson()
Convert an instance of SmsMatchOption 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 
 | 
SmsMatchOption | 
value(String value)  | 
public static final String SERIALIZED_NAME_FIELD
public static final String SERIALIZED_NAME_SHOULD
public static final String SERIALIZED_NAME_VALUE
public SmsMatchOption field(SmsMatchOption.FieldEnum field)
@Nonnull public SmsMatchOption.FieldEnum getField()
public void setField(SmsMatchOption.FieldEnum field)
public SmsMatchOption should(SmsMatchOption.ShouldEnum should)
@Nonnull public SmsMatchOption.ShouldEnum getShould()
public void setShould(SmsMatchOption.ShouldEnum should)
public SmsMatchOption value(String value)
@Nonnull public String getValue()
public void setValue(String value)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
                               throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to SmsMatchOptionpublic static SmsMatchOption fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to SmsMatchOptionpublic String toJson()
Copyright © 2023. All rights reserved.