/*
 * 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.osconfig.v1alpha.model;

/**
 * Compliance data for an OS policy resource.
 *
 * <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 OS Config 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 OSPolicyResourceCompliance extends com.google.api.client.json.GenericJson {

  /**
   * Ordered list of configuration steps taken by the agent for the OS policy resource.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<OSPolicyResourceConfigStep> configSteps;

  /**
   * ExecResource specific output.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private OSPolicyResourceComplianceExecResourceOutput execResourceOutput;

  /**
   * The id of the OS policy resource.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String osPolicyResourceId;

  /**
   * Compliance state of the OS policy resource.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String state;

  /**
   * Ordered list of configuration steps taken by the agent for the OS policy resource.
   * @return value or {@code null} for none
   */
  public java.util.List<OSPolicyResourceConfigStep> getConfigSteps() {
    return configSteps;
  }

  /**
   * Ordered list of configuration steps taken by the agent for the OS policy resource.
   * @param configSteps configSteps or {@code null} for none
   */
  public OSPolicyResourceCompliance setConfigSteps(java.util.List<OSPolicyResourceConfigStep> configSteps) {
    this.configSteps = configSteps;
    return this;
  }

  /**
   * ExecResource specific output.
   * @return value or {@code null} for none
   */
  public OSPolicyResourceComplianceExecResourceOutput getExecResourceOutput() {
    return execResourceOutput;
  }

  /**
   * ExecResource specific output.
   * @param execResourceOutput execResourceOutput or {@code null} for none
   */
  public OSPolicyResourceCompliance setExecResourceOutput(OSPolicyResourceComplianceExecResourceOutput execResourceOutput) {
    this.execResourceOutput = execResourceOutput;
    return this;
  }

  /**
   * The id of the OS policy resource.
   * @return value or {@code null} for none
   */
  public java.lang.String getOsPolicyResourceId() {
    return osPolicyResourceId;
  }

  /**
   * The id of the OS policy resource.
   * @param osPolicyResourceId osPolicyResourceId or {@code null} for none
   */
  public OSPolicyResourceCompliance setOsPolicyResourceId(java.lang.String osPolicyResourceId) {
    this.osPolicyResourceId = osPolicyResourceId;
    return this;
  }

  /**
   * Compliance state of the OS policy resource.
   * @return value or {@code null} for none
   */
  public java.lang.String getState() {
    return state;
  }

  /**
   * Compliance state of the OS policy resource.
   * @param state state or {@code null} for none
   */
  public OSPolicyResourceCompliance setState(java.lang.String state) {
    this.state = state;
    return this;
  }

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

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

}
