FlowInfo.h 1.54 KB
Newer Older
yangjian's avatar
yangjian committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
/**
* 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.
*/
/*
 * FlowInfo.h
 *
 * 
 */

#ifndef FlowInfo_H_
#define FlowInfo_H_


#include <string>
#include <vector>
#include <nlohmann/json.hpp>

Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
26
namespace oai::udr::model {
yangjian's avatar
yangjian committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64

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

    void validate();

    /////////////////////////////////////////////
    /// FlowInfo members

    /// <summary>
    /// Indicates the IP flow.
    /// </summary>
    int32_t getFlowId() const;
    void setFlowId(int32_t const value);
    /// <summary>
    /// Indicates the packet filters of the IP flow. Refer to subclause 5.3.8 of 3GPP TS 29.214 for encoding. It shall contain UL and/or DL IP flow description.
    /// </summary>
    std::vector<std::string>& getFlowDescriptions();
    void setFlowDescriptions(std::vector<std::string> const& value);
    bool flowDescriptionsIsSet() const;
    void unsetFlowDescriptions();

    friend void to_json(nlohmann::json& j, const FlowInfo& o);
    friend void from_json(const nlohmann::json& j, FlowInfo& o);
protected:
    int32_t m_FlowId;

    std::vector<std::string> m_FlowDescriptions;
    bool m_FlowDescriptionsIsSet;
};

}
Tien-Thinh Nguyen's avatar
Tien-Thinh Nguyen committed
65 66 67



yangjian's avatar
yangjian committed
68 69

#endif /* FlowInfo_H_ */