@classmethod
def _from_dict(cls, _dict):
    """Initialize a DeleteCredentials object from a json dictionary."""
    args = {}
    if 'credential_id' in _dict:
        args['credential_id'] = _dict.get('credential_id')
    if 'status' in _dict:
        args['status'] = _dict.get('status')
    return cls(**args)
