/* 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 TotpSecretActivationRequest interface.
 */
export function instanceOfTotpSecretActivationRequest(value) {
    return true;
}
export function TotpSecretActivationRequestFromJSON(json) {
    return TotpSecretActivationRequestFromJSONTyped(json, false);
}
export function TotpSecretActivationRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'secretId': json['secretId'] == null ? undefined : json['secretId'],
        'totp': json['totp'] == null ? undefined : json['totp'],
    };
}
export function TotpSecretActivationRequestToJSON(json) {
    return TotpSecretActivationRequestToJSONTyped(json, false);
}
export function TotpSecretActivationRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'secretId': value['secretId'],
        'totp': value['totp'],
    };
}
//# sourceMappingURL=TotpSecretActivationRequest.js.map