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

org.zendesk.client.v2.model.Organization Maven / Gradle / Ivy

The newest version!
package org.zendesk.client.v2.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author stephenc
 * @since 22/04/2013 15:38
 */
public class Organization implements SearchResultEntity, Serializable {

  private static final long serialVersionUID = 1L;

  private Long id;
  private String externalId;
  private String name;
  private Date createdAt;
  private Date updatedAt;
  private List domainNames;
  private String details;
  private String notes;
  private Long groupId;
  private Boolean sharedTickets;
  private Boolean sharedComments;
  private List tags;
  private Map organizationFields;

  public Organization() {}

  @JsonProperty("created_at")
  public Date getCreatedAt() {
    return createdAt;
  }

  public void setCreatedAt(Date createdAt) {
    this.createdAt = createdAt;
  }

  public String getDetails() {
    return details;
  }

  public void setDetails(String details) {
    this.details = details;
  }

  @JsonProperty("domain_names")
  public List getDomainNames() {
    return domainNames;
  }

  public void setDomainNames(List domainNames) {
    this.domainNames = domainNames;
  }

  @JsonProperty("external_id")
  public String getExternalId() {
    return externalId;
  }

  public void setExternalId(String externalId) {
    this.externalId = externalId;
  }

  @JsonProperty("group_id")
  public Long getGroupId() {
    return groupId;
  }

  public void setGroupId(Long groupId) {
    this.groupId = groupId;
  }

  public Long getId() {
    return id;
  }

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

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getNotes() {
    return notes;
  }

  public void setNotes(String notes) {
    this.notes = notes;
  }

  @JsonProperty("shared_comments")
  public Boolean getSharedComments() {
    return sharedComments;
  }

  public void setSharedComments(Boolean sharedComments) {
    this.sharedComments = sharedComments;
  }

  @JsonProperty("shared_tickets")
  public Boolean getSharedTickets() {
    return sharedTickets;
  }

  public void setSharedTickets(Boolean sharedTickets) {
    this.sharedTickets = sharedTickets;
  }

  public List getTags() {
    return tags;
  }

  public void setTags(List tags) {
    this.tags = tags;
  }

  @JsonProperty("updated_at")
  public Date getUpdatedAt() {
    return updatedAt;
  }

  public void setUpdatedAt(Date updatedAt) {
    this.updatedAt = updatedAt;
  }

  @JsonProperty("organization_fields")
  public Map getOrganizationFields() {
    return organizationFields;
  }

  public void setOrganizationFields(Map organizationFields) {
    this.organizationFields = organizationFields;
  }

  @Override
  public String toString() {
    return "Organization{"
        + "id="
        + id
        + ", externalId='"
        + externalId
        + '\''
        + ", name='"
        + name
        + '\''
        + ", createdAt="
        + createdAt
        + ", updatedAt="
        + updatedAt
        + ", domainNames="
        + domainNames
        + ", details='"
        + details
        + '\''
        + ", notes='"
        + notes
        + '\''
        + ", groupId="
        + groupId
        + ", sharedTickets="
        + sharedTickets
        + ", sharedComments="
        + sharedComments
        + ", tags="
        + tags
        + ", organizationFields="
        + organizationFields
        + '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy