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