com.symphony.api.model.V4User Maven / Gradle / Ivy
package com.symphony.api.model;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.annotation.JsonCreator;
public class V4User {
@Schema(description = "Id of user")
/**
* Id of user
**/
private Long userId = null;
@Schema(description = "First name of user")
/**
* First name of user
**/
private String firstName = null;
@Schema(description = "Last name of user")
/**
* Last name of user
**/
private String lastName = null;
@Schema(description = "User display name")
/**
* User display name
**/
private String displayName = null;
@Schema(description = "Email of user")
/**
* Email of user
**/
private String email = null;
@Schema(description = "Applicable only to internal users")
/**
* Applicable only to internal users
**/
private String username = null;
/**
* Id of user
* @return userId
**/
@JsonProperty("userId")
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public V4User userId(Long userId) {
this.userId = userId;
return this;
}
/**
* First name of user
* @return firstName
**/
@JsonProperty("firstName")
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public V4User firstName(String firstName) {
this.firstName = firstName;
return this;
}
/**
* Last name of user
* @return lastName
**/
@JsonProperty("lastName")
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public V4User lastName(String lastName) {
this.lastName = lastName;
return this;
}
/**
* User display name
* @return displayName
**/
@JsonProperty("displayName")
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public V4User displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* Email of user
* @return email
**/
@JsonProperty("email")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public V4User email(String email) {
this.email = email;
return this;
}
/**
* Applicable only to internal users
* @return username
**/
@JsonProperty("username")
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public V4User username(String username) {
this.username = username;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V4User {\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" firstName: ").append(toIndentedString(firstName)).append("\n");
sb.append(" lastName: ").append(toIndentedString(lastName)).append("\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" username: ").append(toIndentedString(username)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private static String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy