/* 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 UserEntityPermissions interface.
 */
export function instanceOfUserEntityPermissions(value) {
    return true;
}
export function UserEntityPermissionsFromJSON(json) {
    return UserEntityPermissionsFromJSONTyped(json, false);
}
export function UserEntityPermissionsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'canView': json['canView'] == null ? undefined : json['canView'],
        'canEdit': json['canEdit'] == null ? undefined : json['canEdit'],
        'canMove': json['canMove'] == null ? undefined : json['canMove'],
        'canAddChild': json['canAddChild'] == null ? undefined : json['canAddChild'],
        'canCertifiedUserEdit': json['canCertifiedUserEdit'] == null ? undefined : json['canCertifiedUserEdit'],
        'canCertifiedUserAddChild': json['canCertifiedUserAddChild'] == null ? undefined : json['canCertifiedUserAddChild'],
        'isCertifiedUser': json['isCertifiedUser'] == null ? undefined : json['isCertifiedUser'],
        'canChangePermissions': json['canChangePermissions'] == null ? undefined : json['canChangePermissions'],
        'canChangeSettings': json['canChangeSettings'] == null ? undefined : json['canChangeSettings'],
        'canDelete': json['canDelete'] == null ? undefined : json['canDelete'],
        'canDownload': json['canDownload'] == null ? undefined : json['canDownload'],
        'canUpload': json['canUpload'] == null ? undefined : json['canUpload'],
        'canEnableInheritance': json['canEnableInheritance'] == null ? undefined : json['canEnableInheritance'],
        'ownerPrincipalId': json['ownerPrincipalId'] == null ? undefined : json['ownerPrincipalId'],
        'canPublicRead': json['canPublicRead'] == null ? undefined : json['canPublicRead'],
        'canModerate': json['canModerate'] == null ? undefined : json['canModerate'],
        'isCertificationRequired': json['isCertificationRequired'] == null ? undefined : json['isCertificationRequired'],
        'isEntityOpenData': json['isEntityOpenData'] == null ? undefined : json['isEntityOpenData'],
        'isDataContributor': json['isDataContributor'] == null ? undefined : json['isDataContributor'],
    };
}
export function UserEntityPermissionsToJSON(json) {
    return UserEntityPermissionsToJSONTyped(json, false);
}
export function UserEntityPermissionsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'canView': value['canView'],
        'canEdit': value['canEdit'],
        'canMove': value['canMove'],
        'canAddChild': value['canAddChild'],
        'canCertifiedUserEdit': value['canCertifiedUserEdit'],
        'canCertifiedUserAddChild': value['canCertifiedUserAddChild'],
        'isCertifiedUser': value['isCertifiedUser'],
        'canChangePermissions': value['canChangePermissions'],
        'canChangeSettings': value['canChangeSettings'],
        'canDelete': value['canDelete'],
        'canDownload': value['canDownload'],
        'canUpload': value['canUpload'],
        'canEnableInheritance': value['canEnableInheritance'],
        'ownerPrincipalId': value['ownerPrincipalId'],
        'canPublicRead': value['canPublicRead'],
        'canModerate': value['canModerate'],
        'isCertificationRequired': value['isCertificationRequired'],
        'isEntityOpenData': value['isEntityOpenData'],
        'isDataContributor': value['isDataContributor'],
    };
}
//# sourceMappingURL=UserEntityPermissions.js.map