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

com.volcengine.vedbm.model.MaintenanceWindowForDescribeDBInstanceDetailOutput Maven / Gradle / Ivy

There is a newer version: 0.1.129
Show newest version
/*
 * vedbm
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: common-version
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.volcengine.vedbm.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.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * MaintenanceWindowForDescribeDBInstanceDetailOutput
 */



public class MaintenanceWindowForDescribeDBInstanceDetailOutput {
  @SerializedName("DayKind")
  private Integer dayKind = null;

  @SerializedName("DayOfMonth")
  private List dayOfMonth = null;

  @SerializedName("DayOfWeek")
  private List dayOfWeek = null;

  @SerializedName("MaintenanceTime")
  private String maintenanceTime = null;

  public MaintenanceWindowForDescribeDBInstanceDetailOutput dayKind(Integer dayKind) {
    this.dayKind = dayKind;
    return this;
  }

   /**
   * Get dayKind
   * @return dayKind
  **/
  @Schema(description = "")
  public Integer getDayKind() {
    return dayKind;
  }

  public void setDayKind(Integer dayKind) {
    this.dayKind = dayKind;
  }

  public MaintenanceWindowForDescribeDBInstanceDetailOutput dayOfMonth(List dayOfMonth) {
    this.dayOfMonth = dayOfMonth;
    return this;
  }

  public MaintenanceWindowForDescribeDBInstanceDetailOutput addDayOfMonthItem(Integer dayOfMonthItem) {
    if (this.dayOfMonth == null) {
      this.dayOfMonth = new ArrayList();
    }
    this.dayOfMonth.add(dayOfMonthItem);
    return this;
  }

   /**
   * Get dayOfMonth
   * @return dayOfMonth
  **/
  @Schema(description = "")
  public List getDayOfMonth() {
    return dayOfMonth;
  }

  public void setDayOfMonth(List dayOfMonth) {
    this.dayOfMonth = dayOfMonth;
  }

  public MaintenanceWindowForDescribeDBInstanceDetailOutput dayOfWeek(List dayOfWeek) {
    this.dayOfWeek = dayOfWeek;
    return this;
  }

  public MaintenanceWindowForDescribeDBInstanceDetailOutput addDayOfWeekItem(Integer dayOfWeekItem) {
    if (this.dayOfWeek == null) {
      this.dayOfWeek = new ArrayList();
    }
    this.dayOfWeek.add(dayOfWeekItem);
    return this;
  }

   /**
   * Get dayOfWeek
   * @return dayOfWeek
  **/
  @Schema(description = "")
  public List getDayOfWeek() {
    return dayOfWeek;
  }

  public void setDayOfWeek(List dayOfWeek) {
    this.dayOfWeek = dayOfWeek;
  }

  public MaintenanceWindowForDescribeDBInstanceDetailOutput maintenanceTime(String maintenanceTime) {
    this.maintenanceTime = maintenanceTime;
    return this;
  }

   /**
   * Get maintenanceTime
   * @return maintenanceTime
  **/
  @Schema(description = "")
  public String getMaintenanceTime() {
    return maintenanceTime;
  }

  public void setMaintenanceTime(String maintenanceTime) {
    this.maintenanceTime = maintenanceTime;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    MaintenanceWindowForDescribeDBInstanceDetailOutput maintenanceWindowForDescribeDBInstanceDetailOutput = (MaintenanceWindowForDescribeDBInstanceDetailOutput) o;
    return Objects.equals(this.dayKind, maintenanceWindowForDescribeDBInstanceDetailOutput.dayKind) &&
        Objects.equals(this.dayOfMonth, maintenanceWindowForDescribeDBInstanceDetailOutput.dayOfMonth) &&
        Objects.equals(this.dayOfWeek, maintenanceWindowForDescribeDBInstanceDetailOutput.dayOfWeek) &&
        Objects.equals(this.maintenanceTime, maintenanceWindowForDescribeDBInstanceDetailOutput.maintenanceTime);
  }

  @Override
  public int hashCode() {
    return Objects.hash(dayKind, dayOfMonth, dayOfWeek, maintenanceTime);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class MaintenanceWindowForDescribeDBInstanceDetailOutput {\n");
    
    sb.append("    dayKind: ").append(toIndentedString(dayKind)).append("\n");
    sb.append("    dayOfMonth: ").append(toIndentedString(dayOfMonth)).append("\n");
    sb.append("    dayOfWeek: ").append(toIndentedString(dayOfWeek)).append("\n");
    sb.append("    maintenanceTime: ").append(toIndentedString(maintenanceTime)).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