/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * @export
 */
export const StackStatusStatusEnum = {
    READ_WRITE: 'READ_WRITE',
    READ_ONLY: 'READ_ONLY',
    DOWN: 'DOWN'
};
/**
 * Check if a given object implements the StackStatus interface.
 */
export function instanceOfStackStatus(value) {
    return true;
}
export function StackStatusFromJSON(json) {
    return StackStatusFromJSONTyped(json, false);
}
export function StackStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'status': json['status'] == null ? undefined : json['status'],
        'currentMessage': json['currentMessage'] == null ? undefined : json['currentMessage'],
        'pendingMaintenanceMessage': json['pendingMaintenanceMessage'] == null ? undefined : json['pendingMaintenanceMessage'],
    };
}
export function StackStatusToJSON(json) {
    return StackStatusToJSONTyped(json, false);
}
export function StackStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'status': value['status'],
        'currentMessage': value['currentMessage'],
        'pendingMaintenanceMessage': value['pendingMaintenanceMessage'],
    };
}
//# sourceMappingURL=StackStatus.js.map