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

48 lines
1.4 KiB
C

/*
* v1_custom_resource_definition_names.h
*
* CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
*/
#ifndef _v1_custom_resource_definition_names_H_
#define _v1_custom_resource_definition_names_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_custom_resource_definition_names_t v1_custom_resource_definition_names_t;
typedef struct v1_custom_resource_definition_names_t {
list_t *categories; //primitive container
char *kind; // string
char *list_kind; // string
char *plural; // string
list_t *short_names; //primitive container
char *singular; // string
} v1_custom_resource_definition_names_t;
v1_custom_resource_definition_names_t *v1_custom_resource_definition_names_create(
list_t *categories,
char *kind,
char *list_kind,
char *plural,
list_t *short_names,
char *singular
);
void v1_custom_resource_definition_names_free(v1_custom_resource_definition_names_t *v1_custom_resource_definition_names);
v1_custom_resource_definition_names_t *v1_custom_resource_definition_names_parseFromJSON(cJSON *v1_custom_resource_definition_namesJSON);
cJSON *v1_custom_resource_definition_names_convertToJSON(v1_custom_resource_definition_names_t *v1_custom_resource_definition_names);
#endif /* _v1_custom_resource_definition_names_H_ */