-
public final class SmsMatchOptionOptions for matching SMS messages in a phone number. Each match option object contains a
field,shouldandvalueproperty. Together they form logical conditions such asBODYshouldCONTAINvalue.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumSmsMatchOption.FieldFields of an SMS object that can be used to filter results Values: bODY,fROM
public enumSmsMatchOption.ShouldHow the value of the email field specified should be compared to the value given in the match options. Values: cONTAIN,eQUAL
-
Field Summary
Fields Modifier and Type Field Description private final SmsMatchOption.Fieldfieldprivate final SmsMatchOption.Shouldshouldprivate final Stringvalue
-
Constructor Summary
Constructors Constructor Description SmsMatchOption(SmsMatchOption.Field field, SmsMatchOption.Should should, String value)
-
Method Summary
Modifier and Type Method Description final SmsMatchOption.FieldgetField()final SmsMatchOption.ShouldgetShould()final StringgetValue()-
-
Constructor Detail
-
SmsMatchOption
SmsMatchOption(SmsMatchOption.Field field, SmsMatchOption.Should should, String value)
- Parameters:
field- Fields of an SMS object that can be used to filter resultsshould- How the value of the email field specified should be compared to the value given in the match options.value- The value you wish to compare with the value of the field specified using theshouldvalue passed.
-
-
Method Detail
-
getField
final SmsMatchOption.Field getField()
-
getShould
final SmsMatchOption.Should getShould()
-
-
-
-