// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/iot_connect_sber/v1/keyapis_iot_connect_devices_v1.proto

// This CPP symbol can be defined to use imports that match up to the framework
// imports needed when using CocoaPods.
#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
 #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
#endif

#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
 #import <Protobuf/GPBProtocolBuffers.h>
#else
 #import "GPBProtocolBuffers.h"
#endif

#if GOOGLE_PROTOBUF_OBJC_VERSION < 30007
#error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
#endif
#if 30007 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
#error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
#endif

// @@protoc_insertion_point(imports)

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

CF_EXTERN_C_BEGIN

@class KEYAPISIOTCONNECTV1Device;
@class KEYAPISIOTCONNECTV1Model;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - Enum KEYAPISIOTCONNECTV1Model_FeatureType

/** Список функций устройства */
typedef GPB_ENUM(KEYAPISIOTCONNECTV1Model_FeatureType) {
  /**
   * Value used if any message's field encounters a value that is not defined
   * by this enum. The message will also have C functions to get/set the rawValue
   * of the field.
   **/
  KEYAPISIOTCONNECTV1Model_FeatureType_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  /** Значение не указано */
  KEYAPISIOTCONNECTV1Model_FeatureType_FeatureTypeUnknown = 0,

  /** Сигнализация о поступившем звонке */
  KEYAPISIOTCONNECTV1Model_FeatureType_IncomingCall = 1,

  /** Сигнализация о доступности устройства */
  KEYAPISIOTCONNECTV1Model_FeatureType_Online = 2,

  /** Отклонение звонка */
  KEYAPISIOTCONNECTV1Model_FeatureType_RejectCall = 3,

  /** Открытие замка */
  KEYAPISIOTCONNECTV1Model_FeatureType_Unlock = 4,
};

GPBEnumDescriptor *KEYAPISIOTCONNECTV1Model_FeatureType_EnumDescriptor(void);

/**
 * Checks to see if the given value is defined by the enum or was not known at
 * the time this source was generated.
 **/
BOOL KEYAPISIOTCONNECTV1Model_FeatureType_IsValidValue(int32_t value);

#pragma mark - KEYAPISIOTCONNECTV1KeyapisIotConnectDevicesV1Root

/**
 * Exposes the extension registry for this file.
 *
 * The base class provides:
 * @code
 *   + (GPBExtensionRegistry *)extensionRegistry;
 * @endcode
 * which is a @c GPBExtensionRegistry that includes all the extensions defined by
 * this file and all files that it depends on.
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1KeyapisIotConnectDevicesV1Root : GPBRootObject
@end

#pragma mark - KEYAPISIOTCONNECTV1Model

typedef GPB_ENUM(KEYAPISIOTCONNECTV1Model_FieldNumber) {
  KEYAPISIOTCONNECTV1Model_FieldNumber_Id_p = 1,
  KEYAPISIOTCONNECTV1Model_FieldNumber_Manufacturer = 2,
  KEYAPISIOTCONNECTV1Model_FieldNumber_Model = 3,
  KEYAPISIOTCONNECTV1Model_FieldNumber_HwVersion = 4,
  KEYAPISIOTCONNECTV1Model_FieldNumber_SwVersion = 5,
  KEYAPISIOTCONNECTV1Model_FieldNumber_Description_p = 6,
  KEYAPISIOTCONNECTV1Model_FieldNumber_Category = 7,
  KEYAPISIOTCONNECTV1Model_FieldNumber_FeatureTypesArray = 8,
};

/**
 * Объект Модель устройства
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1Model : GPBMessage

/** Идентификатор модели */
@property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;

/** Производитель */
@property(nonatomic, readwrite, copy, null_resettable) NSString *manufacturer;

/** Название модели */
@property(nonatomic, readwrite, copy, null_resettable) NSString *model;

/** Версия оборудования */
@property(nonatomic, readwrite, copy, null_resettable) NSString *hwVersion;

/** Версия прошивки */
@property(nonatomic, readwrite, copy, null_resettable) NSString *swVersion;

/** Описание */
@property(nonatomic, readwrite, copy, null_resettable) NSString *description_p;

/** Категория устройства */
@property(nonatomic, readwrite, copy, null_resettable) NSString *category;

/** Список функций */
// |featureTypesArray| contains |KEYAPISIOTCONNECTV1Model_FeatureType|
@property(nonatomic, readwrite, strong, null_resettable) GPBEnumArray *featureTypesArray;
/** The number of items in @c featureTypesArray without causing the container to be created. */
@property(nonatomic, readonly) NSUInteger featureTypesArray_Count;

@end

#pragma mark - KEYAPISIOTCONNECTV1Device

typedef GPB_ENUM(KEYAPISIOTCONNECTV1Device_FieldNumber) {
  KEYAPISIOTCONNECTV1Device_FieldNumber_Id_p = 1,
  KEYAPISIOTCONNECTV1Device_FieldNumber_Name = 2,
  KEYAPISIOTCONNECTV1Device_FieldNumber_DefaultName = 3,
  KEYAPISIOTCONNECTV1Device_FieldNumber_Home = 4,
  KEYAPISIOTCONNECTV1Device_FieldNumber_Room = 5,
  KEYAPISIOTCONNECTV1Device_FieldNumber_Model = 6,
  KEYAPISIOTCONNECTV1Device_FieldNumber_HwVersion = 7,
  KEYAPISIOTCONNECTV1Device_FieldNumber_SwVersion = 8,
};

/**
 * Объект устройства
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1Device : GPBMessage

/**
 * Идентификатор устройства на платформе Ключ.
 * Конкатенация user_id и device_id плафтормы Ключ
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *id_p;

/** Название устройства на платформе Ключ */
@property(nonatomic, readwrite, copy, null_resettable) NSString *name;

/** Название устройства от производителя */
@property(nonatomic, readwrite, copy, null_resettable) NSString *defaultName;

/** Адрес дома, где установлено устройство */
@property(nonatomic, readwrite, copy, null_resettable) NSString *home;

/** Название или номер подъезда */
@property(nonatomic, readwrite, copy, null_resettable) NSString *room;

/** Тип устройства */
@property(nonatomic, readwrite, strong, null_resettable) KEYAPISIOTCONNECTV1Model *model;
/** Test to see if @c model has been set. */
@property(nonatomic, readwrite) BOOL hasModel;

/** HW версия устройства */
@property(nonatomic, readwrite, copy, null_resettable) NSString *hwVersion;

/** SW версия устройства */
@property(nonatomic, readwrite, copy, null_resettable) NSString *swVersion;

@end

#pragma mark - KEYAPISIOTCONNECTV1GetV1DevicesRequest

/**
 * Запрос метода получения устройств, доступных пользователю
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1GetV1DevicesRequest : GPBMessage

@end

#pragma mark - KEYAPISIOTCONNECTV1GetV1DevicesResponse

typedef GPB_ENUM(KEYAPISIOTCONNECTV1GetV1DevicesResponse_FieldNumber) {
  KEYAPISIOTCONNECTV1GetV1DevicesResponse_FieldNumber_DataArray = 1,
};

/**
 * Ответ на запрос метода получения устройств, доступных пользователю
 **/
GPB_FINAL @interface KEYAPISIOTCONNECTV1GetV1DevicesResponse : GPBMessage

/** Домофоны, доступные пользователю */
@property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<KEYAPISIOTCONNECTV1Device*> *dataArray;
/** The number of items in @c dataArray without causing the container to be created. */
@property(nonatomic, readonly) NSUInteger dataArray_Count;

@end

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
