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

NS_ASSUME_NONNULL_BEGIN

#pragma mark - KEYAPISAUDITV1KeyapisAuditEventsV1Root

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

#pragma mark - KEYAPISAUDITV1AuditEvent

typedef GPB_ENUM(KEYAPISAUDITV1AuditEvent_FieldNumber) {
  KEYAPISAUDITV1AuditEvent_FieldNumber_Time = 1,
  KEYAPISAUDITV1AuditEvent_FieldNumber_Kind = 2,
  KEYAPISAUDITV1AuditEvent_FieldNumber_PreviousData = 3,
  KEYAPISAUDITV1AuditEvent_FieldNumber_CurrentData = 4,
  KEYAPISAUDITV1AuditEvent_FieldNumber_ServiceName = 5,
  KEYAPISAUDITV1AuditEvent_FieldNumber_UserId = 6,
};

/**
 * Событие
 **/
GPB_FINAL @interface KEYAPISAUDITV1AuditEvent : GPBMessage

/**
 * Время возникновения сигнала.
 * В секундах от 01.01.1970 года в UTC.
 * Присутствует всегда
 **/
@property(nonatomic, readwrite) int64_t time;

/** Тип события */
@property(nonatomic, readwrite, copy, null_resettable) NSString *kind;

/**
 * Данные до события.
 * Представляет собой сериализованный json
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *previousData;

/**
 * Данные после события.
 * Представляет собой сериализованный json
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *currentData;

/** Наименование сервиса */
@property(nonatomic, readwrite, copy, null_resettable) NSString *serviceName;

/** Идентификатор пользователя */
@property(nonatomic, readwrite) int32_t userId;

@end

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
