Class SendMmsRequestBody
- java.lang.Object
-
- pl.gsmservice.gateway.models.operations.SendMmsRequestBody
-
public class SendMmsRequestBody extends java.lang.ObjectSendMmsRequestBodyTo send a single MMS or messages with the same content to multiple recipients, please use
SendMmsRequestBody.of(MmsMessage)method with a singleMmsMessageobject with the properties of this message. To send multiple messages with different content at the same time, please useSendMmsRequestBody.of(List.of(MmsMessage,...))method passing to itList<MmsMessage>with the properties of each message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSendMmsRequestBody._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static SendMmsRequestBodyof(java.util.List<MmsMessage> value)static SendMmsRequestBodyof(MmsMessage value)java.lang.StringtoString()java.lang.Objectvalue()Returns an instance of one of these types:pl.gsmservice.gateway.models.components.MmsMessagejava.util.List<pl.gsmservice.gateway.models.components.MmsMessage>
-
-
-
Method Detail
-
of
public static SendMmsRequestBody of(MmsMessage value)
-
of
public static SendMmsRequestBody of(java.util.List<MmsMessage> value)
-
value
public java.lang.Object value()
Returns an instance of one of these types:pl.gsmservice.gateway.models.components.MmsMessagejava.util.List<pl.gsmservice.gateway.models.components.MmsMessage>
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
-
-