Files
c/kubernetes/model/v1_client_ip_config.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
871 B
C

/*
* v1_client_ip_config.h
*
* ClientIPConfig represents the configurations of Client IP based session affinity.
*/
#ifndef _v1_client_ip_config_H_
#define _v1_client_ip_config_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1_client_ip_config_t v1_client_ip_config_t;
typedef struct v1_client_ip_config_t {
int timeout_seconds; //numeric
} v1_client_ip_config_t;
v1_client_ip_config_t *v1_client_ip_config_create(
int timeout_seconds
);
void v1_client_ip_config_free(v1_client_ip_config_t *v1_client_ip_config);
v1_client_ip_config_t *v1_client_ip_config_parseFromJSON(cJSON *v1_client_ip_configJSON);
cJSON *v1_client_ip_config_convertToJSON(v1_client_ip_config_t *v1_client_ip_config);
#endif /* _v1_client_ip_config_H_ */