// Generated by the protocol buffer compiler.  DO NOT EDIT!
// clang-format off
// source: keyapis/dial/v1/keyapis_dial_emergency_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 KEYAPISDIALV1GetSipLoginResponse_Error;
@class KEYAPISDIALV1ValidationError;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - KEYAPISDIALV1KeyapisDialEmergencyV1Root

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

#pragma mark - KEYAPISDIALV1GetSipLoginRequest

typedef GPB_ENUM(KEYAPISDIALV1GetSipLoginRequest_FieldNumber) {
  KEYAPISDIALV1GetSipLoginRequest_FieldNumber_AbcNumber = 1,
};

/**
 * Запрос на получение списка устройств
 **/
GPB_FINAL @interface KEYAPISDIALV1GetSipLoginRequest : GPBMessage

/**
 * Фильтр по АБС-номеру устройства.
 * # Паттерн: /^\\+[1-9][0-9]{10}$/
 **/
@property(nonatomic, readwrite, copy, null_resettable) NSString *abcNumber;

@end

#pragma mark - KEYAPISDIALV1GetSipLoginResponse

typedef GPB_ENUM(KEYAPISDIALV1GetSipLoginResponse_FieldNumber) {
  KEYAPISDIALV1GetSipLoginResponse_FieldNumber_SipAccount = 1,
  KEYAPISDIALV1GetSipLoginResponse_FieldNumber_Error = 2,
};

typedef GPB_ENUM(KEYAPISDIALV1GetSipLoginResponse_Type_OneOfCase) {
  KEYAPISDIALV1GetSipLoginResponse_Type_OneOfCase_GPBUnsetOneOfCase = 0,
  KEYAPISDIALV1GetSipLoginResponse_Type_OneOfCase_SipAccount = 1,
  KEYAPISDIALV1GetSipLoginResponse_Type_OneOfCase_Error = 2,
};

/**
 * Ответ на запрос на получение списка устройств
 **/
GPB_FINAL @interface KEYAPISDIALV1GetSipLoginResponse : GPBMessage

/** Тип результата */
@property(nonatomic, readonly) KEYAPISDIALV1GetSipLoginResponse_Type_OneOfCase typeOneOfCase;

/** SIP-Логин устройства */
@property(nonatomic, readwrite, copy, null_resettable) NSString *sipAccount;

/** Ошибка */
@property(nonatomic, readwrite, strong, null_resettable) KEYAPISDIALV1GetSipLoginResponse_Error *error;

@end

/**
 * Clears whatever value was set for the oneof 'type'.
 **/
void KEYAPISDIALV1GetSipLoginResponse_ClearTypeOneOfCase(KEYAPISDIALV1GetSipLoginResponse *message);

#pragma mark - KEYAPISDIALV1GetSipLoginResponse_Error

typedef GPB_ENUM(KEYAPISDIALV1GetSipLoginResponse_Error_FieldNumber) {
  KEYAPISDIALV1GetSipLoginResponse_Error_FieldNumber_Validation = 1,
};

typedef GPB_ENUM(KEYAPISDIALV1GetSipLoginResponse_Error_Reason_OneOfCase) {
  KEYAPISDIALV1GetSipLoginResponse_Error_Reason_OneOfCase_GPBUnsetOneOfCase = 0,
  KEYAPISDIALV1GetSipLoginResponse_Error_Reason_OneOfCase_Validation = 1,
};

/**
 * Ошибка запроса на получение списка устройств
 **/
GPB_FINAL @interface KEYAPISDIALV1GetSipLoginResponse_Error : GPBMessage

/** Причина ошибки */
@property(nonatomic, readonly) KEYAPISDIALV1GetSipLoginResponse_Error_Reason_OneOfCase reasonOneOfCase;

/** Ошибка валидации */
@property(nonatomic, readwrite, strong, null_resettable) KEYAPISDIALV1ValidationError *validation;

@end

/**
 * Clears whatever value was set for the oneof 'reason'.
 **/
void KEYAPISDIALV1GetSipLoginResponse_Error_ClearReasonOneOfCase(KEYAPISDIALV1GetSipLoginResponse_Error *message);

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)

// clang-format on
