Class CommPrefsInput


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class CommPrefsInput
    extends Object
    CommPrefsInput
    • Constructor Detail

      • CommPrefsInput

        public CommPrefsInput()
    • Method Detail

      • getEmail

        @Nullable
        public String getEmail()
        the provided email
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
      • getFeatureUpdates

        @Nonnull
        public Boolean getFeatureUpdates()
        was \"feature updates\" checked
        Returns:
        featureUpdates
      • setFeatureUpdates

        public void setFeatureUpdates​(Boolean featureUpdates)
      • getSecurityUpdates

        @Nonnull
        public Boolean getSecurityUpdates()
        was \"security updates\" checked
        Returns:
        securityUpdates
      • setSecurityUpdates

        public void setSecurityUpdates​(Boolean securityUpdates)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to CommPrefsInput
      • fromJson

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

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