Files
c/kubernetes/model/v1alpha1_flow_schema_list.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

46 lines
1.2 KiB
C

/*
* v1alpha1_flow_schema_list.h
*
* FlowSchemaList is a list of FlowSchema objects.
*/
#ifndef _v1alpha1_flow_schema_list_H_
#define _v1alpha1_flow_schema_list_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1alpha1_flow_schema_list_t v1alpha1_flow_schema_list_t;
#include "v1_list_meta.h"
#include "v1alpha1_flow_schema.h"
typedef struct v1alpha1_flow_schema_list_t {
char *api_version; // string
list_t *items; //nonprimitive container
char *kind; // string
struct v1_list_meta_t *metadata; //model
} v1alpha1_flow_schema_list_t;
v1alpha1_flow_schema_list_t *v1alpha1_flow_schema_list_create(
char *api_version,
list_t *items,
char *kind,
v1_list_meta_t *metadata
);
void v1alpha1_flow_schema_list_free(v1alpha1_flow_schema_list_t *v1alpha1_flow_schema_list);
v1alpha1_flow_schema_list_t *v1alpha1_flow_schema_list_parseFromJSON(cJSON *v1alpha1_flow_schema_listJSON);
cJSON *v1alpha1_flow_schema_list_convertToJSON(v1alpha1_flow_schema_list_t *v1alpha1_flow_schema_list);
#endif /* _v1alpha1_flow_schema_list_H_ */