Files
c/kubernetes/model/v1alpha3_device_allocation_result.h
Brendan Burns d72a1c8566 Automated openapi generation from release-1.32
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com>
2025-02-11 19:36:46 +00:00

43 lines
1.4 KiB
C

/*
* v1alpha3_device_allocation_result.h
*
* DeviceAllocationResult is the result of allocating devices.
*/
#ifndef _v1alpha3_device_allocation_result_H_
#define _v1alpha3_device_allocation_result_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1alpha3_device_allocation_result_t v1alpha3_device_allocation_result_t;
#include "v1alpha3_device_allocation_configuration.h"
#include "v1alpha3_device_request_allocation_result.h"
typedef struct v1alpha3_device_allocation_result_t {
list_t *config; //nonprimitive container
list_t *results; //nonprimitive container
int _library_owned; // Is the library responsible for freeing this object?
} v1alpha3_device_allocation_result_t;
__attribute__((deprecated)) v1alpha3_device_allocation_result_t *v1alpha3_device_allocation_result_create(
list_t *config,
list_t *results
);
void v1alpha3_device_allocation_result_free(v1alpha3_device_allocation_result_t *v1alpha3_device_allocation_result);
v1alpha3_device_allocation_result_t *v1alpha3_device_allocation_result_parseFromJSON(cJSON *v1alpha3_device_allocation_resultJSON);
cJSON *v1alpha3_device_allocation_result_convertToJSON(v1alpha3_device_allocation_result_t *v1alpha3_device_allocation_result);
#endif /* _v1alpha3_device_allocation_result_H_ */