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

io.apicurio.registry.rest.v3.beans.UserInterfaceConfigAuth Maven / Gradle / Ivy

The newest version!

package io.apicurio.registry.rest.v3.beans;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonValue;


/**
 * Root Type for UserInterfaceConfigAuth
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "type", "rbacEnabled", "obacEnabled", "options" }) @Generated("jsonschema2pojo") @io.quarkus.runtime.annotations.RegisterForReflection public class UserInterfaceConfigAuth { @JsonProperty("type") private UserInterfaceConfigAuth.Type type; /** * * (Required) * */ @JsonProperty("rbacEnabled") private Boolean rbacEnabled; /** * * (Required) * */ @JsonProperty("obacEnabled") private Boolean obacEnabled; /** * User-defined name-value pairs. Name and value must be strings. * */ @JsonProperty("options") @JsonPropertyDescription("User-defined name-value pairs. Name and value must be strings.") private Map options; @JsonProperty("type") public UserInterfaceConfigAuth.Type getType() { return type; } @JsonProperty("type") public void setType(UserInterfaceConfigAuth.Type type) { this.type = type; } /** * * (Required) * */ @JsonProperty("rbacEnabled") public Boolean getRbacEnabled() { return rbacEnabled; } /** * * (Required) * */ @JsonProperty("rbacEnabled") public void setRbacEnabled(Boolean rbacEnabled) { this.rbacEnabled = rbacEnabled; } /** * * (Required) * */ @JsonProperty("obacEnabled") public Boolean getObacEnabled() { return obacEnabled; } /** * * (Required) * */ @JsonProperty("obacEnabled") public void setObacEnabled(Boolean obacEnabled) { this.obacEnabled = obacEnabled; } /** * User-defined name-value pairs. Name and value must be strings. * */ @JsonProperty("options") public Map getOptions() { return options; } /** * User-defined name-value pairs. Name and value must be strings. * */ @JsonProperty("options") public void setOptions(Map options) { this.options = options; } @io.quarkus.runtime.annotations.RegisterForReflection public enum Type { none("none"), basic("basic"), oidc("oidc"); private final String value; private final static Map CONSTANTS = new HashMap(); static { for (UserInterfaceConfigAuth.Type c: values()) { CONSTANTS.put(c.value, c); } } private Type(String value) { this.value = value; } @Override public String toString() { return this.value; } @JsonValue public String value() { return this.value; } @JsonCreator public static UserInterfaceConfigAuth.Type fromValue(String value) { UserInterfaceConfigAuth.Type constant = CONSTANTS.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { return constant; } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy