/* 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 DockerCommit interface.
 */
export function instanceOfDockerCommit(value) {
    return true;
}
export function DockerCommitFromJSON(json) {
    return DockerCommitFromJSONTyped(json, false);
}
export function DockerCommitFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'tag': json['tag'] == null ? undefined : json['tag'],
        'digest': json['digest'] == null ? undefined : json['digest'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
    };
}
export function DockerCommitToJSON(json) {
    return DockerCommitToJSONTyped(json, false);
}
export function DockerCommitToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'tag': value['tag'],
        'digest': value['digest'],
        'createdOn': value['createdOn'],
    };
}
//# sourceMappingURL=DockerCommit.js.map