text: /*
   * v2beta2_metric_status.h
   *
   * MetricStatus describes the last-read state of a single metric.
   */
  
  #ifndef _v2beta2_metric_status_H_
  #define _v2beta2_metric_status_H_
  
  #include <string.h>
  #include "../external/cJSON.h"
  #include "../include/list.h"
  #include "../include/keyValuePair.h"
  #include "v2beta2_external_metric_status.h"
  #include "v2beta2_object_metric_status.h"
  #include "v2beta2_pods_metric_status.h"
  #include "v2beta2_resource_metric_status.h"
  
  
  
  typedef struct v2beta2_metric_status_t {
      v2beta2_external_metric_status_t *external; //model
      v2beta2_object_metric_status_t *object; //model
      v2beta2_pods_metric_status_t *pods; //model
      v2beta2_resource_metric_status_t *resource; //model
      char *type; // string
  
  } v2beta2_metric_status_t;
  
  v2beta2_metric_status_t *v2beta2_metric_status_create(
      v2beta2_external_metric_status_t *external,
      v2beta2_object_metric_status_t *object,
      v2beta2_pods_metric_status_t *pods,
      v2beta2_resource_metric_status_t *resource,
      char *type
  );
  
  void v2beta2_metric_status_free(v2beta2_metric_status_t *v2beta2_metric_status);
  
  v2beta2_metric_status_t *v2beta2_metric_status_parseFromJSON(cJSON *v2beta2_metric_statusJSON);
  
  cJSON *v2beta2_metric_status_convertToJSON(v2beta2_metric_status_t *v2beta2_metric_status);
  
  #endif /* _v2beta2_metric_status_H_ */
  
  