Files
c/kubernetes/model/v1_expression_warning.h
Kubernetes Prow Robot c97b51f36a Automated openapi generation from release-1.30
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com>
2024-05-18 13:20:54 +00:00

40 lines
946 B
C

/*
* v1_expression_warning.h
*
* ExpressionWarning is a warning information that targets a specific expression.
*/
#ifndef _v1_expression_warning_H_
#define _v1_expression_warning_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_expression_warning_t v1_expression_warning_t;
typedef struct v1_expression_warning_t {
char *field_ref; // string
char *warning; // string
} v1_expression_warning_t;
v1_expression_warning_t *v1_expression_warning_create(
char *field_ref,
char *warning
);
void v1_expression_warning_free(v1_expression_warning_t *v1_expression_warning);
v1_expression_warning_t *v1_expression_warning_parseFromJSON(cJSON *v1_expression_warningJSON);
cJSON *v1_expression_warning_convertToJSON(v1_expression_warning_t *v1_expression_warning);
#endif /* _v1_expression_warning_H_ */