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

org.zendesk.client.v2.model.schedules.Schedule Maven / Gradle / Ivy

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

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

public class Schedule implements Serializable {

  private static final long serialVersionUID = 1L;

  private Long id;
  private String name;
  private String timeZone;
  private List intervals;
  private Date createdAt;
  private Date updatedAt;

  /**
   * Automatically assigned upon creation
   *
   * @return Schedule ID
   */
  public Long getId() {
    return id;
  }

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

  /**
   * @return Name of the Schedule
   */
  public String getName() {
    return name;
  }

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

  /**
   * @return Time zone of the schedule
   */
  @JsonProperty("time_zone")
  public String getTimeZone() {
    return timeZone;
  }

  public void setTimeZone(String timeZone) {
    this.timeZone = timeZone;
  }

  /**
   * @return List of intervals for the schedule
   */
  public List getIntervals() {
    return intervals;
  }

  public void setIntervals(List intervals) {
    this.intervals = intervals;
  }

  /**
   * @return Time the schedule was created
   */
  @JsonProperty("created_at")
  public Date getCreatedAt() {
    return createdAt;
  }

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

  /**
   * @return Time the schedule was last updated
   */
  @JsonProperty("updated_at")
  public Date getUpdatedAt() {
    return updatedAt;
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy