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

com.rabbitmq.http.client.domain.Definitions Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2015-2021 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.rabbitmq.http.client.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Definitions {

    @JsonProperty("rabbit_version")
    private String serverVersion;

    private List vhosts = new ArrayList();

    private List users = new ArrayList();

    private List permissions = new ArrayList();

    @JsonProperty("topic_permissions")
    private List topicPermissions = new ArrayList<>();

    private List> parameters = new ArrayList<>();

    @JsonProperty("global_parameters")
    private List> globalParameters = new ArrayList<>();

    private List queues = new ArrayList();

    private List exchanges = new ArrayList();

    private List bindings = new ArrayList();

    public String getServerVersion() {
        return serverVersion;
    }

    public void setServerVersion(String serverVersion) {
        this.serverVersion = serverVersion;
    }

    public List getVhosts() {
        return vhosts;
    }

    public void setVhosts(List vhosts) {
        this.vhosts = vhosts;
    }

    public List getUsers() {
        return users;
    }

    public void setUsers(List users) {
        this.users = users;
    }

    public List getPermissions() {
        return permissions;
    }

    public void setPermissions(List permissions) {
        this.permissions = permissions;
    }

    public List getQueues() {
        return queues;
    }

    public void setQueues(List queues) {
        this.queues = queues;
    }

    public List getExchanges() {
        return exchanges;
    }

    public void setExchanges(List exchanges) {
        this.exchanges = exchanges;
    }

    public List getBindings() {
        return bindings;
    }

    public void setBindings(List bindings) {
        this.bindings = bindings;
    }

    public void setTopicPermissions(List topicPermissions) {
        this.topicPermissions = topicPermissions;
    }

    public List getTopicPermissions() {
        return topicPermissions;
    }

    public void setParameters(List> parameters) {
        this.parameters = parameters;
    }

    public List> getParameters() {
        return parameters;
    }

    public void setGlobalParameters(List> globalParameters) {
        this.globalParameters = globalParameters;
    }

    public List> getGlobalParameters() {
        return globalParameters;
    }

    @Override
    public String toString() {
        return "Definitions{" +
                "serverVersion='" + serverVersion + '\'' +
                ", vhosts=" + vhosts +
                ", users=" + users +
                ", permissions=" + permissions +
                ", topicPermissions=" + topicPermissions +
                ", queues=" + queues +
                ", exchanges=" + exchanges +
                ", bindings=" + bindings +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy