def _from_dict(cls, _dict):
        """Initialize a VoiceModels object from a json dictionary."""
        args = {}
        if 'customizations' in _dict:
            args['customizations'] = [
                VoiceModel._from_dict(x) for x in (_dict.get('customizations'))
            ]
        else:
            raise ValueError(
                'Required property \'customizations\' not present in VoiceModels JSON'
            )
        return cls(**args)
def _from_dict ( cls , _dict ) : args = { } if 'customizations' in _dict : args [ 'customizations' ] = [ VoiceModel . _from_dict ( x ) for x in ( _dict . get ( 'customizations' ) ) ] else : raise ValueError ( 'Required property \'customizations\' not present in VoiceModels JSON' ) return cls ( ** args )
Initialize a VoiceModels object from a json dictionary.