/* 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 MembershipInvitation interface.
 */
export function instanceOfMembershipInvitation(value) {
    return true;
}
export function MembershipInvitationFromJSON(json) {
    return MembershipInvitationFromJSONTyped(json, false);
}
export function MembershipInvitationFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'teamId': json['teamId'] == null ? undefined : json['teamId'],
        'inviteeId': json['inviteeId'] == null ? undefined : json['inviteeId'],
        'inviteeEmail': json['inviteeEmail'] == null ? undefined : json['inviteeEmail'],
        'message': json['message'] == null ? undefined : json['message'],
        'expiresOn': json['expiresOn'] == null ? undefined : json['expiresOn'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
    };
}
export function MembershipInvitationToJSON(json) {
    return MembershipInvitationToJSONTyped(json, false);
}
export function MembershipInvitationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'teamId': value['teamId'],
        'inviteeId': value['inviteeId'],
        'inviteeEmail': value['inviteeEmail'],
        'message': value['message'],
        'expiresOn': value['expiresOn'],
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
    };
}
//# sourceMappingURL=MembershipInvitation.js.map