/*
 *
 *    Copyright (c) 2022 Project CHIP Authors
 *
 *    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 FILE IS GENERATED BY ZAP
// This file is generated from clusters-Enums.h.zapt

#pragma once

#include <clusters/shared/Enums.h>
#include <cstdint>

namespace chip {
namespace app {
namespace Clusters {
namespace ColorControl {

// Enum for ColorLoopActionEnum
enum class ColorLoopActionEnum : uint8_t {
  kDeactivate = 0x00,
  kActivateFromColorLoopStartEnhancedHue = 0x01,
  kActivateFromEnhancedCurrentHue = 0x02,
  // All received enum values that are not listed above will be mapped
  // to kUnknownEnumValue. This is a helper enum value that should only
  // be used by code to process how it handles receiving and unknown
  // enum value. This specific should never be transmitted.
  kUnknownEnumValue = 3,
};

// Enum for ColorLoopDirectionEnum
enum class ColorLoopDirectionEnum : uint8_t {
  kDecrement = 0x00,
  kIncrement = 0x01,
  // All received enum values that are not listed above will be mapped
  // to kUnknownEnumValue. This is a helper enum value that should only
  // be used by code to process how it handles receiving and unknown
  // enum value. This specific should never be transmitted.
  kUnknownEnumValue = 2,
};

// Enum for ColorModeEnum
enum class ColorModeEnum : uint8_t {
  kCurrentHueAndCurrentSaturation = 0x00,
  kCurrentXAndCurrentY = 0x01,
  kColorTemperatureMireds = 0x02,
  // All received enum values that are not listed above will be mapped
  // to kUnknownEnumValue. This is a helper enum value that should only
  // be used by code to process how it handles receiving and unknown
  // enum value. This specific should never be transmitted.
  kUnknownEnumValue = 3,
};

// Enum for DirectionEnum
enum class DirectionEnum : uint8_t {
  kShortest = 0x00,
  kLongest = 0x01,
  kUp = 0x02,
  kDown = 0x03,
  // All received enum values that are not listed above will be mapped
  // to kUnknownEnumValue. This is a helper enum value that should only
  // be used by code to process how it handles receiving and unknown
  // enum value. This specific should never be transmitted.
  kUnknownEnumValue = 4,
};

// Enum for DriftCompensationEnum
enum class DriftCompensationEnum : uint8_t {
  kNone = 0x00,
  kOtherOrUnknown = 0x01,
  kTemperatureMonitoring = 0x02,
  kOpticalLuminanceMonitoringAndFeedback = 0x03,
  kOpticalColorMonitoringAndFeedback = 0x04,
  // All received enum values that are not listed above will be mapped
  // to kUnknownEnumValue. This is a helper enum value that should only
  // be used by code to process how it handles receiving and unknown
  // enum value. This specific should never be transmitted.
  kUnknownEnumValue = 5,
};

// Enum for EnhancedColorModeEnum
enum class EnhancedColorModeEnum : uint8_t {
  kCurrentHueAndCurrentSaturation = 0x00,
  kCurrentXAndCurrentY = 0x01,
  kColorTemperatureMireds = 0x02,
  kEnhancedCurrentHueAndCurrentSaturation = 0x03,
  // All received enum values that are not listed above will be mapped
  // to kUnknownEnumValue. This is a helper enum value that should only
  // be used by code to process how it handles receiving and unknown
  // enum value. This specific should never be transmitted.
  kUnknownEnumValue = 4,
};

// Enum for MoveModeEnum
enum class MoveModeEnum : uint8_t {
  kStop = 0x00,
  kUp = 0x01,
  kDown = 0x03,
  // All received enum values that are not listed above will be mapped
  // to kUnknownEnumValue. This is a helper enum value that should only
  // be used by code to process how it handles receiving and unknown
  // enum value. This specific should never be transmitted.
  kUnknownEnumValue = 2,
};

// Enum for StepModeEnum
enum class StepModeEnum : uint8_t {
  kUp = 0x01,
  kDown = 0x03,
  // All received enum values that are not listed above will be mapped
  // to kUnknownEnumValue. This is a helper enum value that should only
  // be used by code to process how it handles receiving and unknown
  // enum value. This specific should never be transmitted.
  kUnknownEnumValue = 0,
};

// Bitmap for ColorCapabilitiesBitmap
enum class ColorCapabilitiesBitmap : uint16_t {
  kHueSaturation = 0x1,
  kEnhancedHue = 0x2,
  kColorLoop = 0x4,
  kXy = 0x8,
  kColorTemperature = 0x10,
};

// Bitmap for Feature
enum class Feature : uint32_t {
  kHueAndSaturation = 0x1,
  kEnhancedHue = 0x2,
  kColorLoop = 0x4,
  kXy = 0x8,
  kColorTemperature = 0x10,
};

// Bitmap for OptionsBitmap
enum class OptionsBitmap : uint8_t {
  kExecuteIfOff = 0x1,
};

// Bitmap for UpdateFlagsBitmap
enum class UpdateFlagsBitmap : uint8_t {
  kUpdateAction = 0x1,
  kUpdateDirection = 0x2,
  kUpdateTime = 0x4,
  kUpdateStartHue = 0x8,
};
} // namespace ColorControl
} // namespace Clusters
} // namespace app
} // namespace chip
