Class 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 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 String
        objectMapper - 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 InputStream
        objectMapper - 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object