/*
 * v1_api_service_status.h
 *
 * APIServiceStatus contains derived information about an API server
 */

#ifndef _v1_api_service_status_H_
#define _v1_api_service_status_H_

#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"

typedef struct v1_api_service_status_t v1_api_service_status_t;

#include "v1_api_service_condition.h"



typedef struct v1_api_service_status_t {
    list_t *conditions; //nonprimitive container

} v1_api_service_status_t;

v1_api_service_status_t *v1_api_service_status_create(
    list_t *conditions
);

void v1_api_service_status_free(v1_api_service_status_t *v1_api_service_status);

v1_api_service_status_t *v1_api_service_status_parseFromJSON(cJSON *v1_api_service_statusJSON);

cJSON *v1_api_service_status_convertToJSON(v1_api_service_status_t *v1_api_service_status);

#endif /* _v1_api_service_status_H_ */

