Package com.twilio.rest.supersim.v1.sim
Class BillingPeriod
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.supersim.v1.sim.BillingPeriod
-
- All Implemented Interfaces:
Serializable
public class BillingPeriod extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBillingPeriod.BpType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static BillingPeriodfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a BillingPeriod object using the provided ObjectMapper.static BillingPeriodfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a BillingPeriod object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()ZonedDateTimegetEndTime()BillingPeriod.BpTypegetPeriodType()StringgetSid()StringgetSimSid()ZonedDateTimegetStartTime()inthashCode()static BillingPeriodReaderreader(String pathSimSid)
-
-
-
Method Detail
-
reader
public static BillingPeriodReader reader(String pathSimSid)
-
fromJson
public static BillingPeriod fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a BillingPeriod object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- BillingPeriod object represented by the provided JSON
-
fromJson
public static BillingPeriod fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a BillingPeriod object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- BillingPeriod object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getSimSid
public final String getSimSid()
-
getStartTime
public final ZonedDateTime getStartTime()
-
getEndTime
public final ZonedDateTime getEndTime()
-
getPeriodType
public final BillingPeriod.BpType getPeriodType()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-