forked from apache/cloudstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for storpool_qos service
- Loading branch information
Showing
11 changed files
with
1,017 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
...me/storpool/src/main/java/org/apache/cloudstack/storage/datastore/api/StorPoolVolume.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
package org.apache.cloudstack.storage.datastore.api; | ||
|
||
import java.io.Serializable; | ||
import java.util.Map; | ||
|
||
public class StorPoolVolume implements Serializable { | ||
|
||
private static final long serialVersionUID = 1L; | ||
private transient String name; | ||
private Long size; | ||
private Map<String, String> tags; | ||
private String parent; | ||
private Long iops; | ||
private String template; | ||
private String baseOn; | ||
private String rename; | ||
private Boolean shrinkOk; | ||
|
||
public StorPoolVolume() { | ||
} | ||
|
||
public StorPoolVolume(String name, Long size, Map<String, String> tags, String parent, Long iops, String template, | ||
String baseOn, String rename, Boolean shrinkOk) { | ||
super(); | ||
this.name = name; | ||
this.size = size; | ||
this.tags = tags; | ||
this.parent = parent; | ||
this.iops = iops; | ||
this.template = template; | ||
this.baseOn = baseOn; | ||
this.rename = rename; | ||
this.shrinkOk = shrinkOk; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
public Long getSize() { | ||
return size; | ||
} | ||
public void setSize(Long size) { | ||
this.size = size; | ||
} | ||
public Map<String, String> getTags() { | ||
return tags; | ||
} | ||
public void setTags(Map<String, String> tags) { | ||
this.tags = tags; | ||
} | ||
public String getParent() { | ||
return parent; | ||
} | ||
public void setParent(String parent) { | ||
this.parent = parent; | ||
} | ||
public Long getIops() { | ||
return iops; | ||
} | ||
public void setIops(Long iops) { | ||
this.iops = iops; | ||
} | ||
public String getTemplate() { | ||
return template; | ||
} | ||
public void setTemplate(String template) { | ||
this.template = template; | ||
} | ||
public String getBaseOn() { | ||
return baseOn; | ||
} | ||
public void setBaseOn(String baseOn) { | ||
this.baseOn = baseOn; | ||
} | ||
public String getRename() { | ||
return rename; | ||
} | ||
public void setRename(String rename) { | ||
this.rename = rename; | ||
} | ||
|
||
public Boolean getShrinkOk() { | ||
return shrinkOk; | ||
} | ||
|
||
public void setShrinkOk(Boolean shrinkOk) { | ||
this.shrinkOk = shrinkOk; | ||
} | ||
} |
Oops, something went wrong.