/*
 *
 *    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-Check.h.zapt

#pragma once

#include <clusters/NetworkCommissioning/Enums.h>

namespace chip {
namespace app {
namespace Clusters {
static auto __attribute__((unused))
EnsureKnownEnumValue(NetworkCommissioning::NetworkCommissioningStatusEnum val) {
  using EnumType = NetworkCommissioning::NetworkCommissioningStatusEnum;
  switch (val) {
  case EnumType::kSuccess:
  case EnumType::kOutOfRange:
  case EnumType::kBoundsExceeded:
  case EnumType::kNetworkIDNotFound:
  case EnumType::kDuplicateNetworkID:
  case EnumType::kNetworkNotFound:
  case EnumType::kRegulatoryError:
  case EnumType::kAuthFailure:
  case EnumType::kUnsupportedSecurity:
  case EnumType::kOtherConnectionFailure:
  case EnumType::kIPV6Failed:
  case EnumType::kIPBindFailed:
  case EnumType::kUnknownError:
    return val;
  default:
    return EnumType::kUnknownEnumValue;
  }
}
static auto __attribute__((unused))
EnsureKnownEnumValue(NetworkCommissioning::WiFiBandEnum val) {
  using EnumType = NetworkCommissioning::WiFiBandEnum;
  switch (val) {
  case EnumType::k2g4:
  case EnumType::k3g65:
  case EnumType::k5g:
  case EnumType::k6g:
  case EnumType::k60g:
  case EnumType::k1g:
    return val;
  default:
    return EnumType::kUnknownEnumValue;
  }
}
} // namespace Clusters
} // namespace app
} // namespace chip
