Class GetSmsPriceRequestBody
- java.lang.Object
-
- pl.gsmservice.gateway.models.operations.GetSmsPriceRequestBody
-
public class GetSmsPriceRequestBody extends java.lang.ObjectGetSmsPriceRequestBodyTo check the price of a single message or messages with the same content to multiple recipients, pass a single
SmsMessageobject with the properties of this message usingGetSmsPriceRequestBody.of(SmsMessage)method. To check the price of multiple messages with different content at the same time, pass aList<SmsMessage>with the properties of each message usingGetSmsPriceRequestBody.of(List.of(SmsMessage,...))method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetSmsPriceRequestBody._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static GetSmsPriceRequestBodyof(java.util.List<SmsMessage> value)static GetSmsPriceRequestBodyof(SmsMessage value)java.lang.StringtoString()java.lang.Objectvalue()Returns an instance of one of these types:pl.gsmservice.gateway.models.components.SmsMessagejava.util.List<pl.gsmservice.gateway.models.components.SmsMessage>
-
-
-
Method Detail
-
of
public static GetSmsPriceRequestBody of(SmsMessage value)
-
of
public static GetSmsPriceRequestBody of(java.util.List<SmsMessage> value)
-
value
public java.lang.Object value()
Returns an instance of one of these types:pl.gsmservice.gateway.models.components.SmsMessagejava.util.List<pl.gsmservice.gateway.models.components.SmsMessage>
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
-
-