/*
 * v1_volume_mount_status.h
 *
 * VolumeMountStatus shows status of volume mounts.
 */

#ifndef _v1_volume_mount_status_H_
#define _v1_volume_mount_status_H_

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

typedef struct v1_volume_mount_status_t v1_volume_mount_status_t;




typedef struct v1_volume_mount_status_t {
    char *mount_path; // string
    char *name; // string
    int read_only; //boolean
    char *recursive_read_only; // string

} v1_volume_mount_status_t;

v1_volume_mount_status_t *v1_volume_mount_status_create(
    char *mount_path,
    char *name,
    int read_only,
    char *recursive_read_only
);

void v1_volume_mount_status_free(v1_volume_mount_status_t *v1_volume_mount_status);

v1_volume_mount_status_t *v1_volume_mount_status_parseFromJSON(cJSON *v1_volume_mount_statusJSON);

cJSON *v1_volume_mount_status_convertToJSON(v1_volume_mount_status_t *v1_volume_mount_status);

#endif /* _v1_volume_mount_status_H_ */

