41 lines
1.0 KiB
C
41 lines
1.0 KiB
C
|
|
/*
|
||
|
|
* v1beta3_limit_response.h
|
||
|
|
*
|
||
|
|
* LimitResponse defines how to handle requests that can not be executed right now.
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef _v1beta3_limit_response_H_
|
||
|
|
#define _v1beta3_limit_response_H_
|
||
|
|
|
||
|
|
#include <string.h>
|
||
|
|
#include "../external/cJSON.h"
|
||
|
|
#include "../include/list.h"
|
||
|
|
#include "../include/keyValuePair.h"
|
||
|
|
#include "../include/binary.h"
|
||
|
|
|
||
|
|
typedef struct v1beta3_limit_response_t v1beta3_limit_response_t;
|
||
|
|
|
||
|
|
#include "v1beta3_queuing_configuration.h"
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
typedef struct v1beta3_limit_response_t {
|
||
|
|
struct v1beta3_queuing_configuration_t *queuing; //model
|
||
|
|
char *type; // string
|
||
|
|
|
||
|
|
} v1beta3_limit_response_t;
|
||
|
|
|
||
|
|
v1beta3_limit_response_t *v1beta3_limit_response_create(
|
||
|
|
v1beta3_queuing_configuration_t *queuing,
|
||
|
|
char *type
|
||
|
|
);
|
||
|
|
|
||
|
|
void v1beta3_limit_response_free(v1beta3_limit_response_t *v1beta3_limit_response);
|
||
|
|
|
||
|
|
v1beta3_limit_response_t *v1beta3_limit_response_parseFromJSON(cJSON *v1beta3_limit_responseJSON);
|
||
|
|
|
||
|
|
cJSON *v1beta3_limit_response_convertToJSON(v1beta3_limit_response_t *v1beta3_limit_response);
|
||
|
|
|
||
|
|
#endif /* _v1beta3_limit_response_H_ */
|
||
|
|
|