org.openstack4j.openstack.sahara.domain.SaharaJobBinaryUnwrapped Maven / Gradle / Ivy
package org.openstack4j.openstack.sahara.domain;
import org.openstack4j.model.ModelEntity;
import org.openstack4j.model.sahara.JobBinary;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
/**
* An OpenStack Sahara
* Unwrap the root name of Job Binary when serialized into json request
*
* @author [email protected]
* @author [email protected]
*/
public class SaharaJobBinaryUnwrapped implements ModelEntity {
private static final long serialVersionUID = 1L;
@JsonUnwrapped
//@JsonProperty("job_binary")
private JobBinary jobBinary;
public SaharaJobBinaryUnwrapped(JobBinary jobBinary) {
this.jobBinary = jobBinary;
}
public JobBinary getJobBinary() { // need for serialization
return jobBinary;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy