com.rabbitmq.http.client.domain.ClientProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-client Show documentation
Show all versions of http-client Show documentation
Java client for the RabbitMQ HTTP API
/*
* Copyright 2015 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
*
* http://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.JsonProperty;
import java.util.Map;
@SuppressWarnings("unused")
public class ClientProperties {
private Map capabilities;
private String product;
private String platform;
private String version;
private String information;
private String copyright;
@JsonProperty("connection_name")
private String connectionName;
public Map getCapabilities() {
return capabilities;
}
public void setCapabilities(Map capabilities) {
this.capabilities = capabilities;
}
public String getProduct() {
return product;
}
public void setProduct(String product) {
this.product = product;
}
public String getPlatform() {
return platform;
}
public void setPlatform(String platform) {
this.platform = platform;
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public String getInformation() {
return information;
}
public void setInformation(String information) {
this.information = information;
}
public String getCopyright() {
return copyright;
}
public void setCopyright(String copyright) {
this.copyright = copyright;
}
@Override
public String toString() {
return "ClientProperties{" +
"capabilities=" + capabilities +
", product='" + product + '\'' +
", platform='" + platform + '\'' +
", version='" + version + '\'' +
", connectionName='" + connectionName + '\'' +
", information='" + information + '\'' +
", copyright='" + copyright + '\'' + '}';
}
public String getConnectionName() {
return connectionName;
}
public void setConnectionName(String connectionName) {
this.connectionName = connectionName;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy