Class Identifier


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class Identifier
    extends Object
    Identifier
    • Constructor Detail

      • Identifier

        public Identifier()
    • Method Detail

      • getName

        @Nonnull
        public String getName()
        Identifier name (e.g., Peppol Participant ID).
        Returns:
        name
      • setName

        public void setName​(String name)
      • getDisplayName

        @Nullable
        public String getDisplayName()
        Display name of the identifier.
        Returns:
        displayName
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getValue

        @Nonnull
        public String getValue()
        Value of the identifier.
        Returns:
        value
      • setValue

        public void setValue​(String value)
      • hashCode

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

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to Identifier
      • fromJson

        public static Identifier fromJson​(String jsonString)
                                   throws IOException
        Create an instance of Identifier given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Identifier
        Throws:
        IOException - if the JSON string is invalid with respect to Identifier
      • toJson

        public String toJson()
        Convert an instance of Identifier to an JSON string
        Returns:
        JSON string