/* 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 UserGroup interface.
 */
export function instanceOfUserGroup(value) {
    return true;
}
export function UserGroupFromJSON(json) {
    return UserGroupFromJSONTyped(json, false);
}
export function UserGroupFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'isIndividual': json['isIndividual'] == null ? undefined : json['isIndividual'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'creationDate': json['creationDate'] == null ? undefined : json['creationDate'],
        'realmId': json['realmId'] == null ? undefined : json['realmId'],
        'uri': json['uri'] == null ? undefined : json['uri'],
    };
}
export function UserGroupToJSON(json) {
    return UserGroupToJSONTyped(json, false);
}
export function UserGroupToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'isIndividual': value['isIndividual'],
        'etag': value['etag'],
        'creationDate': value['creationDate'],
        'realmId': value['realmId'],
        'uri': value['uri'],
    };
}
//# sourceMappingURL=UserGroup.js.map