/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * CalendarHolidayDto
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-09-13T10:03:17.753Z[GMT]")
public class CalendarHolidayDto {
  public static final String SERIALIZED_NAME_HOLIDAY_BEGIN = "holidayBegin";
  @SerializedName(SERIALIZED_NAME_HOLIDAY_BEGIN)
  private Integer holidayBegin;

  public static final String SERIALIZED_NAME_HOLIDAY_END = "holidayEnd";
  @SerializedName(SERIALIZED_NAME_HOLIDAY_END)
  private Integer holidayEnd;


  public CalendarHolidayDto holidayBegin(Integer holidayBegin) {
    
    this.holidayBegin = holidayBegin;
    return this;
  }

   /**
   * Get holidayBegin
   * @return holidayBegin
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Integer getHolidayBegin() {
    return holidayBegin;
  }



  public void setHolidayBegin(Integer holidayBegin) {
    this.holidayBegin = holidayBegin;
  }


  public CalendarHolidayDto holidayEnd(Integer holidayEnd) {
    
    this.holidayEnd = holidayEnd;
    return this;
  }

   /**
   * Get holidayEnd
   * @return holidayEnd
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Integer getHolidayEnd() {
    return holidayEnd;
  }



  public void setHolidayEnd(Integer holidayEnd) {
    this.holidayEnd = holidayEnd;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CalendarHolidayDto calendarHolidayDto = (CalendarHolidayDto) o;
    return Objects.equals(this.holidayBegin, calendarHolidayDto.holidayBegin) &&
        Objects.equals(this.holidayEnd, calendarHolidayDto.holidayEnd);
  }

  @Override
  public int hashCode() {
    return Objects.hash(holidayBegin, holidayEnd);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CalendarHolidayDto {\n");
    sb.append("    holidayBegin: ").append(toIndentedString(holidayBegin)).append("\n");
    sb.append("    holidayEnd: ").append(toIndentedString(holidayEnd)).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    ");
  }

}

