/* 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.
 */
/**
 * @export
 */
export const AccessMethodTypeEnum = {
    https: 'https'
};
/**
 * Check if a given object implements the AccessMethod interface.
 */
export function instanceOfAccessMethod(value) {
    return true;
}
export function AccessMethodFromJSON(json) {
    return AccessMethodFromJSONTyped(json, false);
}
export function AccessMethodFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'type': json['type'] == null ? undefined : json['type'],
        'access_id': json['access_id'] == null ? undefined : json['access_id'],
    };
}
export function AccessMethodToJSON(json) {
    return AccessMethodToJSONTyped(json, false);
}
export function AccessMethodToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'type': value['type'],
        'access_id': value['access_id'],
    };
}
//# sourceMappingURL=AccessMethod.js.map