Class RatePlan

    • Method Detail

      • fromJson

        public static RatePlan fromJson​(String json,
                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a RatePlan object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        RatePlan object represented by the provided JSON
      • fromJson

        public static RatePlan fromJson​(InputStream json,
                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a RatePlan object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        RatePlan object represented by the provided JSON
      • getSid

        public final String getSid()
      • getUniqueName

        public final String getUniqueName()
      • getAccountSid

        public final String getAccountSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getDataEnabled

        public final Boolean getDataEnabled()
      • getDataMetering

        public final String getDataMetering()
      • getDataLimit

        public final Integer getDataLimit()
      • getMessagingEnabled

        public final Boolean getMessagingEnabled()
      • getVoiceEnabled

        public final Boolean getVoiceEnabled()
      • getNationalRoamingEnabled

        public final Boolean getNationalRoamingEnabled()
      • getInternationalRoaming

        public final List<String> getInternationalRoaming()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object