/*
 * sms_subscription_data.h
 *
 * Contains SMS Subscription Data
 */

#ifndef _OpenAPI_sms_subscription_data_H_
#define _OpenAPI_sms_subscription_data_H_

#include <string.h>
#include "third-party/cjson/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct OpenAPI_sms_subscription_data_s OpenAPI_sms_subscription_data_t;

#ifdef __cplusplus
extern "C" {
#endif

struct OpenAPI_sms_subscription_data_s {
    bool is_sms_subscribed;
    int sms_subscribed;
    char *shared_sms_subs_data_id;
    char *supported_features;
};

OpenAPI_sms_subscription_data_t *OpenAPI_sms_subscription_data_create(
    bool is_sms_subscribed,
    int sms_subscribed,
    char *shared_sms_subs_data_id,
    char *supported_features
);
void OpenAPI_sms_subscription_data_free(OpenAPI_sms_subscription_data_t *sms_subscription_data);
OpenAPI_sms_subscription_data_t *OpenAPI_sms_subscription_data_parseFromJSON(cJSON *sms_subscription_dataJSON);
cJSON *OpenAPI_sms_subscription_data_convertToJSON(OpenAPI_sms_subscription_data_t *sms_subscription_data);
OpenAPI_sms_subscription_data_t *OpenAPI_sms_subscription_data_copy(OpenAPI_sms_subscription_data_t *dst, OpenAPI_sms_subscription_data_t *src);

#ifdef __cplusplus
}
#endif

#endif /* _OpenAPI_sms_subscription_data_H_ */

