All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.apicurio.registry.rest.client.models.UserInterfaceConfigFeatures Maven / Gradle / Ivy

There is a newer version: 3.0.6
Show newest version
package io.apicurio.registry.rest.client.models;

import com.microsoft.kiota.serialization.AdditionalDataHolder;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class UserInterfaceConfigFeatures implements AdditionalDataHolder, Parsable {
    /**
     * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
     */
    private Map additionalData;
    /**
     * The breadcrumbs property
     */
    private Boolean breadcrumbs;
    /**
     * The deleteArtifact property
     */
    private Boolean deleteArtifact;
    /**
     * The deleteGroup property
     */
    private Boolean deleteGroup;
    /**
     * The deleteVersion property
     */
    private Boolean deleteVersion;
    /**
     * The readOnly property
     */
    private Boolean readOnly;
    /**
     * The roleManagement property
     */
    private Boolean roleManagement;
    /**
     * The settings property
     */
    private Boolean settings;
    /**
     * Instantiates a new {@link UserInterfaceConfigFeatures} and sets the default values.
     */
    public UserInterfaceConfigFeatures() {
        this.setAdditionalData(new HashMap<>());
    }
    /**
     * Creates a new instance of the appropriate class based on discriminator value
     * @param parseNode The parse node to use to read the discriminator value and create the object
     * @return a {@link UserInterfaceConfigFeatures}
     */
    @jakarta.annotation.Nonnull
    public static UserInterfaceConfigFeatures createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
        Objects.requireNonNull(parseNode);
        return new UserInterfaceConfigFeatures();
    }
    /**
     * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
     * @return a {@link Map}
     */
    @jakarta.annotation.Nonnull
    public Map getAdditionalData() {
        return this.additionalData;
    }
    /**
     * Gets the breadcrumbs property value. The breadcrumbs property
     * @return a {@link Boolean}
     */
    @jakarta.annotation.Nullable
    public Boolean getBreadcrumbs() {
        return this.breadcrumbs;
    }
    /**
     * Gets the deleteArtifact property value. The deleteArtifact property
     * @return a {@link Boolean}
     */
    @jakarta.annotation.Nullable
    public Boolean getDeleteArtifact() {
        return this.deleteArtifact;
    }
    /**
     * Gets the deleteGroup property value. The deleteGroup property
     * @return a {@link Boolean}
     */
    @jakarta.annotation.Nullable
    public Boolean getDeleteGroup() {
        return this.deleteGroup;
    }
    /**
     * Gets the deleteVersion property value. The deleteVersion property
     * @return a {@link Boolean}
     */
    @jakarta.annotation.Nullable
    public Boolean getDeleteVersion() {
        return this.deleteVersion;
    }
    /**
     * The deserialization information for the current model
     * @return a {@link Map>}
     */
    @jakarta.annotation.Nonnull
    public Map> getFieldDeserializers() {
        final HashMap> deserializerMap = new HashMap>(7);
        deserializerMap.put("breadcrumbs", (n) -> { this.setBreadcrumbs(n.getBooleanValue()); });
        deserializerMap.put("deleteArtifact", (n) -> { this.setDeleteArtifact(n.getBooleanValue()); });
        deserializerMap.put("deleteGroup", (n) -> { this.setDeleteGroup(n.getBooleanValue()); });
        deserializerMap.put("deleteVersion", (n) -> { this.setDeleteVersion(n.getBooleanValue()); });
        deserializerMap.put("readOnly", (n) -> { this.setReadOnly(n.getBooleanValue()); });
        deserializerMap.put("roleManagement", (n) -> { this.setRoleManagement(n.getBooleanValue()); });
        deserializerMap.put("settings", (n) -> { this.setSettings(n.getBooleanValue()); });
        return deserializerMap;
    }
    /**
     * Gets the readOnly property value. The readOnly property
     * @return a {@link Boolean}
     */
    @jakarta.annotation.Nullable
    public Boolean getReadOnly() {
        return this.readOnly;
    }
    /**
     * Gets the roleManagement property value. The roleManagement property
     * @return a {@link Boolean}
     */
    @jakarta.annotation.Nullable
    public Boolean getRoleManagement() {
        return this.roleManagement;
    }
    /**
     * Gets the settings property value. The settings property
     * @return a {@link Boolean}
     */
    @jakarta.annotation.Nullable
    public Boolean getSettings() {
        return this.settings;
    }
    /**
     * Serializes information the current object
     * @param writer Serialization writer to use to serialize this model
     */
    public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
        Objects.requireNonNull(writer);
        writer.writeBooleanValue("breadcrumbs", this.getBreadcrumbs());
        writer.writeBooleanValue("deleteArtifact", this.getDeleteArtifact());
        writer.writeBooleanValue("deleteGroup", this.getDeleteGroup());
        writer.writeBooleanValue("deleteVersion", this.getDeleteVersion());
        writer.writeBooleanValue("readOnly", this.getReadOnly());
        writer.writeBooleanValue("roleManagement", this.getRoleManagement());
        writer.writeBooleanValue("settings", this.getSettings());
        writer.writeAdditionalData(this.getAdditionalData());
    }
    /**
     * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
     * @param value Value to set for the AdditionalData property.
     */
    public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
        this.additionalData = value;
    }
    /**
     * Sets the breadcrumbs property value. The breadcrumbs property
     * @param value Value to set for the breadcrumbs property.
     */
    public void setBreadcrumbs(@jakarta.annotation.Nullable final Boolean value) {
        this.breadcrumbs = value;
    }
    /**
     * Sets the deleteArtifact property value. The deleteArtifact property
     * @param value Value to set for the deleteArtifact property.
     */
    public void setDeleteArtifact(@jakarta.annotation.Nullable final Boolean value) {
        this.deleteArtifact = value;
    }
    /**
     * Sets the deleteGroup property value. The deleteGroup property
     * @param value Value to set for the deleteGroup property.
     */
    public void setDeleteGroup(@jakarta.annotation.Nullable final Boolean value) {
        this.deleteGroup = value;
    }
    /**
     * Sets the deleteVersion property value. The deleteVersion property
     * @param value Value to set for the deleteVersion property.
     */
    public void setDeleteVersion(@jakarta.annotation.Nullable final Boolean value) {
        this.deleteVersion = value;
    }
    /**
     * Sets the readOnly property value. The readOnly property
     * @param value Value to set for the readOnly property.
     */
    public void setReadOnly(@jakarta.annotation.Nullable final Boolean value) {
        this.readOnly = value;
    }
    /**
     * Sets the roleManagement property value. The roleManagement property
     * @param value Value to set for the roleManagement property.
     */
    public void setRoleManagement(@jakarta.annotation.Nullable final Boolean value) {
        this.roleManagement = value;
    }
    /**
     * Sets the settings property value. The settings property
     * @param value Value to set for the settings property.
     */
    public void setSettings(@jakarta.annotation.Nullable final Boolean value) {
        this.settings = value;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy