Class FormFieldPermission


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

      • FormFieldPermission

        public FormFieldPermission()
    • Method Detail

      • setCanAdd

        public void setCanAdd​(Boolean canAdd)
      • getCanModify

        @Nullable
        public Boolean getCanModify()
        Get canModify
        Returns:
        canModify
      • setCanModify

        public void setCanModify​(Boolean canModify)
      • getCanModifyDefaultValue

        @Nullable
        public Boolean getCanModifyDefaultValue()
        Get canModifyDefaultValue
        Returns:
        canModifyDefaultValue
      • setCanModifyDefaultValue

        public void setCanModifyDefaultValue​(Boolean canModifyDefaultValue)
      • 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 FormFieldPermission
      • fromJson

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

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