com.capitalone.dashboard.request.CloudVolumeCreateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core package shared by API layer and Microservices
package com.capitalone.dashboard.request;
import com.capitalone.dashboard.model.NameValue;
import org.springframework.data.mongodb.core.index.Indexed;
import java.util.ArrayList;
import java.util.List;
public class CloudVolumeCreateRequest extends BaseRequest {
@Indexed
private String volumeId;
@Indexed
private String accountNumber;
private String status;
private long creationDate;
private int size;
private List tags = new ArrayList<>();
private boolean encrypted;
private String type;
private String zone;
private List attchInstances = new ArrayList<>();
public String getVolumeId() {
return volumeId;
}
public void setVolumeId(String volumeId) {
this.volumeId = volumeId;
}
public String getAccountNumber() {
return accountNumber;
}
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public long getCreationDate() {
return creationDate;
}
public void setCreationDate(long creationDate) {
this.creationDate = creationDate;
}
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
public List getTags() {
return tags;
}
public boolean isEncrypted() {
return encrypted;
}
public void setEncrypted(boolean encrypted) {
this.encrypted = encrypted;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getZone() {
return zone;
}
public void setZone(String zone) {
this.zone = zone;
}
public List getAttchInstances() {
return attchInstances;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || !(o instanceof CloudVolumeCreateRequest)) return false;
CloudVolumeCreateRequest that = (CloudVolumeCreateRequest) o;
return volumeId != null ? volumeId.equals(that.volumeId) : that.volumeId == null;
}
@Override
public int hashCode() {
return volumeId != null ? volumeId.hashCode() : 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy