Class IpAccessControlList

    • Method Detail

      • reader

        public static IpAccessControlListReader reader​(String pathAccountSid)
        Create a IpAccessControlListReader to execute read.
        Parameters:
        pathAccountSid - The unique sid that identifies this account
        Returns:
        IpAccessControlListReader capable of executing the read
      • reader

        public static IpAccessControlListReader reader()
        Create a IpAccessControlListReader to execute read.
        Returns:
        IpAccessControlListReader capable of executing the read
      • creator

        public static IpAccessControlListCreator creator​(String pathAccountSid,
                                                         String friendlyName)
        Create a IpAccessControlListCreator to execute create.
        Parameters:
        pathAccountSid - The unique sid that identifies this account
        friendlyName - A human readable description of this resource
        Returns:
        IpAccessControlListCreator capable of executing the create
      • creator

        public static IpAccessControlListCreator creator​(String friendlyName)
        Create a IpAccessControlListCreator to execute create.
        Parameters:
        friendlyName - A human readable description of this resource
        Returns:
        IpAccessControlListCreator capable of executing the create
      • fetcher

        public static IpAccessControlListFetcher fetcher​(String pathAccountSid,
                                                         String pathSid)
        Create a IpAccessControlListFetcher to execute fetch.
        Parameters:
        pathAccountSid - The unique sid that identifies this account
        pathSid - A string that identifies the resource to fetch
        Returns:
        IpAccessControlListFetcher capable of executing the fetch
      • fetcher

        public static IpAccessControlListFetcher fetcher​(String pathSid)
        Create a IpAccessControlListFetcher to execute fetch.
        Parameters:
        pathSid - A string that identifies the resource to fetch
        Returns:
        IpAccessControlListFetcher capable of executing the fetch
      • updater

        public static IpAccessControlListUpdater updater​(String pathAccountSid,
                                                         String pathSid,
                                                         String friendlyName)
        Create a IpAccessControlListUpdater to execute update.
        Parameters:
        pathAccountSid - The unique sid that identifies this account
        pathSid - A string that identifies the resource to update
        friendlyName - A human readable description of this resource
        Returns:
        IpAccessControlListUpdater capable of executing the update
      • updater

        public static IpAccessControlListUpdater updater​(String pathSid,
                                                         String friendlyName)
        Create a IpAccessControlListUpdater to execute update.
        Parameters:
        pathSid - A string that identifies the resource to update
        friendlyName - A human readable description of this resource
        Returns:
        IpAccessControlListUpdater capable of executing the update
      • deleter

        public static IpAccessControlListDeleter deleter​(String pathAccountSid,
                                                         String pathSid)
        Create a IpAccessControlListDeleter to execute delete.
        Parameters:
        pathAccountSid - The unique sid that identifies this account
        pathSid - A string that identifies the resource to delete
        Returns:
        IpAccessControlListDeleter capable of executing the delete
      • deleter

        public static IpAccessControlListDeleter deleter​(String pathSid)
        Create a IpAccessControlListDeleter to execute delete.
        Parameters:
        pathSid - A string that identifies the resource to delete
        Returns:
        IpAccessControlListDeleter capable of executing the delete
      • fromJson

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

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

        public final String getSid()
        Returns The A string that uniquely identifies this resource.
        Returns:
        A string that uniquely identifies this resource
      • getAccountSid

        public final String getAccountSid()
        Returns The The unique sid that identifies this account.
        Returns:
        The unique sid that identifies this account
      • getFriendlyName

        public final String getFriendlyName()
        Returns The A human readable description of this resource.
        Returns:
        A human readable description of this resource
      • getDateCreated

        public final org.joda.time.DateTime getDateCreated()
        Returns The The date this resource was created.
        Returns:
        The date this resource was created
      • getDateUpdated

        public final org.joda.time.DateTime getDateUpdated()
        Returns The The date this resource was last updated.
        Returns:
        The date this resource was last updated
      • getSubresourceUris

        public final Map<String,​String> getSubresourceUris()
        Returns The The IP addresses associated with this resource..
        Returns:
        The IP addresses associated with this resource.
      • getUri

        public final String getUri()
        Returns The The URI for this resource.
        Returns:
        The URI for this resource
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object