mirror of https://github.com/apache/cloudstack.git
279 lines
6.2 KiB
Java
279 lines
6.2 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 java.util.Date;
|
|
|
|
import com.cloud.api.ResponseObject;
|
|
import com.cloud.serializer.Param;
|
|
|
|
public class VolumeResponse implements ResponseObject {
|
|
@Param(name="id")
|
|
private Long id;
|
|
|
|
@Param(name="jobid")
|
|
private Long jobId;
|
|
|
|
@Param(name="jobstatus")
|
|
private Integer jobStatus;
|
|
|
|
@Param(name="name")
|
|
private String name;
|
|
|
|
@Param(name="zoneid")
|
|
private Long zoneId;
|
|
|
|
@Param(name="zonename")
|
|
private String zoneName;
|
|
|
|
@Param(name="type")
|
|
private String volumeType;
|
|
|
|
@Param(name="deviceid")
|
|
private Long deviceId;
|
|
|
|
@Param(name="virtualmachineid")
|
|
private Long virtualMachineId;
|
|
|
|
@Param(name="virtualmachinename")
|
|
private String virtualMachineName;
|
|
|
|
@Param(name="virtualmachinedisplayname")
|
|
private String virtualMachineDisplayName;
|
|
|
|
@Param(name="virtualmachinestate")
|
|
private String virtualMachineState;
|
|
|
|
@Param(name="size")
|
|
private Long size;
|
|
|
|
@Param(name="created")
|
|
private Date created;
|
|
|
|
@Param(name="state")
|
|
private String state;
|
|
|
|
@Param(name="account")
|
|
private String accountName;
|
|
|
|
@Param(name="domainid")
|
|
private Long domainId;
|
|
|
|
@Param(name="domain")
|
|
private String domainName;
|
|
|
|
@Param(name="storagetype")
|
|
private String storageType;
|
|
|
|
@Param(name="diskofferingid")
|
|
private Long diskOfferingId;
|
|
|
|
@Param(name="diskofferingname")
|
|
private String diskOfferingName;
|
|
|
|
@Param(name="diskofferingdisplaytext")
|
|
private String diskOfferingDisplayText;
|
|
|
|
@Param(name="storage")
|
|
private String storagePoolName;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getJobId() {
|
|
return jobId;
|
|
}
|
|
|
|
public void setJobId(Long jobId) {
|
|
this.jobId = jobId;
|
|
}
|
|
|
|
public Integer getJobStatus() {
|
|
return jobStatus;
|
|
}
|
|
|
|
public void setJobStatus(Integer jobStatus) {
|
|
this.jobStatus = jobStatus;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public Long getZoneId() {
|
|
return zoneId;
|
|
}
|
|
|
|
public void setZoneId(Long zoneId) {
|
|
this.zoneId = zoneId;
|
|
}
|
|
|
|
public String getZoneName() {
|
|
return zoneName;
|
|
}
|
|
|
|
public void setZoneName(String zoneName) {
|
|
this.zoneName = zoneName;
|
|
}
|
|
|
|
public String getVolumeType() {
|
|
return volumeType;
|
|
}
|
|
|
|
public void setVolumeType(String volumeType) {
|
|
this.volumeType = volumeType;
|
|
}
|
|
|
|
public Long getDeviceId() {
|
|
return deviceId;
|
|
}
|
|
|
|
public void setDeviceId(Long deviceId) {
|
|
this.deviceId = deviceId;
|
|
}
|
|
|
|
public Long getVirtualMachineId() {
|
|
return virtualMachineId;
|
|
}
|
|
|
|
public void setVirtualMachineId(Long virtualMachineId) {
|
|
this.virtualMachineId = virtualMachineId;
|
|
}
|
|
|
|
public String getVirtualMachineName() {
|
|
return virtualMachineName;
|
|
}
|
|
|
|
public void setVirtualMachineName(String virtualMachineName) {
|
|
this.virtualMachineName = virtualMachineName;
|
|
}
|
|
|
|
public String getVirtualMachineDisplayName() {
|
|
return virtualMachineDisplayName;
|
|
}
|
|
|
|
public void setVirtualMachineDisplayName(String virtualMachineDisplayName) {
|
|
this.virtualMachineDisplayName = virtualMachineDisplayName;
|
|
}
|
|
|
|
public String getVirtualMachineState() {
|
|
return virtualMachineState;
|
|
}
|
|
|
|
public void setVirtualMachineState(String virtualMachineState) {
|
|
this.virtualMachineState = virtualMachineState;
|
|
}
|
|
|
|
public Long getSize() {
|
|
return size;
|
|
}
|
|
|
|
public void setSize(Long size) {
|
|
this.size = size;
|
|
}
|
|
|
|
public Date getCreated() {
|
|
return created;
|
|
}
|
|
|
|
public void setCreated(Date created) {
|
|
this.created = created;
|
|
}
|
|
|
|
public String getState() {
|
|
return state;
|
|
}
|
|
|
|
public void setState(String state) {
|
|
this.state = state;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
public String getStorageType() {
|
|
return storageType;
|
|
}
|
|
|
|
public void setStorageType(String storageType) {
|
|
this.storageType = storageType;
|
|
}
|
|
|
|
public Long getDiskOfferingId() {
|
|
return diskOfferingId;
|
|
}
|
|
|
|
public void setDiskOfferingId(Long diskOfferingId) {
|
|
this.diskOfferingId = diskOfferingId;
|
|
}
|
|
|
|
public String getDiskOfferingName() {
|
|
return diskOfferingName;
|
|
}
|
|
|
|
public void setDiskOfferingName(String diskOfferingName) {
|
|
this.diskOfferingName = diskOfferingName;
|
|
}
|
|
|
|
public String getDiskOfferingDisplayText() {
|
|
return diskOfferingDisplayText;
|
|
}
|
|
|
|
public void setDiskOfferingDisplayText(String diskOfferingDisplayText) {
|
|
this.diskOfferingDisplayText = diskOfferingDisplayText;
|
|
}
|
|
|
|
public String getStoragePoolName() {
|
|
return storagePoolName;
|
|
}
|
|
|
|
public void setStoragePoolName(String storagePoolName) {
|
|
this.storagePoolName = storagePoolName;
|
|
}
|
|
}
|