2020-06-04 18:12:05 +00:00
|
|
|
/*
|
|
|
|
* ambr_rm.h
|
|
|
|
*
|
2023-03-01 10:56:49 +00:00
|
|
|
* This data type is defined in the same way as the 'Ambr' data type, but with the OpenAPI 'nullable: true' property.\"
|
2020-06-04 18:12:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _OpenAPI_ambr_rm_H_
|
|
|
|
#define _OpenAPI_ambr_rm_H_
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include "../external/cJSON.h"
|
|
|
|
#include "../include/list.h"
|
|
|
|
#include "../include/keyValuePair.h"
|
|
|
|
#include "../include/binary.h"
|
2021-03-08 12:25:09 +00:00
|
|
|
#include "ambr.h"
|
|
|
|
#include "null_value.h"
|
2020-06-04 18:12:05 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct OpenAPI_ambr_rm_s OpenAPI_ambr_rm_t;
|
|
|
|
typedef struct OpenAPI_ambr_rm_s {
|
|
|
|
char *uplink;
|
|
|
|
char *downlink;
|
|
|
|
} OpenAPI_ambr_rm_t;
|
|
|
|
|
|
|
|
OpenAPI_ambr_rm_t *OpenAPI_ambr_rm_create(
|
|
|
|
char *uplink,
|
|
|
|
char *downlink
|
2021-07-07 08:32:55 +00:00
|
|
|
);
|
2020-06-04 18:12:05 +00:00
|
|
|
void OpenAPI_ambr_rm_free(OpenAPI_ambr_rm_t *ambr_rm);
|
|
|
|
OpenAPI_ambr_rm_t *OpenAPI_ambr_rm_parseFromJSON(cJSON *ambr_rmJSON);
|
|
|
|
cJSON *OpenAPI_ambr_rm_convertToJSON(OpenAPI_ambr_rm_t *ambr_rm);
|
2020-06-17 05:22:28 +00:00
|
|
|
OpenAPI_ambr_rm_t *OpenAPI_ambr_rm_copy(OpenAPI_ambr_rm_t *dst, OpenAPI_ambr_rm_t *src);
|
2020-06-04 18:12:05 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _OpenAPI_ambr_rm_H_ */
|
|
|
|
|