* If the data type of query parameter is "int" or "bool" in OpenAPI Spec, the request url will not be generated correctly. ( PR #6692 )
48 lines
1.4 KiB
C
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_ */
|
|
|