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

me.snowdrop.istio.api.mesh.v1alpha1.Distribute Maven / Gradle / Ivy


package me.snowdrop.istio.api.mesh.v1alpha1;

import java.io.Serializable;
import java.util.Map;
import javax.validation.Valid;
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 io.fabric8.kubernetes.api.model.Doneable;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;


/**
 * 
 * 
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
    "apiVersion",
    "kind",
    "metadata",
    "from",
    "to"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = {
    @Inline(type = Doneable.class, prefix = "Doneable", value = "done")
}, refs = {
    @BuildableReference(ObjectMeta.class)
})
public class Distribute implements Serializable
{

    /**
     * 
     * 
     */
    @JsonProperty("from")
    @JsonPropertyDescription("")
    private java.lang.String from;
    /**
     * 
     * 
     */
    @JsonProperty("to")
    @JsonPropertyDescription("")
    @Valid
    private Map to;
    private final static long serialVersionUID = 2104435656722528468L;

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

    /**
     * 
     * @param from
     * @param to
     */
    public Distribute(java.lang.String from, Map to) {
        super();
        this.from = from;
        this.to = to;
    }

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

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

    /**
     * 
     * 
     */
    @JsonProperty("to")
    public Map getTo() {
        return to;
    }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy