/*
 * temporal_in_validity.h
 *
 * Represents the temporal invalidity conditions, i.e., the time interval(s) during which the AF request is not to be applied. 
 */

#ifndef _OpenAPI_temporal_in_validity_H_
#define _OpenAPI_temporal_in_validity_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_temporal_in_validity_s OpenAPI_temporal_in_validity_t;

#ifdef __cplusplus
extern "C" {
#endif

struct OpenAPI_temporal_in_validity_s {
    char *start_time;
    char *stop_time;
};

OpenAPI_temporal_in_validity_t *OpenAPI_temporal_in_validity_create(
    char *start_time,
    char *stop_time
);
void OpenAPI_temporal_in_validity_free(OpenAPI_temporal_in_validity_t *temporal_in_validity);
OpenAPI_temporal_in_validity_t *OpenAPI_temporal_in_validity_parseFromJSON(cJSON *temporal_in_validityJSON);
cJSON *OpenAPI_temporal_in_validity_convertToJSON(OpenAPI_temporal_in_validity_t *temporal_in_validity);
OpenAPI_temporal_in_validity_t *OpenAPI_temporal_in_validity_copy(OpenAPI_temporal_in_validity_t *dst, OpenAPI_temporal_in_validity_t *src);

#ifdef __cplusplus
}
#endif

#endif /* _OpenAPI_temporal_in_validity_H_ */

