/*
 * v1alpha1_cluster_trust_bundle_spec.h
 *
 * ClusterTrustBundleSpec contains the signer and trust anchors.
 */

#ifndef _v1alpha1_cluster_trust_bundle_spec_H_
#define _v1alpha1_cluster_trust_bundle_spec_H_

#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"

typedef struct v1alpha1_cluster_trust_bundle_spec_t v1alpha1_cluster_trust_bundle_spec_t;




typedef struct v1alpha1_cluster_trust_bundle_spec_t {
    char *signer_name; // string
    char *trust_bundle; // string

} v1alpha1_cluster_trust_bundle_spec_t;

v1alpha1_cluster_trust_bundle_spec_t *v1alpha1_cluster_trust_bundle_spec_create(
    char *signer_name,
    char *trust_bundle
);

void v1alpha1_cluster_trust_bundle_spec_free(v1alpha1_cluster_trust_bundle_spec_t *v1alpha1_cluster_trust_bundle_spec);

v1alpha1_cluster_trust_bundle_spec_t *v1alpha1_cluster_trust_bundle_spec_parseFromJSON(cJSON *v1alpha1_cluster_trust_bundle_specJSON);

cJSON *v1alpha1_cluster_trust_bundle_spec_convertToJSON(v1alpha1_cluster_trust_bundle_spec_t *v1alpha1_cluster_trust_bundle_spec);

#endif /* _v1alpha1_cluster_trust_bundle_spec_H_ */

