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

39 lines
942 B
C

/*
* v1_scope_selector.h
*
* A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.
*/
#ifndef _v1_scope_selector_H_
#define _v1_scope_selector_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_scope_selector_t v1_scope_selector_t;
#include "v1_scoped_resource_selector_requirement.h"
typedef struct v1_scope_selector_t {
list_t *match_expressions; //nonprimitive container
} v1_scope_selector_t;
v1_scope_selector_t *v1_scope_selector_create(
list_t *match_expressions
);
void v1_scope_selector_free(v1_scope_selector_t *v1_scope_selector);
v1_scope_selector_t *v1_scope_selector_parseFromJSON(cJSON *v1_scope_selectorJSON);
cJSON *v1_scope_selector_convertToJSON(v1_scope_selector_t *v1_scope_selector);
#endif /* _v1_scope_selector_H_ */