/* 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.
 */
import { EmailValidationSignedTokenFromJSON, EmailValidationSignedTokenToJSON, } from './EmailValidationSignedToken';
/**
 * Check if a given object implements the AccountSetupInfo interface.
 */
export function instanceOfAccountSetupInfo(value) {
    return true;
}
export function AccountSetupInfoFromJSON(json) {
    return AccountSetupInfoFromJSONTyped(json, false);
}
export function AccountSetupInfoFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'firstName': json['firstName'] == null ? undefined : json['firstName'],
        'lastName': json['lastName'] == null ? undefined : json['lastName'],
        'username': json['username'] == null ? undefined : json['username'],
        'password': json['password'] == null ? undefined : json['password'],
        'emailValidationSignedToken': json['emailValidationSignedToken'] == null ? undefined : EmailValidationSignedTokenFromJSON(json['emailValidationSignedToken']),
    };
}
export function AccountSetupInfoToJSON(json) {
    return AccountSetupInfoToJSONTyped(json, false);
}
export function AccountSetupInfoToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'firstName': value['firstName'],
        'lastName': value['lastName'],
        'username': value['username'],
        'password': value['password'],
        'emailValidationSignedToken': EmailValidationSignedTokenToJSON(value['emailValidationSignedToken']),
    };
}
//# sourceMappingURL=AccountSetupInfo.js.map