| // Copyright 2012 Citrix Systems, Inc. Licensed under the |
| // Apache License, Version 2.0 (the "License"); you may not use this |
| // file except in compliance with the License. Citrix Systems, Inc. |
| // reserves all rights not expressly granted by 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. |
| // |
| // Automatically generated by addcopyright.py at 04/03/2012 |
| package com.cloud.async.executor;
|
|
|
| import java.util.Date;
|
|
|
| import com.cloud.async.AsyncInstanceCreateStatus;
|
| import com.cloud.serializer.Param;
|
| import com.cloud.storage.Volume.Type;
|
| import com.cloud.storage.upload.UploadState;
|
|
|
| public class ExtractJobResultObject {
|
|
|
| public ExtractJobResultObject(Long accountId, String typeName, String currState, int uploadPercent, Long uploadId){
|
| this.accountId = accountId;
|
| this.name = typeName;
|
| this.state = currState;
|
| this.id = uploadId;
|
| this.uploadPercent = uploadPercent;
|
| }
|
|
|
| public ExtractJobResultObject(Long accountId, String typeName, String currState, Long uploadId, String url){
|
| this.accountId = accountId;
|
| this.name = typeName;
|
| this.state = currState;
|
| this.id = uploadId;
|
| this.url = url;
|
| }
|
|
|
| public ExtractJobResultObject(){
|
| }
|
|
|
| @Param(name="id")
|
| private long id;
|
|
|
| @Param(name="name")
|
| private String name;
|
|
|
| @Param(name="uploadPercentage")
|
| private int uploadPercent;
|
|
|
| @Param(name="uploadStatus")
|
| private String uploadStatus;
|
|
|
| @Param(name="accountid")
|
| long accountId;
|
|
|
| @Param(name="result_string")
|
| String result_string;
|
|
|
| @Param(name="created")
|
| private Date createdDate;
|
|
|
| @Param(name="state")
|
| private String state;
|
|
|
| @Param(name="storagetype")
|
| String storageType;
|
|
|
| @Param(name="storage")
|
| private String storage;
|
|
|
| @Param(name="zoneid")
|
| private Long zoneId;
|
|
|
| @Param(name="zonename")
|
| private String zoneName;
|
|
|
| @Param(name="url")
|
| private String url;
|
|
|
| public String getUrl() {
|
| return url;
|
| }
|
|
|
| public void setUrl(String url) {
|
| this.url = url;
|
| }
|
|
|
| public int getUploadPercent() {
|
| return uploadPercent;
|
| }
|
|
|
| public void setUploadPercent(int i) {
|
| this.uploadPercent = i;
|
| }
|
|
|
| public String getUploadStatus() {
|
| return uploadStatus;
|
| }
|
|
|
| public void setUploadStatus(String uploadStatus) {
|
| this.uploadStatus = uploadStatus;
|
| }
|
|
|
| public String getResult_string() {
|
| return result_string;
|
| }
|
|
|
| public void setResult_string(String resultString) {
|
| result_string = resultString;
|
| }
|
|
|
|
|
| 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 getStorage() {
|
| return storage;
|
| }
|
|
|
| public void setStorage(String storage) {
|
| this.storage = storage;
|
| }
|
|
|
| public void setId(long id) {
|
| this.id = id;
|
| }
|
|
|
| public long getId() {
|
| return id;
|
| }
|
|
|
| public void setName(String name) {
|
| this.name = name;
|
| }
|
|
|
| public String getName() {
|
| return name;
|
| }
|
|
|
| public void setCreatedDate(Date createdDate) {
|
| this.createdDate = createdDate;
|
| }
|
|
|
| public Date getCreatedDate() {
|
| return createdDate;
|
| }
|
|
|
| public void setState(String status) {
|
| this.state = status;
|
| }
|
|
|
| public String getState() {
|
| return state;
|
| }
|
|
|
| public void setStorageType (String storageType) {
|
| this.storageType = storageType;
|
| }
|
|
|
| public String getStorageType() {
|
| return storageType;
|
| }
|
|
|
| }
|