/**
* Namf_Communication
* AMF Communication Service © 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. 
*
* The version of the OpenAPI document: 1.1.0.alpha-1
* 
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
 * UeContextCreateError.h
 *
 * 
 */

#ifndef UeContextCreateError_H_
#define UeContextCreateError_H_


#include "NgApCause.h"
#include "ProblemDetails_2.h"
#include <nlohmann/json.hpp>

namespace oai {
namespace amf {
namespace model {

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

    void validate();

    /////////////////////////////////////////////
    /// UeContextCreateError members

    /// <summary>
    /// 
    /// </summary>
    ProblemDetails_2 getError() const;
    void setError(ProblemDetails_2 const& value);
        /// <summary>
    /// 
    /// </summary>
    NgApCause getNgapCause() const;
    void setNgapCause(NgApCause const& value);
    bool ngapCauseIsSet() const;
    void unsetNgapCause();

    friend void to_json(nlohmann::json& j, const UeContextCreateError& o);
    friend void from_json(const nlohmann::json& j, UeContextCreateError& o);
protected:
    ProblemDetails_2 m_Error;

    NgApCause m_NgapCause;
    bool m_NgapCauseIsSet;
};

}
}
}

#endif /* UeContextCreateError_H_ */
