/* 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.
 */
/**
 * Check if a given object implements the AccessorGroupRequest interface.
 */
export function instanceOfAccessorGroupRequest(value) {
    return true;
}
export function AccessorGroupRequestFromJSON(json) {
    return AccessorGroupRequestFromJSONTyped(json, false);
}
export function AccessorGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'accessRequirementId': json['accessRequirementId'] == null ? undefined : json['accessRequirementId'],
        'submitterId': json['submitterId'] == null ? undefined : json['submitterId'],
        'accessorId': json['accessorId'] == null ? undefined : json['accessorId'],
        'expireBefore': json['expireBefore'] == null ? undefined : json['expireBefore'],
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function AccessorGroupRequestToJSON(json) {
    return AccessorGroupRequestToJSONTyped(json, false);
}
export function AccessorGroupRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'accessRequirementId': value['accessRequirementId'],
        'submitterId': value['submitterId'],
        'accessorId': value['accessorId'],
        'expireBefore': value['expireBefore'],
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=AccessorGroupRequest.js.map