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

org.hawkular.cmdgw.api.AddDatasourceResponse Maven / Gradle / Ivy


package org.hawkular.cmdgw.api;

import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * Results of an Add Datasource request.
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
    "xaDatasource",
    "datasourceName"
})
public class AddDatasourceResponse
    extends ResourcePathResponse
{

    /**
     * true if an XA datasource should be added, false otherwise
     * (Required)
     * 
     */
    @JsonProperty("xaDatasource")
    private boolean xaDatasource;
    /**
     * The name for this datasource.
     * (Required)
     * 
     */
    @JsonProperty("datasourceName")
    private String datasourceName;

    /**
     * true if an XA datasource should be added, false otherwise
     * (Required)
     * 
     * @return
     *     The xaDatasource
     */
    @JsonProperty("xaDatasource")
    public boolean isXaDatasource() {
        return xaDatasource;
    }

    /**
     * true if an XA datasource should be added, false otherwise
     * (Required)
     * 
     * @param xaDatasource
     *     The xaDatasource
     */
    @JsonProperty("xaDatasource")
    public void setXaDatasource(boolean xaDatasource) {
        this.xaDatasource = xaDatasource;
    }

    /**
     * The name for this datasource.
     * (Required)
     * 
     * @return
     *     The datasourceName
     */
    @JsonProperty("datasourceName")
    public String getDatasourceName() {
        return datasourceName;
    }

    /**
     * The name for this datasource.
     * (Required)
     * 
     * @param datasourceName
     *     The datasourceName
     */
    @JsonProperty("datasourceName")
    public void setDatasourceName(String datasourceName) {
        this.datasourceName = datasourceName;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy