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

com.mypurecloud.sdk.model.Adjacents Maven / Gradle / Ivy

The newest version!
package com.mypurecloud.sdk.model;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mypurecloud.sdk.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;

import java.io.Serializable;
/**
 * Adjacents
 */

public class Adjacents  implements Serializable {
  
  private List superiors = new ArrayList();
  private List siblings = new ArrayList();
  private List directReports = new ArrayList();

  
  /**
   **/
  public Adjacents superiors(List superiors) {
    this.superiors = superiors;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("superiors")
  public List getSuperiors() {
    return superiors;
  }
  public void setSuperiors(List superiors) {
    this.superiors = superiors;
  }


  /**
   **/
  public Adjacents siblings(List siblings) {
    this.siblings = siblings;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("siblings")
  public List getSiblings() {
    return siblings;
  }
  public void setSiblings(List siblings) {
    this.siblings = siblings;
  }


  /**
   **/
  public Adjacents directReports(List directReports) {
    this.directReports = directReports;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("directReports")
  public List getDirectReports() {
    return directReports;
  }
  public void setDirectReports(List directReports) {
    this.directReports = directReports;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Adjacents adjacents = (Adjacents) o;
    return Objects.equals(this.superiors, adjacents.superiors) &&
        Objects.equals(this.siblings, adjacents.siblings) &&
        Objects.equals(this.directReports, adjacents.directReports);
  }

  @Override
  public int hashCode() {
    return Objects.hash(superiors, siblings, directReports);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Adjacents {\n");
    
    sb.append("    superiors: ").append(toIndentedString(superiors)).append("\n");
    sb.append("    siblings: ").append(toIndentedString(siblings)).append("\n");
    sb.append("    directReports: ").append(toIndentedString(directReports)).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 String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy