@classmethod
def all(cls, client, *args):
    """Get all cluster members."""
    response = client.api.cluster.members.get()
    nodes = []
    for node in response.json()['metadata']:
        server_name = node.split('/')[-1]
        nodes.append(cls(client, server_name=server_name))
    return nodes
