code: def get_client_rights(self, right_name=None, product_version=None, edition=None, rel_type=None, include_certificate=None, canary=None, machine_id=None):
          
          route_values = {}
          if right_name is not None:
              route_values['rightName'] = self._serialize.url('right_name', right_name, 'str')
          query_parameters = {}
          if product_version is not None:
              query_parameters['productVersion'] = self._serialize.query('product_version', product_version, 'str')
          if edition is not None:
              query_parameters['edition'] = self._serialize.query('edition', edition, 'str')
          if rel_type is not None:
              query_parameters['relType'] = self._serialize.query('rel_type', rel_type, 'str')
          if include_certificate is not None:
              query_parameters['includeCertificate'] = self._serialize.query('include_certificate', include_certificate, 'bool')
          if canary is not None:
              query_parameters['canary'] = self._serialize.query('canary', canary, 'str')
          if machine_id is not None:
              query_parameters['machineId'] = self._serialize.query('machine_id', machine_id, 'str')
          response = self._send(http_method='GET',
                                location_id='643c72da-eaee-4163-9f07-d748ef5c2a0c',
                                version='5.0-preview.1',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('ClientRightsContainer', response)
docs: GetClientRights.
          [Preview API]
          :param str right_name:
          :param str product_version:
          :param str edition:
          :param str rel_type:
          :param bool include_certificate:
          :param str canary:
          :param str machine_id:
          :rtype: :class:`<ClientRightsContainer> <azure.devops.v5_0.licensing.models.ClientRightsContainer>`