Class AllowedOrigin


  • public class AllowedOrigin
    extends Object
    AllowedOrigin
    • Constructor Detail

      • AllowedOrigin

        public AllowedOrigin()
    • Method Detail

      • links

        public AllowedOrigin links​(Links links)
        links
        Parameters:
        links -
        Returns:
        the current AllowedOrigin instance, allowing for method chaining
      • getLinks

        public Links getLinks()
        links
        Returns:
        links
      • setLinks

        public void setLinks​(Links links)
        links
        Parameters:
        links -
      • domain

        public AllowedOrigin domain​(String domain)
        Domain of the allowed origin.
        Parameters:
        domain -
        Returns:
        the current AllowedOrigin instance, allowing for method chaining
      • getDomain

        public String getDomain()
        Domain of the allowed origin.
        Returns:
        domain
      • setDomain

        public void setDomain​(String domain)
        Domain of the allowed origin.
        Parameters:
        domain -
      • id

        public AllowedOrigin id​(String id)
        Unique identifier of the allowed origin.
        Parameters:
        id -
        Returns:
        the current AllowedOrigin instance, allowing for method chaining
      • getId

        public String getId()
        Unique identifier of the allowed origin.
        Returns:
        id
      • setId

        public void setId​(String id)
        Unique identifier of the allowed origin.
        Parameters:
        id -
      • equals

        public boolean equals​(Object o)
        Return true if this AllowedOrigin object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static AllowedOrigin fromJson​(String jsonString)
                                      throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of AllowedOrigin given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AllowedOrigin
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to AllowedOrigin
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of AllowedOrigin to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException