org.aarboard.nextcloud.api.provisioning.UserDetailsAnswer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nextcloud-api Show documentation
Show all versions of nextcloud-api Show documentation
Java api library to access nextcloud features from java applications
The newest version!
package org.aarboard.nextcloud.api.provisioning;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import org.aarboard.nextcloud.api.utils.JsonAnswer;
@JsonRootName(value = "ocs")
public class UserDetailsAnswer extends JsonAnswer {
@JsonProperty
private User data;
@JsonIgnore
public User getUserDetails() {
if (data != null ) {
return data;
}
return null;
}
}