/* 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 JsonSchemaVersionInfo interface.
 */
export function instanceOfJsonSchemaVersionInfo(value) {
    return true;
}
export function JsonSchemaVersionInfoFromJSON(json) {
    return JsonSchemaVersionInfoFromJSONTyped(json, false);
}
export function JsonSchemaVersionInfoFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
        'organizationName': json['organizationName'] == null ? undefined : json['organizationName'],
        'schemaId': json['schemaId'] == null ? undefined : json['schemaId'],
        'schemaName': json['schemaName'] == null ? undefined : json['schemaName'],
        'versionId': json['versionId'] == null ? undefined : json['versionId'],
        '$id': json['$id'] == null ? undefined : json['$id'],
        'semanticVersion': json['semanticVersion'] == null ? undefined : json['semanticVersion'],
        'jsonSHA256Hex': json['jsonSHA256Hex'] == null ? undefined : json['jsonSHA256Hex'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
    };
}
export function JsonSchemaVersionInfoToJSON(json) {
    return JsonSchemaVersionInfoToJSONTyped(json, false);
}
export function JsonSchemaVersionInfoToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'organizationId': value['organizationId'],
        'organizationName': value['organizationName'],
        'schemaId': value['schemaId'],
        'schemaName': value['schemaName'],
        'versionId': value['versionId'],
        '$id': value['$id'],
        'semanticVersion': value['semanticVersion'],
        'jsonSHA256Hex': value['jsonSHA256Hex'],
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
    };
}
//# sourceMappingURL=JsonSchemaVersionInfo.js.map