mirror of
https://github.com/apache/cloudstack
synced 2026-09-03 09:50:53 +00:00
133 lines
3.0 KiB
Java
133 lines
3.0 KiB
Java
/**
|
|
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
|
|
*
|
|
* This software is licensed under the GNU General Public License v3 or later.
|
|
*
|
|
* It is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or any later version.
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
package com.cloud.api.response;
|
|
|
|
import com.cloud.serializer.Param;
|
|
|
|
public class LoadBalancerResponse extends BaseResponse {
|
|
@Param(name="id")
|
|
private Long id;
|
|
|
|
@Param(name="name")
|
|
private String name;
|
|
|
|
@Param(name="description")
|
|
private String description;
|
|
|
|
@Param(name="publicip")
|
|
private String publicIp;
|
|
|
|
@Param(name="publicport")
|
|
private String publicPort;
|
|
|
|
@Param(name="privateport")
|
|
private String privatePort;
|
|
|
|
@Param(name="algorithm")
|
|
private String algorithm;
|
|
|
|
@Param(name="account")
|
|
private String accountName;
|
|
|
|
@Param(name="domainid")
|
|
private Long domainId;
|
|
|
|
@Param(name="domain")
|
|
private String domainName;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public String getPublicIp() {
|
|
return publicIp;
|
|
}
|
|
|
|
public void setPublicIp(String publicIp) {
|
|
this.publicIp = publicIp;
|
|
}
|
|
|
|
public String getPublicPort() {
|
|
return publicPort;
|
|
}
|
|
|
|
public void setPublicPort(String publicPort) {
|
|
this.publicPort = publicPort;
|
|
}
|
|
|
|
public String getPrivatePort() {
|
|
return privatePort;
|
|
}
|
|
|
|
public void setPrivatePort(String privatePort) {
|
|
this.privatePort = privatePort;
|
|
}
|
|
|
|
public String getAlgorithm() {
|
|
return algorithm;
|
|
}
|
|
|
|
public void setAlgorithm(String algorithm) {
|
|
this.algorithm = algorithm;
|
|
}
|
|
|
|
public String getAccountName() {
|
|
return accountName;
|
|
}
|
|
|
|
public void setAccountName(String accountName) {
|
|
this.accountName = accountName;
|
|
}
|
|
|
|
public Long getDomainId() {
|
|
return domainId;
|
|
}
|
|
|
|
public void setDomainId(Long domainId) {
|
|
this.domainId = domainId;
|
|
}
|
|
|
|
public String getDomainName() {
|
|
return domainName;
|
|
}
|
|
|
|
public void setDomainName(String domainName) {
|
|
this.domainName = domainName;
|
|
}
|
|
}
|