Class Policy

    • Method Detail

      • fromJson

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

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

        public final String getId()
      • getName

        public final String getName()
      • getDescription

        public final String getDescription()
      • getAccountSid

        public final String getAccountSid()
      • getUserSid

        public final String getUserSid()
      • getType

        public final String getType()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object