code: def all_replica_set_links(rs_id, rel_to=None):
      
      return [
          replica_set_link(rel, rs_id, self_rel=(rel == rel_to))
          for rel in (
              'get-replica-set-info',
              'delete-replica-set', 'replica-set-command',
              'get-replica-set-members', 'add-replica-set-member',
              'get-replica-set-secondaries', 'get-replica-set-primary',
              'get-replica-set-arbiters', 'get-replica-set-hidden-members',
              'get-replica-set-passive-members', 'get-replica-set-servers'
          )
      ]
docs: Get a list of all links to be included with replica sets.