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

me.snowdrop.istio.api.model.v1.networking.L4MatchAttributes 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",
    "destinationSubnet",
    "gateways",
    "port",
    "sourceLabels",
    "sourceSubnet"
})
@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 L4MatchAttributes implements Serializable
{

    /**
     * 
     * 
     */
    @JsonProperty("destinationSubnet")
    @JsonPropertyDescription("")
    private java.lang.String destinationSubnet;
    /**
     * 
     * 
     */
    @JsonProperty("gateways")
    @JsonPropertyDescription("")
    @Valid
    private List gateways = new ArrayList();
    /**
     * 
     * 
     */
    @JsonProperty("port")
    @JsonPropertyDescription("")
    private Integer port;
    /**
     * 
     * 
     */
    @JsonProperty("sourceLabels")
    @JsonPropertyDescription("")
    @Valid
    private Map sourceLabels;
    /**
     * 
     * 
     */
    @JsonProperty("sourceSubnet")
    @JsonPropertyDescription("")
    private java.lang.String sourceSubnet;
    @JsonIgnore
    @Valid
    private Map additionalProperties = new HashMap();
    private final static long serialVersionUID = -1670218251666216596L;

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

    /**
     * 
     * @param destinationSubnet
     * @param gateways
     * @param sourceSubnet
     * @param port
     * @param sourceLabels
     */
    public L4MatchAttributes(java.lang.String destinationSubnet, List gateways, Integer port, Map sourceLabels, java.lang.String sourceSubnet) {
        super();
        this.destinationSubnet = destinationSubnet;
        this.gateways = gateways;
        this.port = port;
        this.sourceLabels = sourceLabels;
        this.sourceSubnet = sourceSubnet;
    }

    /**
     * 
     * 
     */
    @JsonProperty("destinationSubnet")
    public java.lang.String getDestinationSubnet() {
        return destinationSubnet;
    }

    /**
     * 
     * 
     */
    @JsonProperty("destinationSubnet")
    public void setDestinationSubnet(java.lang.String destinationSubnet) {
        this.destinationSubnet = destinationSubnet;
    }

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

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

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

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

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

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

    /**
     * 
     * 
     */
    @JsonProperty("sourceSubnet")
    public java.lang.String getSourceSubnet() {
        return sourceSubnet;
    }

    /**
     * 
     * 
     */
    @JsonProperty("sourceSubnet")
    public void setSourceSubnet(java.lang.String sourceSubnet) {
        this.sourceSubnet = sourceSubnet;
    }

    @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