// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/preset/v1/keyapis_preset_events_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 KEYAPISPRESETV1Preset;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - KEYAPISPRESETV1KeyapisPresetEventsV1Root

/**
 * 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 KEYAPISPRESETV1KeyapisPresetEventsV1Root : GPBRootObject
@end

#pragma mark - KEYAPISPRESETV1PostEventPresetInstallRequest

typedef GPB_ENUM(KEYAPISPRESETV1PostEventPresetInstallRequest_FieldNumber) {
  KEYAPISPRESETV1PostEventPresetInstallRequest_FieldNumber_Id_p = 1,
};

/**
 * Запрос на установку пресета
 **/
GPB_FINAL @interface KEYAPISPRESETV1PostEventPresetInstallRequest : GPBMessage

/** Идентификатор пресета */
@property(nonatomic, readwrite) int32_t id_p;

@end

#pragma mark - KEYAPISPRESETV1PostEventPresetInstallResponse

/**
 * Ответ на запрос на установку пресета
 **/
GPB_FINAL @interface KEYAPISPRESETV1PostEventPresetInstallResponse : GPBMessage

@end

#pragma mark - KEYAPISPRESETV1PresetConfigurationTask

typedef GPB_ENUM(KEYAPISPRESETV1PresetConfigurationTask_FieldNumber) {
  KEYAPISPRESETV1PresetConfigurationTask_FieldNumber_RequestId = 1,
  KEYAPISPRESETV1PresetConfigurationTask_FieldNumber_Preset = 2,
  KEYAPISPRESETV1PresetConfigurationTask_FieldNumber_DeviceId = 3,
  KEYAPISPRESETV1PresetConfigurationTask_FieldNumber_Model = 4,
  KEYAPISPRESETV1PresetConfigurationTask_FieldNumber_Host = 5,
  KEYAPISPRESETV1PresetConfigurationTask_FieldNumber_Username = 6,
  KEYAPISPRESETV1PresetConfigurationTask_FieldNumber_Password = 7,
  KEYAPISPRESETV1PresetConfigurationTask_FieldNumber_NtpTimezone = 8,
};

/**
 * Задача на конфигурирование устройства.
 * Очередь key.preset.configuration
 **/
GPB_FINAL @interface KEYAPISPRESETV1PresetConfigurationTask : GPBMessage

/** Идентификатор запроса */
@property(nonatomic, readwrite, copy, null_resettable) NSString *requestId;

/** Пресет */
@property(nonatomic, readwrite, strong, null_resettable) KEYAPISPRESETV1Preset *preset;
/** Test to see if @c preset has been set. */
@property(nonatomic, readwrite) BOOL hasPreset;

/** Идентификатор устройства */
@property(nonatomic, readwrite) int32_t deviceId;

/** Модель */
@property(nonatomic, readwrite, copy, null_resettable) NSString *model;

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

/** Имя пользователя устройства */
@property(nonatomic, readwrite, copy, null_resettable) NSString *username;

/** Пароль пользователья устройства */
@property(nonatomic, readwrite, copy, null_resettable) NSString *password;

/** Таймзона NTP */
@property(nonatomic, readwrite, copy, null_resettable) NSString *ntpTimezone;

@end

#pragma mark - KEYAPISPRESETV1PresetConfigurationSuccessTask

typedef GPB_ENUM(KEYAPISPRESETV1PresetConfigurationSuccessTask_FieldNumber) {
  KEYAPISPRESETV1PresetConfigurationSuccessTask_FieldNumber_RequestId = 1,
  KEYAPISPRESETV1PresetConfigurationSuccessTask_FieldNumber_DeviceId = 2,
  KEYAPISPRESETV1PresetConfigurationSuccessTask_FieldNumber_PresetId = 3,
  KEYAPISPRESETV1PresetConfigurationSuccessTask_FieldNumber_ConfiguredAt = 4,
};

/**
 * Задача успешной конфигурации устройства.
 * Очередь key.preset.configuration_success
 **/
GPB_FINAL @interface KEYAPISPRESETV1PresetConfigurationSuccessTask : GPBMessage

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

/** Идентификатор устройства */
@property(nonatomic, readwrite) int32_t deviceId;

/** Идентификатор пресета */
@property(nonatomic, readwrite) int32_t presetId;

/** Дата и время конфигурации */
@property(nonatomic, readwrite, strong, null_resettable) GPBTimestamp *configuredAt;
/** Test to see if @c configuredAt has been set. */
@property(nonatomic, readwrite) BOOL hasConfiguredAt;

@end

#pragma mark - KEYAPISPRESETV1PresetConfigurationFailTask

typedef GPB_ENUM(KEYAPISPRESETV1PresetConfigurationFailTask_FieldNumber) {
  KEYAPISPRESETV1PresetConfigurationFailTask_FieldNumber_RequestId = 1,
  KEYAPISPRESETV1PresetConfigurationFailTask_FieldNumber_DeviceId = 2,
  KEYAPISPRESETV1PresetConfigurationFailTask_FieldNumber_PresetId = 3,
  KEYAPISPRESETV1PresetConfigurationFailTask_FieldNumber_ErrorMessage = 4,
};

/**
 * Задача ошибки при конфигурации устройства.
 * Очередь key.preset.configuration_fail
 **/
GPB_FINAL @interface KEYAPISPRESETV1PresetConfigurationFailTask : GPBMessage

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

/** Идентификатор устройства */
@property(nonatomic, readwrite) int32_t deviceId;

/** Идентификатор пресета */
@property(nonatomic, readwrite) int32_t presetId;

/** Текст ошибки */
@property(nonatomic, readwrite, copy, null_resettable) NSString *errorMessage;

@end

#pragma mark - KEYAPISPRESETV1PresetInstallTask

typedef GPB_ENUM(KEYAPISPRESETV1PresetInstallTask_FieldNumber) {
  KEYAPISPRESETV1PresetInstallTask_FieldNumber_RequestId = 1,
  KEYAPISPRESETV1PresetInstallTask_FieldNumber_Preset = 2,
};

/**
 * Задача на установку пресета.
 * Очередь key.preset.install
 **/
GPB_FINAL @interface KEYAPISPRESETV1PresetInstallTask : GPBMessage

/** Идентификатор запроса */
@property(nonatomic, readwrite, copy, null_resettable) NSString *requestId;

/** Пресет */
@property(nonatomic, readwrite, strong, null_resettable) KEYAPISPRESETV1Preset *preset;
/** Test to see if @c preset has been set. */
@property(nonatomic, readwrite) BOOL hasPreset;

@end

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
