Files
c/kubernetes/model/v1alpha3_pod_scheduling_context_list.h

46 lines
1.4 KiB
C
Raw Normal View History

/*
* v1alpha3_pod_scheduling_context_list.h
*
* PodSchedulingContextList is a collection of Pod scheduling objects.
*/
#ifndef _v1alpha3_pod_scheduling_context_list_H_
#define _v1alpha3_pod_scheduling_context_list_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
typedef struct v1alpha3_pod_scheduling_context_list_t v1alpha3_pod_scheduling_context_list_t;
#include "v1_list_meta.h"
#include "v1alpha3_pod_scheduling_context.h"
typedef struct v1alpha3_pod_scheduling_context_list_t {
char *api_version; // string
list_t *items; //nonprimitive container
char *kind; // string
struct v1_list_meta_t *metadata; //model
} v1alpha3_pod_scheduling_context_list_t;
v1alpha3_pod_scheduling_context_list_t *v1alpha3_pod_scheduling_context_list_create(
char *api_version,
list_t *items,
char *kind,
v1_list_meta_t *metadata
);
void v1alpha3_pod_scheduling_context_list_free(v1alpha3_pod_scheduling_context_list_t *v1alpha3_pod_scheduling_context_list);
v1alpha3_pod_scheduling_context_list_t *v1alpha3_pod_scheduling_context_list_parseFromJSON(cJSON *v1alpha3_pod_scheduling_context_listJSON);
cJSON *v1alpha3_pod_scheduling_context_list_convertToJSON(v1alpha3_pod_scheduling_context_list_t *v1alpha3_pod_scheduling_context_list);
#endif /* _v1alpha3_pod_scheduling_context_list_H_ */