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

50 lines
1.3 KiB
C

/*
* v1_container_state_terminated.h
*
* ContainerStateTerminated is a terminated state of a container.
*/
#ifndef _v1_container_state_terminated_H_
#define _v1_container_state_terminated_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_container_state_terminated_t v1_container_state_terminated_t;
typedef struct v1_container_state_terminated_t {
char *container_id; // string
int exit_code; //numeric
char *finished_at; //date time
char *message; // string
char *reason; // string
int signal; //numeric
char *started_at; //date time
} v1_container_state_terminated_t;
v1_container_state_terminated_t *v1_container_state_terminated_create(
char *container_id,
int exit_code,
char *finished_at,
char *message,
char *reason,
int signal,
char *started_at
);
void v1_container_state_terminated_free(v1_container_state_terminated_t *v1_container_state_terminated);
v1_container_state_terminated_t *v1_container_state_terminated_parseFromJSON(cJSON *v1_container_state_terminatedJSON);
cJSON *v1_container_state_terminated_convertToJSON(v1_container_state_terminated_t *v1_container_state_terminated);
#endif /* _v1_container_state_terminated_H_ */