/* 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 FieldDescription interface.
 */
export function instanceOfFieldDescription(value) {
    return true;
}
export function FieldDescriptionFromJSON(json) {
    return FieldDescriptionFromJSONTyped(json, false);
}
export function FieldDescriptionFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'type': json['type'] == null ? undefined : json['type'],
        'bucket': json['bucket'] == null ? undefined : json['bucket'],
    };
}
export function FieldDescriptionToJSON(json) {
    return FieldDescriptionToJSONTyped(json, false);
}
export function FieldDescriptionToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'type': value['type'],
        'bucket': value['bucket'],
    };
}
//# sourceMappingURL=FieldDescription.js.map