Files
c/kubernetes/model/v1_key_to_path.h
Hui Yu ab432efa49 [API] Re-run code generator to merge the changes of OpenAPITools/openapi-generator to fix the bug:
* If the data type of query parameter is "int" or "bool" in OpenAPI Spec, the request url will not be generated correctly. ( PR #6692 )
2020-06-20 09:41:15 +08:00

42 lines
799 B
C

/*
* v1_key_to_path.h
*
* Maps a string key to a path within a volume.
*/
#ifndef _v1_key_to_path_H_
#define _v1_key_to_path_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_key_to_path_t v1_key_to_path_t;
typedef struct v1_key_to_path_t {
char *key; // string
int mode; //numeric
char *path; // string
} v1_key_to_path_t;
v1_key_to_path_t *v1_key_to_path_create(
char *key,
int mode,
char *path
);
void v1_key_to_path_free(v1_key_to_path_t *v1_key_to_path);
v1_key_to_path_t *v1_key_to_path_parseFromJSON(cJSON *v1_key_to_pathJSON);
cJSON *v1_key_to_path_convertToJSON(v1_key_to_path_t *v1_key_to_path);
#endif /* _v1_key_to_path_H_ */