com.affinda.api.client.models.User Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of affinda-api-client Show documentation
Show all versions of affinda-api-client Show documentation
This package contains Java Client Library for the Affinda Resume Parser API. For documentation on how
to use this package, please see https://github.com/affinda/affinda-java
package com.affinda.api.client.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The User model. */
@Fluent
public class User {
/*
* Uniquely identify a user.
*/
@JsonProperty(value = "id")
private Integer id;
/*
* The name property.
*/
@JsonProperty(value = "name")
private String name;
/*
* The username property.
*/
@JsonProperty(value = "username")
private String username;
/*
* The email property.
*/
@JsonProperty(value = "email")
private String email;
/*
* URL of the user's avatar.
*/
@JsonProperty(value = "avatar")
private String avatar;
/**
* Get the id property: Uniquely identify a user.
*
* @return the id value.
*/
public Integer getId() {
return this.id;
}
/**
* Set the id property: Uniquely identify a user.
*
* @param id the id value to set.
* @return the User object itself.
*/
public User setId(Integer id) {
this.id = id;
return this;
}
/**
* Get the name property: The name property.
*
* @return the name value.
*/
public String getName() {
return this.name;
}
/**
* Set the name property: The name property.
*
* @param name the name value to set.
* @return the User object itself.
*/
public User setName(String name) {
this.name = name;
return this;
}
/**
* Get the username property: The username property.
*
* @return the username value.
*/
public String getUsername() {
return this.username;
}
/**
* Set the username property: The username property.
*
* @param username the username value to set.
* @return the User object itself.
*/
public User setUsername(String username) {
this.username = username;
return this;
}
/**
* Get the email property: The email property.
*
* @return the email value.
*/
public String getEmail() {
return this.email;
}
/**
* Set the email property: The email property.
*
* @param email the email value to set.
* @return the User object itself.
*/
public User setEmail(String email) {
this.email = email;
return this;
}
/**
* Get the avatar property: URL of the user's avatar.
*
* @return the avatar value.
*/
public String getAvatar() {
return this.avatar;
}
/**
* Set the avatar property: URL of the user's avatar.
*
* @param avatar the avatar value to set.
* @return the User object itself.
*/
public User setAvatar(String avatar) {
this.avatar = avatar;
return this;
}
}