/* 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 Team interface.
 */
export function instanceOfTeam(value) {
    return true;
}
export function TeamFromJSON(json) {
    return TeamFromJSONTyped(json, false);
}
export function TeamFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'name': json['name'] == null ? undefined : json['name'],
        'description': json['description'] == null ? undefined : json['description'],
        'icon': json['icon'] == null ? undefined : json['icon'],
        'canPublicJoin': json['canPublicJoin'] == null ? undefined : json['canPublicJoin'],
        'canRequestMembership': json['canRequestMembership'] == null ? undefined : json['canRequestMembership'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'modifiedBy': json['modifiedBy'] == null ? undefined : json['modifiedBy'],
    };
}
export function TeamToJSON(json) {
    return TeamToJSONTyped(json, false);
}
export function TeamToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'name': value['name'],
        'description': value['description'],
        'icon': value['icon'],
        'canPublicJoin': value['canPublicJoin'],
        'canRequestMembership': value['canRequestMembership'],
        'etag': value['etag'],
        'createdOn': value['createdOn'],
        'modifiedOn': value['modifiedOn'],
        'createdBy': value['createdBy'],
        'modifiedBy': value['modifiedBy'],
    };
}
//# sourceMappingURL=Team.js.map