
io.apicurio.registry.rest.client.models.UserInterfaceConfigUi Maven / Gradle / Ivy
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 UserInterfaceConfigUi 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 contextPath property
*/
private String contextPath;
/**
* The navPrefixPath property
*/
private String navPrefixPath;
/**
* The oaiDocsUrl property
*/
private String oaiDocsUrl;
/**
* Instantiates a new {@link UserInterfaceConfigUi} and sets the default values.
*/
public UserInterfaceConfigUi() {
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 UserInterfaceConfigUi}
*/
@jakarta.annotation.Nonnull
public static UserInterfaceConfigUi createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new UserInterfaceConfigUi();
}
/**
* 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 contextPath property value. The contextPath property
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getContextPath() {
return this.contextPath;
}
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(3);
deserializerMap.put("contextPath", (n) -> { this.setContextPath(n.getStringValue()); });
deserializerMap.put("navPrefixPath", (n) -> { this.setNavPrefixPath(n.getStringValue()); });
deserializerMap.put("oaiDocsUrl", (n) -> { this.setOaiDocsUrl(n.getStringValue()); });
return deserializerMap;
}
/**
* Gets the navPrefixPath property value. The navPrefixPath property
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getNavPrefixPath() {
return this.navPrefixPath;
}
/**
* Gets the oaiDocsUrl property value. The oaiDocsUrl property
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getOaiDocsUrl() {
return this.oaiDocsUrl;
}
/**
* 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.writeStringValue("contextPath", this.getContextPath());
writer.writeStringValue("navPrefixPath", this.getNavPrefixPath());
writer.writeStringValue("oaiDocsUrl", this.getOaiDocsUrl());
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 contextPath property value. The contextPath property
* @param value Value to set for the contextPath property.
*/
public void setContextPath(@jakarta.annotation.Nullable final String value) {
this.contextPath = value;
}
/**
* Sets the navPrefixPath property value. The navPrefixPath property
* @param value Value to set for the navPrefixPath property.
*/
public void setNavPrefixPath(@jakarta.annotation.Nullable final String value) {
this.navPrefixPath = value;
}
/**
* Sets the oaiDocsUrl property value. The oaiDocsUrl property
* @param value Value to set for the oaiDocsUrl property.
*/
public void setOaiDocsUrl(@jakarta.annotation.Nullable final String value) {
this.oaiDocsUrl = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy