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

com.mypurecloud.sdk.model.CallableTimeSetNotificationCallableTime 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.CallableTimeSetNotificationTimeSlots;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;

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

public class CallableTimeSetNotificationCallableTime  implements Serializable {
  
  private List timeSlots = new ArrayList();
  private String timeZoneId = null;
  private Object additionalProperties = null;

  
  /**
   **/
  public CallableTimeSetNotificationCallableTime timeSlots(List timeSlots) {
    this.timeSlots = timeSlots;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("timeSlots")
  public List getTimeSlots() {
    return timeSlots;
  }
  public void setTimeSlots(List timeSlots) {
    this.timeSlots = timeSlots;
  }


  /**
   **/
  public CallableTimeSetNotificationCallableTime timeZoneId(String timeZoneId) {
    this.timeZoneId = timeZoneId;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("timeZoneId")
  public String getTimeZoneId() {
    return timeZoneId;
  }
  public void setTimeZoneId(String timeZoneId) {
    this.timeZoneId = timeZoneId;
  }


  /**
   **/
  public CallableTimeSetNotificationCallableTime additionalProperties(Object additionalProperties) {
    this.additionalProperties = additionalProperties;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("additionalProperties")
  public Object getAdditionalProperties() {
    return additionalProperties;
  }
  public void setAdditionalProperties(Object additionalProperties) {
    this.additionalProperties = additionalProperties;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CallableTimeSetNotificationCallableTime callableTimeSetNotificationCallableTime = (CallableTimeSetNotificationCallableTime) o;
    return Objects.equals(this.timeSlots, callableTimeSetNotificationCallableTime.timeSlots) &&
        Objects.equals(this.timeZoneId, callableTimeSetNotificationCallableTime.timeZoneId) &&
        Objects.equals(this.additionalProperties, callableTimeSetNotificationCallableTime.additionalProperties);
  }

  @Override
  public int hashCode() {
    return Objects.hash(timeSlots, timeZoneId, additionalProperties);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CallableTimeSetNotificationCallableTime {\n");
    
    sb.append("    timeSlots: ").append(toIndentedString(timeSlots)).append("\n");
    sb.append("    timeZoneId: ").append(toIndentedString(timeZoneId)).append("\n");
    sb.append("    additionalProperties: ").append(toIndentedString(additionalProperties)).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