* If the data type of query parameter is "int" or "bool" in OpenAPI Spec, the request url will not be generated correctly. ( PR #6692 )
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
/*
|
|
* v1_priority_class_list.h
|
|
*
|
|
* PriorityClassList is a collection of priority classes.
|
|
*/
|
|
|
|
#ifndef _v1_priority_class_list_H_
|
|
#define _v1_priority_class_list_H_
|
|
|
|
#include <string.h>
|
|
#include "../external/cJSON.h"
|
|
#include "../include/list.h"
|
|
#include "../include/keyValuePair.h"
|
|
#include "../include/binary.h"
|
|
|
|
typedef struct v1_priority_class_list_t v1_priority_class_list_t;
|
|
|
|
#include "v1_list_meta.h"
|
|
#include "v1_priority_class.h"
|
|
|
|
|
|
|
|
typedef struct v1_priority_class_list_t {
|
|
char *api_version; // string
|
|
list_t *items; //nonprimitive container
|
|
char *kind; // string
|
|
struct v1_list_meta_t *metadata; //model
|
|
|
|
} v1_priority_class_list_t;
|
|
|
|
v1_priority_class_list_t *v1_priority_class_list_create(
|
|
char *api_version,
|
|
list_t *items,
|
|
char *kind,
|
|
v1_list_meta_t *metadata
|
|
);
|
|
|
|
void v1_priority_class_list_free(v1_priority_class_list_t *v1_priority_class_list);
|
|
|
|
v1_priority_class_list_t *v1_priority_class_list_parseFromJSON(cJSON *v1_priority_class_listJSON);
|
|
|
|
cJSON *v1_priority_class_list_convertToJSON(v1_priority_class_list_t *v1_priority_class_list);
|
|
|
|
#endif /* _v1_priority_class_list_H_ */
|
|
|