Class Extension


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

      • Extension

        public Extension()
    • Method Detail

      • getKey

        @Nonnull
        public String getKey()
        Name of the custom attribute.
        Returns:
        key
      • setKey

        public void setKey​(String key)
      • getValues

        @Nonnull
        public List<String> getValues()
        Array of string values associated with the custom attribute.
        Returns:
        values
      • setValues

        public void setValues​(List<String> values)
      • 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 Extension
      • fromJson

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

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