Class SendSmsRequestBody
- java.lang.Object
-
- pl.gsmservice.gateway.models.operations.SendSmsRequestBody
-
public class SendSmsRequestBody extends java.lang.ObjectSendSmsRequestBody - To send a single SMS or messages with the same content to multiple recipients, pass in the Request Body a single `Sms` object with the properties of this message. To send multiple messages with different content at the same time, pass in the Request Body an `array` of `Sms` objects with the properties of each message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSendSmsRequestBody._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static SendSmsRequestBodyof(java.util.List<Sms> value)static SendSmsRequestBodyof(Sms value)java.lang.StringtoString()java.lang.Objectvalue()Returns an instance of one of these types:pl.gsmservice.gateway.models.components.Smsjava.util.List<pl.gsmservice.gateway.models.components.Sms>
-
-
-
Method Detail
-
of
public static SendSmsRequestBody of(Sms value)
-
of
public static SendSmsRequestBody of(java.util.List<Sms> value)
-
value
public java.lang.Object value()
Returns an instance of one of these types:pl.gsmservice.gateway.models.components.Smsjava.util.List<pl.gsmservice.gateway.models.components.Sms>
Use
instanceofto determine what type is returned. For example:if (obj.value() instanceof String) { String answer = (String) obj.value(); System.out.println("answer=" + answer); }- Returns:
- value of oneOf type
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-