@classmethod
def _from_dict(cls, _dict):
    """Initialize a DialogNodeNextStep object from a json dictionary."""
    args = {}
    if 'behavior' in _dict:
        args['behavior'] = _dict.get('behavior')
    else:
        raise ValueError(
            "Required property 'behavior' not present in DialogNodeNextStep JSON"
            )
    if 'dialog_node' in _dict:
        args['dialog_node'] = _dict.get('dialog_node')
    if 'selector' in _dict:
        args['selector'] = _dict.get('selector')
    return cls(**args)
