/**
 * Nudr_DataRepository API OpenAPI file
 * Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
 * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 2.1.2
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */
/*
 * AuthenticationSubscription.h
 *
 *
 */

#ifndef AuthenticationSubscription_H_
#define AuthenticationSubscription_H_

#include "AuthMethod.h"
#include "SequenceNumber.h"
#include <nlohmann/json.hpp>
#include <string>

namespace org {
namespace openapitools {
namespace server {
namespace model {

/// <summary>
///
/// </summary>
class AuthenticationSubscription {
public:
  AuthenticationSubscription();
  virtual ~AuthenticationSubscription();

  void validate();

  /////////////////////////////////////////////
  /// AuthenticationSubscription members

  /// <summary>
  ///
  /// </summary>
  AuthMethod getAuthenticationMethod() const;
  void setAuthenticationMethod(AuthMethod const &value);
  /// <summary>
  ///
  /// </summary>
  std::string getEncPermanentKey() const;
  void setEncPermanentKey(std::string const &value);
  bool encPermanentKeyIsSet() const;
  void unsetEncPermanentKey();
  /// <summary>
  ///
  /// </summary>
  std::string getProtectionParameterId() const;
  void setProtectionParameterId(std::string const &value);
  bool protectionParameterIdIsSet() const;
  void unsetProtectionParameterId();
  /// <summary>
  ///
  /// </summary>
  SequenceNumber getSequenceNumber() const;
  void setSequenceNumber(SequenceNumber const &value);
  bool sequenceNumberIsSet() const;
  void unsetSequenceNumber();
  /// <summary>
  ///
  /// </summary>
  std::string getAuthenticationManagementField() const;
  void setAuthenticationManagementField(std::string const &value);
  bool authenticationManagementFieldIsSet() const;
  void unsetAuthenticationManagementField();
  /// <summary>
  ///
  /// </summary>
  std::string getAlgorithmId() const;
  void setAlgorithmId(std::string const &value);
  bool algorithmIdIsSet() const;
  void unsetAlgorithmId();
  /// <summary>
  ///
  /// </summary>
  std::string getEncOpcKey() const;
  void setEncOpcKey(std::string const &value);
  bool encOpcKeyIsSet() const;
  void unsetEncOpcKey();
  /// <summary>
  ///
  /// </summary>
  std::string getEncTopcKey() const;
  void setEncTopcKey(std::string const &value);
  bool encTopcKeyIsSet() const;
  void unsetEncTopcKey();
  /// <summary>
  ///
  /// </summary>
  bool isVectorGenerationInHss() const;
  void setVectorGenerationInHss(bool const value);
  bool vectorGenerationInHssIsSet() const;
  void unsetVectorGenerationInHss();
  /// <summary>
  ///
  /// </summary>
  AuthMethod getN5gcAuthMethod() const;
  void setN5gcAuthMethod(AuthMethod const &value);
  bool n5gcAuthMethodIsSet() const;
  void unsetN5gcAuthMethod();
  /// <summary>
  ///
  /// </summary>
  bool isRgAuthenticationInd() const;
  void setRgAuthenticationInd(bool const value);
  bool rgAuthenticationIndIsSet() const;
  void unsetRgAuthenticationInd();
  /// <summary>
  ///
  /// </summary>
  std::string getSupi() const;
  void setSupi(std::string const &value);
  bool supiIsSet() const;
  void unsetSupi();

  friend void to_json(nlohmann::json &j, const AuthenticationSubscription &o);
  friend void from_json(const nlohmann::json &j, AuthenticationSubscription &o);

protected:
  AuthMethod m_AuthenticationMethod;

  std::string m_EncPermanentKey;
  bool m_EncPermanentKeyIsSet;
  std::string m_ProtectionParameterId;
  bool m_ProtectionParameterIdIsSet;
  SequenceNumber m_SequenceNumber;
  bool m_SequenceNumberIsSet;
  std::string m_AuthenticationManagementField;
  bool m_AuthenticationManagementFieldIsSet;
  std::string m_AlgorithmId;
  bool m_AlgorithmIdIsSet;
  std::string m_EncOpcKey;
  bool m_EncOpcKeyIsSet;
  std::string m_EncTopcKey;
  bool m_EncTopcKeyIsSet;
  bool m_VectorGenerationInHss;
  bool m_VectorGenerationInHssIsSet;
  AuthMethod m_N5gcAuthMethod;
  bool m_N5gcAuthMethodIsSet;
  bool m_RgAuthenticationInd;
  bool m_RgAuthenticationIndIsSet;
  std::string m_Supi;
  bool m_SupiIsSet;
};

} // namespace model
} // namespace server
} // namespace openapitools
} // namespace org

#endif /* AuthenticationSubscription_H_ */
