/*
 * 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.mybusinesslodging.v1.model;

/**
 * Sustainability practices implemented at the hotel.
 *
 * <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 My Business Lodging 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 Sustainability extends com.google.api.client.json.GenericJson {

  /**
   * Energy efficiency practices implemented at the hotel.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private EnergyEfficiency energyEfficiency;

  /**
   * Sustainability certifications the hotel has been awarded.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private SustainabilityCertifications sustainabilityCertifications;

  /**
   * Sustainable sourcing practices implemented at the hotel.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private SustainableSourcing sustainableSourcing;

  /**
   * Waste reduction practices implemented at the hotel.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private WasteReduction wasteReduction;

  /**
   * Water conservation practices implemented at the hotel.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private WaterConservation waterConservation;

  /**
   * Energy efficiency practices implemented at the hotel.
   * @return value or {@code null} for none
   */
  public EnergyEfficiency getEnergyEfficiency() {
    return energyEfficiency;
  }

  /**
   * Energy efficiency practices implemented at the hotel.
   * @param energyEfficiency energyEfficiency or {@code null} for none
   */
  public Sustainability setEnergyEfficiency(EnergyEfficiency energyEfficiency) {
    this.energyEfficiency = energyEfficiency;
    return this;
  }

  /**
   * Sustainability certifications the hotel has been awarded.
   * @return value or {@code null} for none
   */
  public SustainabilityCertifications getSustainabilityCertifications() {
    return sustainabilityCertifications;
  }

  /**
   * Sustainability certifications the hotel has been awarded.
   * @param sustainabilityCertifications sustainabilityCertifications or {@code null} for none
   */
  public Sustainability setSustainabilityCertifications(SustainabilityCertifications sustainabilityCertifications) {
    this.sustainabilityCertifications = sustainabilityCertifications;
    return this;
  }

  /**
   * Sustainable sourcing practices implemented at the hotel.
   * @return value or {@code null} for none
   */
  public SustainableSourcing getSustainableSourcing() {
    return sustainableSourcing;
  }

  /**
   * Sustainable sourcing practices implemented at the hotel.
   * @param sustainableSourcing sustainableSourcing or {@code null} for none
   */
  public Sustainability setSustainableSourcing(SustainableSourcing sustainableSourcing) {
    this.sustainableSourcing = sustainableSourcing;
    return this;
  }

  /**
   * Waste reduction practices implemented at the hotel.
   * @return value or {@code null} for none
   */
  public WasteReduction getWasteReduction() {
    return wasteReduction;
  }

  /**
   * Waste reduction practices implemented at the hotel.
   * @param wasteReduction wasteReduction or {@code null} for none
   */
  public Sustainability setWasteReduction(WasteReduction wasteReduction) {
    this.wasteReduction = wasteReduction;
    return this;
  }

  /**
   * Water conservation practices implemented at the hotel.
   * @return value or {@code null} for none
   */
  public WaterConservation getWaterConservation() {
    return waterConservation;
  }

  /**
   * Water conservation practices implemented at the hotel.
   * @param waterConservation waterConservation or {@code null} for none
   */
  public Sustainability setWaterConservation(WaterConservation waterConservation) {
    this.waterConservation = waterConservation;
    return this;
  }

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

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

}
