/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.gkeonprem.v1.model;

/**
 * ValidationCheck represents the result of preflight check.
 *
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the Anthos On-Prem API. For a detailed explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class ValidationCheck extends com.google.api.client.json.GenericJson {

  /**
   * Options used for the validation check
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String option;

  /**
   * Output only. The scenario when the preflight checks were run.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String scenario;

  /**
   * Output only. The detailed validation check status.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private ValidationCheckStatus status;

  /**
   * Options used for the validation check
   * @return value or {@code null} for none
   */
  public java.lang.String getOption() {
    return option;
  }

  /**
   * Options used for the validation check
   * @param option option or {@code null} for none
   */
  public ValidationCheck setOption(java.lang.String option) {
    this.option = option;
    return this;
  }

  /**
   * Output only. The scenario when the preflight checks were run.
   * @return value or {@code null} for none
   */
  public java.lang.String getScenario() {
    return scenario;
  }

  /**
   * Output only. The scenario when the preflight checks were run.
   * @param scenario scenario or {@code null} for none
   */
  public ValidationCheck setScenario(java.lang.String scenario) {
    this.scenario = scenario;
    return this;
  }

  /**
   * Output only. The detailed validation check status.
   * @return value or {@code null} for none
   */
  public ValidationCheckStatus getStatus() {
    return status;
  }

  /**
   * Output only. The detailed validation check status.
   * @param status status or {@code null} for none
   */
  public ValidationCheck setStatus(ValidationCheckStatus status) {
    this.status = status;
    return this;
  }

  @Override
  public ValidationCheck set(String fieldName, Object value) {
    return (ValidationCheck) super.set(fieldName, value);
  }

  @Override
  public ValidationCheck clone() {
    return (ValidationCheck) super.clone();
  }

}
