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

38 lines
816 B
C

/*
* v1_daemon_endpoint.h
*
* DaemonEndpoint contains information about a single Daemon endpoint.
*/
#ifndef _v1_daemon_endpoint_H_
#define _v1_daemon_endpoint_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_daemon_endpoint_t v1_daemon_endpoint_t;
typedef struct v1_daemon_endpoint_t {
int port; //numeric
} v1_daemon_endpoint_t;
v1_daemon_endpoint_t *v1_daemon_endpoint_create(
int port
);
void v1_daemon_endpoint_free(v1_daemon_endpoint_t *v1_daemon_endpoint);
v1_daemon_endpoint_t *v1_daemon_endpoint_parseFromJSON(cJSON *v1_daemon_endpointJSON);
cJSON *v1_daemon_endpoint_convertToJSON(v1_daemon_endpoint_t *v1_daemon_endpoint);
#endif /* _v1_daemon_endpoint_H_ */