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

com.symphony.api.model.UserCompp Maven / Gradle / Ivy

package com.symphony.api.model;

import io.swagger.v3.oas.annotations.media.Schema;

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;

/**
  * Basic user information to include in other models
 **/
@Schema(description="Basic user information to include in other models")
public class UserCompp   {
  
  @Schema(description = "User ID")
 /**
   * User ID  
  **/
  private Long id = null;
  
  @Schema(description = "Username")
 /**
   * Username  
  **/
  private String username = null;
  
  @Schema(description = "User first name")
 /**
   * User first name  
  **/
  private String firstName = null;
  
  @Schema(description = "User last name")
 /**
   * User last name  
  **/
  private String lastName = null;
  
  @Schema(description = "User email addressIntegrationUserManagerTest")
 /**
   * User email addressIntegrationUserManagerTest  
  **/
  private String emailAddress = null;
 /**
   * User ID
   * @return id
  **/
  @JsonProperty("id")
  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public UserCompp id(Long id) {
    this.id = id;
    return this;
  }

 /**
   * Username
   * @return username
  **/
  @JsonProperty("username")
  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public UserCompp username(String username) {
    this.username = username;
    return this;
  }

 /**
   * User first name
   * @return firstName
  **/
  @JsonProperty("firstName")
  public String getFirstName() {
    return firstName;
  }

  public void setFirstName(String firstName) {
    this.firstName = firstName;
  }

  public UserCompp firstName(String firstName) {
    this.firstName = firstName;
    return this;
  }

 /**
   * User last name
   * @return lastName
  **/
  @JsonProperty("lastName")
  public String getLastName() {
    return lastName;
  }

  public void setLastName(String lastName) {
    this.lastName = lastName;
  }

  public UserCompp lastName(String lastName) {
    this.lastName = lastName;
    return this;
  }

 /**
   * User email addressIntegrationUserManagerTest
   * @return emailAddress
  **/
  @JsonProperty("emailAddress")
  public String getEmailAddress() {
    return emailAddress;
  }

  public void setEmailAddress(String emailAddress) {
    this.emailAddress = emailAddress;
  }

  public UserCompp emailAddress(String emailAddress) {
    this.emailAddress = emailAddress;
    return this;
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class UserCompp {\n");
    
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    username: ").append(toIndentedString(username)).append("\n");
    sb.append("    firstName: ").append(toIndentedString(firstName)).append("\n");
    sb.append("    lastName: ").append(toIndentedString(lastName)).append("\n");
    sb.append("    emailAddress: ").append(toIndentedString(emailAddress)).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