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