Class Provider


  • public class Provider
    extends Object
    Provider
    • Constructor Detail

      • Provider

        public Provider()
    • Method Detail

      • logoURL

        public Provider logoURL​(String logoURL)
        The URL of the organization's or brand's logo. This URL typically points to an image file (e.g., .png, .jpg, .svg) that can be displayed to visually represent the entity.
        Parameters:
        logoURL - The URL of the organization's or brand's logo. This URL typically points to an image file (e.g., .png, .jpg, .svg) that can be displayed to visually represent the entity.
        Returns:
        the current Provider instance, allowing for method chaining
      • getLogoURL

        public String getLogoURL()
        The URL of the organization's or brand's logo. This URL typically points to an image file (e.g., .png, .jpg, .svg) that can be displayed to visually represent the entity.
        Returns:
        logoURL The URL of the organization's or brand's logo. This URL typically points to an image file (e.g., .png, .jpg, .svg) that can be displayed to visually represent the entity.
      • setLogoURL

        public void setLogoURL​(String logoURL)
        The URL of the organization's or brand's logo. This URL typically points to an image file (e.g., .png, .jpg, .svg) that can be displayed to visually represent the entity.
        Parameters:
        logoURL - The URL of the organization's or brand's logo. This URL typically points to an image file (e.g., .png, .jpg, .svg) that can be displayed to visually represent the entity.
      • name

        public Provider name​(String name)
        The official or commonly used name of the organization, brand, or entity.
        Parameters:
        name - The official or commonly used name of the organization, brand, or entity.
        Returns:
        the current Provider instance, allowing for method chaining
      • getName

        public String getName()
        The official or commonly used name of the organization, brand, or entity.
        Returns:
        name The official or commonly used name of the organization, brand, or entity.
      • setName

        public void setName​(String name)
        The official or commonly used name of the organization, brand, or entity.
        Parameters:
        name - The official or commonly used name of the organization, brand, or entity.
      • equals

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

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

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

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