Class GetMmsPriceRequestBody
- java.lang.Object
-
- pl.gsmservice.gateway.models.operations.GetMmsPriceRequestBody
-
public class GetMmsPriceRequestBody extends java.lang.ObjectGetMmsPriceRequestBodyTo check the price of a single message or messages with the same content to multiple recipients, pass a single
MmsMessageobject with the properties of this message usingGetMmsPriceRequestBody.of(MmsMessage)method. To check the price of multiple messages with different content at the same time, pass aList<SmsMessage>with the properties of each message usingGetMmsPriceRequestBody.of(List.of(MmsMessage,...))method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetMmsPriceRequestBody._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static GetMmsPriceRequestBodyof(java.util.List<MmsMessage> value)static GetMmsPriceRequestBodyof(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 GetMmsPriceRequestBody of(MmsMessage value)
-
of
public static GetMmsPriceRequestBody 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
-
-