/* 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 AccessApprovalSearchResultStateEnum = {
    APPROVED: 'APPROVED',
    REVOKED: 'REVOKED'
};
/**
 * Check if a given object implements the AccessApprovalSearchResult interface.
 */
export function instanceOfAccessApprovalSearchResult(value) {
    return true;
}
export function AccessApprovalSearchResultFromJSON(json) {
    return AccessApprovalSearchResultFromJSONTyped(json, false);
}
export function AccessApprovalSearchResultFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'accessRequirementId': json['accessRequirementId'] == null ? undefined : json['accessRequirementId'],
        'accessRequirementVersion': json['accessRequirementVersion'] == null ? undefined : json['accessRequirementVersion'],
        'accessRequirementName': json['accessRequirementName'] == null ? undefined : json['accessRequirementName'],
        'submitterId': json['submitterId'] == null ? undefined : json['submitterId'],
        'reviewerId': json['reviewerId'] == null ? undefined : json['reviewerId'],
        'state': json['state'] == null ? undefined : json['state'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'expiredOn': json['expiredOn'] == null ? undefined : json['expiredOn'],
    };
}
export function AccessApprovalSearchResultToJSON(json) {
    return AccessApprovalSearchResultToJSONTyped(json, false);
}
export function AccessApprovalSearchResultToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'accessRequirementId': value['accessRequirementId'],
        'accessRequirementVersion': value['accessRequirementVersion'],
        'accessRequirementName': value['accessRequirementName'],
        'submitterId': value['submitterId'],
        'reviewerId': value['reviewerId'],
        'state': value['state'],
        'modifiedOn': value['modifiedOn'],
        'expiredOn': value['expiredOn'],
    };
}
//# sourceMappingURL=AccessApprovalSearchResult.js.map