# Copyright 2019 Google LLC
#
# 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.

# NOTE: This file is auto generated by the elixir code generator program.
# Do not edit this file manually.

defmodule GoogleApi.MyBusinessLodging.V1.Model.EnhancedCleaning do
  @moduledoc """
  Enhanced cleaning measures implemented by the hotel during COVID-19.

  ## Attributes

  *   `commercialGradeDisinfectantCleaning` (*type:* `boolean()`, *default:* `nil`) - Commercial-grade disinfectant used to clean the property.
  *   `commercialGradeDisinfectantCleaningException` (*type:* `String.t`, *default:* `nil`) - Commercial grade disinfectant cleaning exception.
  *   `commonAreasEnhancedCleaning` (*type:* `boolean()`, *default:* `nil`) - Enhanced cleaning of common areas.
  *   `commonAreasEnhancedCleaningException` (*type:* `String.t`, *default:* `nil`) - Common areas enhanced cleaning exception.
  *   `employeesTrainedCleaningProcedures` (*type:* `boolean()`, *default:* `nil`) - Employees trained in COVID-19 cleaning procedures.
  *   `employeesTrainedCleaningProceduresException` (*type:* `String.t`, *default:* `nil`) - Employees trained cleaning procedures exception.
  *   `employeesTrainedThoroughHandWashing` (*type:* `boolean()`, *default:* `nil`) - Employees trained in thorough hand-washing.
  *   `employeesTrainedThoroughHandWashingException` (*type:* `String.t`, *default:* `nil`) - Employees trained thorough hand washing exception.
  *   `employeesWearProtectiveEquipment` (*type:* `boolean()`, *default:* `nil`) - Employees wear masks, face shields, and/or gloves.
  *   `employeesWearProtectiveEquipmentException` (*type:* `String.t`, *default:* `nil`) - Employees wear protective equipment exception.
  *   `guestRoomsEnhancedCleaning` (*type:* `boolean()`, *default:* `nil`) - Enhanced cleaning of guest rooms.
  *   `guestRoomsEnhancedCleaningException` (*type:* `String.t`, *default:* `nil`) - Guest rooms enhanced cleaning exception.
  """

  use GoogleApi.Gax.ModelBase

  @type t :: %__MODULE__{
          :commercialGradeDisinfectantCleaning => boolean() | nil,
          :commercialGradeDisinfectantCleaningException => String.t() | nil,
          :commonAreasEnhancedCleaning => boolean() | nil,
          :commonAreasEnhancedCleaningException => String.t() | nil,
          :employeesTrainedCleaningProcedures => boolean() | nil,
          :employeesTrainedCleaningProceduresException => String.t() | nil,
          :employeesTrainedThoroughHandWashing => boolean() | nil,
          :employeesTrainedThoroughHandWashingException => String.t() | nil,
          :employeesWearProtectiveEquipment => boolean() | nil,
          :employeesWearProtectiveEquipmentException => String.t() | nil,
          :guestRoomsEnhancedCleaning => boolean() | nil,
          :guestRoomsEnhancedCleaningException => String.t() | nil
        }

  field(:commercialGradeDisinfectantCleaning)
  field(:commercialGradeDisinfectantCleaningException)
  field(:commonAreasEnhancedCleaning)
  field(:commonAreasEnhancedCleaningException)
  field(:employeesTrainedCleaningProcedures)
  field(:employeesTrainedCleaningProceduresException)
  field(:employeesTrainedThoroughHandWashing)
  field(:employeesTrainedThoroughHandWashingException)
  field(:employeesWearProtectiveEquipment)
  field(:employeesWearProtectiveEquipmentException)
  field(:guestRoomsEnhancedCleaning)
  field(:guestRoomsEnhancedCleaningException)
end

defimpl Poison.Decoder, for: GoogleApi.MyBusinessLodging.V1.Model.EnhancedCleaning do
  def decode(value, options) do
    GoogleApi.MyBusinessLodging.V1.Model.EnhancedCleaning.decode(value, options)
  end
end

defimpl Poison.Encoder, for: GoogleApi.MyBusinessLodging.V1.Model.EnhancedCleaning do
  def encode(value, options) do
    GoogleApi.Gax.ModelBase.encode(value, options)
  end
end
