com.woorea.openstack.cinder.model.VolumeForImageCreate Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (C) 2016 AT&T Intellectual Property. All rights reserved. This code is licensed under the Apache License, Version 2.0
*******************************************************************************/
package com.woorea.openstack.cinder.model;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
@JsonRootName("os-volume_upload_image")
public class VolumeForImageCreate implements Serializable {
String volumeId;
String tenantId;
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
@JsonProperty("force")
private Boolean force;
public Boolean getForce() {
return force;
}
public void setForce(Boolean force) {
this.force = force;
}
@JsonProperty("container_format")
String container_format;
@JsonProperty("disk_format")
String disk_format;
@JsonProperty("image_name")
String image_name;
public String getVolumeId() {
return volumeId;
}
public void setVolumeId(String volumeId) {
this.volumeId = volumeId;
}
public String getContainer_format() {
return container_format;
}
public void setContainer_format(String container_format) {
this.container_format = container_format;
}
public String getDisk_format() {
return disk_format;
}
public void setDisk_format(String disk_format) {
this.disk_format = disk_format;
}
public String getImage_name() {
return image_name;
}
public void setImage_name(String image_name) {
this.image_name = image_name;
}
}