package org.ovirt.engine.core.common.vdscommands;
import org.ovirt.engine.core.compat.*;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.ovirt.engine.core.common.queries.*;
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
@XmlAccessorType(XmlAccessType.NONE)
@XmlType(name = "GetImportCandidatesVDSCommandParameters")
public class GetImportCandidatesVDSCommandParameters extends IrsBaseVDSCommandParameters {
// C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to
// .NET attributes:
@XmlElement(name = "Path")
private String privatePath;
public String getPath() {
return privatePath;
}
public void setPath(String value) {
privatePath = value;
}
// C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to
// .NET attributes:
@XmlElement(name = "CandidateSource")
private ImportCandidateSourceEnum privateCandidateSource = ImportCandidateSourceEnum.forValue(0);
public ImportCandidateSourceEnum getCandidateSource() {
return privateCandidateSource;
}
public void setCandidateSource(ImportCandidateSourceEnum value) {
privateCandidateSource = value;
}
// C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to
// .NET attributes:
@XmlElement(name = "CandidateType")
private ImportCandidateTypeEnum privateCandidateType = ImportCandidateTypeEnum.forValue(0);
public ImportCandidateTypeEnum getCandidateType() {
return privateCandidateType;
}
public void setCandidateType(ImportCandidateTypeEnum value) {
privateCandidateType = value;
}
public GetImportCandidatesVDSCommandParameters(Guid storagePoolId, String path,
ImportCandidateSourceEnum candidateSource, ImportCandidateTypeEnum candidateType) {
super(storagePoolId);
setPath(path);
setCandidateSource(candidateSource);
setCandidateType(candidateType);
}
public GetImportCandidatesVDSCommandParameters() {
}
@Override
public String toString() {
return String.format("%s, path = %s, candidateSource = %s, candidateType = %s",
super.toString(),
getPath(),
getCandidateSource(),
getCandidateType());
}
}