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

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

package org.openstack4j.openstack.storage.block.domain;

import org.openstack4j.model.ModelEntity;

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

/**
 * A request entity used for accepting a volume transfer
 * 
 * @author Jeremy Unruh
 */
@JsonRootName("accept")
public class CinderVolumeTransferAccept implements ModelEntity {

    private static final long serialVersionUID = 1L;

    @JsonProperty("auth_key")
    private String authKey;
    
    public CinderVolumeTransferAccept() { }
    
    private CinderVolumeTransferAccept(String authKey) {
        this.authKey = authKey;
    }
    
    public static CinderVolumeTransferAccept create(String authKey) {
        return new CinderVolumeTransferAccept(authKey);
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy