Class BulkCountryUpdate
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.voice.v1.dialingpermissions.BulkCountryUpdate
-
- All Implemented Interfaces:
Serializable
public class BulkCountryUpdate extends Resource
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BulkCountryUpdateCreator
creator(String updateRequest)
Create a BulkCountryUpdateCreator to execute create.boolean
equals(Object o)
static BulkCountryUpdate
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a BulkCountryUpdate object using the provided ObjectMapper.static BulkCountryUpdate
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a BulkCountryUpdate object using the provided ObjectMapper.Integer
getUpdateCount()
Returns The The number of countries updated.String
getUpdateRequest()
Returns The A URL encoded JSON array of update objects.int
hashCode()
String
toString()
-
-
-
Method Detail
-
creator
public static BulkCountryUpdateCreator creator(String updateRequest)
Create a BulkCountryUpdateCreator to execute create.- Parameters:
updateRequest
- URL encoded JSON array of update objects- Returns:
- BulkCountryUpdateCreator capable of executing the create
-
fromJson
public static BulkCountryUpdate fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a BulkCountryUpdate object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- BulkCountryUpdate object represented by the provided JSON
-
fromJson
public static BulkCountryUpdate fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a BulkCountryUpdate object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- BulkCountryUpdate object represented by the provided JSON
-
getUpdateCount
public final Integer getUpdateCount()
Returns The The number of countries updated.- Returns:
- The number of countries updated
-
getUpdateRequest
public final String getUpdateRequest()
Returns The A URL encoded JSON array of update objects.- Returns:
- A URL encoded JSON array of update objects
-
-