All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.openstack.storage.block.domain.ExtendAction Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.openstack.storage.block.domain;

import org.openstack4j.model.ModelEntity;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;

@JsonRootName("os-extend")
public class ExtendAction implements ModelEntity {

	private static final long serialVersionUID = 1L;

	@JsonProperty("new_size")
	private final Integer newSize;

	public ExtendAction(Integer newSize) {
		this.newSize = newSize;
	}

	public static ExtendAction create(Integer newSize) {
		return new ExtendAction(newSize);
	}

	public Integer getNewSize() {
		return newSize;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy