/* 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 Organization interface.
 */
export function instanceOfOrganization(value) {
    return true;
}
export function OrganizationFromJSON(json) {
    return OrganizationFromJSONTyped(json, false);
}
export function OrganizationFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'name': json['name'] == null ? undefined : json['name'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
    };
}
export function OrganizationToJSON(json) {
    return OrganizationToJSONTyped(json, false);
}
export function OrganizationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'name': value['name'],
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
    };
}
//# sourceMappingURL=Organization.js.map