/* 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.
 */
import { ActionFromJSON, ActionToJSON, } from './Action';
/**
 * Check if a given object implements the ActionRequiredCount interface.
 */
export function instanceOfActionRequiredCount(value) {
    return true;
}
export function ActionRequiredCountFromJSON(json) {
    return ActionRequiredCountFromJSONTyped(json, false);
}
export function ActionRequiredCountFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'action': json['action'] == null ? undefined : ActionFromJSON(json['action']),
        'count': json['count'] == null ? undefined : json['count'],
    };
}
export function ActionRequiredCountToJSON(json) {
    return ActionRequiredCountToJSONTyped(json, false);
}
export function ActionRequiredCountToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'action': ActionToJSON(value['action']),
        'count': value['count'],
    };
}
//# sourceMappingURL=ActionRequiredCount.js.map