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

me.snowdrop.istio.api.model.v1.networking.HTTPMatchRequest Maven / Gradle / Ivy


package me.snowdrop.istio.api.model.v1.networking;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
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.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;


/**
 * 
 * 
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
    "apiVersion",
    "kind",
    "metadata",
    "authority",
    "gateways",
    "headers",
    "method",
    "port",
    "scheme",
    "sourceLabels",
    "uri"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class HTTPMatchRequest implements Serializable
{

    /**
     * 
     * 
     */
    @JsonProperty("authority")
    @JsonPropertyDescription("")
    @Valid
    private me.snowdrop.istio.api.model.v1.networking.StringMatch authority;
    /**
     * 
     * 
     */
    @JsonProperty("gateways")
    @JsonPropertyDescription("")
    @Valid
    private List gateways = new ArrayList();
    /**
     * 
     * 
     */
    @JsonProperty("headers")
    @JsonPropertyDescription("")
    @Valid
    private Map headers;
    /**
     * 
     * 
     */
    @JsonProperty("method")
    @JsonPropertyDescription("")
    @Valid
    private me.snowdrop.istio.api.model.v1.networking.StringMatch method;
    /**
     * 
     * 
     */
    @JsonProperty("port")
    @JsonPropertyDescription("")
    private Integer port;
    /**
     * 
     * 
     */
    @JsonProperty("scheme")
    @JsonPropertyDescription("")
    @Valid
    private me.snowdrop.istio.api.model.v1.networking.StringMatch scheme;
    /**
     * 
     * 
     */
    @JsonProperty("sourceLabels")
    @JsonPropertyDescription("")
    @Valid
    private Map sourceLabels;
    /**
     * 
     * 
     */
    @JsonProperty("uri")
    @JsonPropertyDescription("")
    @Valid
    private me.snowdrop.istio.api.model.v1.networking.StringMatch uri;
    @JsonIgnore
    @Valid
    private Map additionalProperties = new HashMap();
    private final static long serialVersionUID = -2743746231389532957L;

    /**
     * No args constructor for use in serialization
     * 
     */
    public HTTPMatchRequest() {
    }

    /**
     * 
     * @param gateways
     * @param headers
     * @param method
     * @param scheme
     * @param port
     * @param sourceLabels
     * @param authority
     * @param uri
     */
    public HTTPMatchRequest(me.snowdrop.istio.api.model.v1.networking.StringMatch authority, List gateways, Map headers, me.snowdrop.istio.api.model.v1.networking.StringMatch method, Integer port, me.snowdrop.istio.api.model.v1.networking.StringMatch scheme, Map sourceLabels, me.snowdrop.istio.api.model.v1.networking.StringMatch uri) {
        super();
        this.authority = authority;
        this.gateways = gateways;
        this.headers = headers;
        this.method = method;
        this.port = port;
        this.scheme = scheme;
        this.sourceLabels = sourceLabels;
        this.uri = uri;
    }

    /**
     * 
     * 
     */
    @JsonProperty("authority")
    public me.snowdrop.istio.api.model.v1.networking.StringMatch getAuthority() {
        return authority;
    }

    /**
     * 
     * 
     */
    @JsonProperty("authority")
    public void setAuthority(me.snowdrop.istio.api.model.v1.networking.StringMatch authority) {
        this.authority = authority;
    }

    /**
     * 
     * 
     */
    @JsonProperty("gateways")
    public List getGateways() {
        return gateways;
    }

    /**
     * 
     * 
     */
    @JsonProperty("gateways")
    public void setGateways(List gateways) {
        this.gateways = gateways;
    }

    /**
     * 
     * 
     */
    @JsonProperty("headers")
    public Map getHeaders() {
        return headers;
    }

    /**
     * 
     * 
     */
    @JsonProperty("headers")
    public void setHeaders(Map headers) {
        this.headers = headers;
    }

    /**
     * 
     * 
     */
    @JsonProperty("method")
    public me.snowdrop.istio.api.model.v1.networking.StringMatch getMethod() {
        return method;
    }

    /**
     * 
     * 
     */
    @JsonProperty("method")
    public void setMethod(me.snowdrop.istio.api.model.v1.networking.StringMatch method) {
        this.method = method;
    }

    /**
     * 
     * 
     */
    @JsonProperty("port")
    public Integer getPort() {
        return port;
    }

    /**
     * 
     * 
     */
    @JsonProperty("port")
    public void setPort(Integer port) {
        this.port = port;
    }

    /**
     * 
     * 
     */
    @JsonProperty("scheme")
    public me.snowdrop.istio.api.model.v1.networking.StringMatch getScheme() {
        return scheme;
    }

    /**
     * 
     * 
     */
    @JsonProperty("scheme")
    public void setScheme(me.snowdrop.istio.api.model.v1.networking.StringMatch scheme) {
        this.scheme = scheme;
    }

    /**
     * 
     * 
     */
    @JsonProperty("sourceLabels")
    public Map getSourceLabels() {
        return sourceLabels;
    }

    /**
     * 
     * 
     */
    @JsonProperty("sourceLabels")
    public void setSourceLabels(Map sourceLabels) {
        this.sourceLabels = sourceLabels;
    }

    /**
     * 
     * 
     */
    @JsonProperty("uri")
    public me.snowdrop.istio.api.model.v1.networking.StringMatch getUri() {
        return uri;
    }

    /**
     * 
     * 
     */
    @JsonProperty("uri")
    public void setUri(me.snowdrop.istio.api.model.v1.networking.StringMatch uri) {
        this.uri = uri;
    }

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(java.lang.String name, Object value) {
        this.additionalProperties.put(name, value);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy