nodes: 0, module; 1, function_definition; 2, function_name:get_rrsets; 3, parameters; 4, block; 5, identifier:self; 6, identifier:zone_name; 7, default_parameter; 8, dictionary_splat_pattern; 9, expression_statement; 10, expression_statement; 11, expression_statement; 12, return_statement; 13, identifier:q; 14, None; 15, identifier:kwargs; 16, comment:"""Returns the list of RRSets in the specified zone.
  
          Arguments:
          zone_name -- The name of the zone.
  
          Keyword Arguments:
          q -- The search parameters, in a dict.  Valid keys are:
               ttl - must match the TTL for the rrset
               owner - substring match of the owner name
               value - substring match of the first BIND field value
          sort -- The sort column used to order the list. Valid values for the sort field are:
                  OWNER
                  TTL
                  TYPE
          reverse -- Whether the list is ascending(False) or descending(True)
          offset -- The position in the list for the first returned element(0 based)
          limit -- The maximum number of rows to be returned.
  
          """; 17, assignment; 18, assignment; 19, call; 20, identifier:uri; 21, binary_operator:"/v1/zones/" + zone_name + "/rrsets"; 22, identifier:params; 23, call; 24, attribute; 25, argument_list; 26, binary_operator:"/v1/zones/" + zone_name; 27, string:"/rrsets"; 28, identifier:build_params; 29, argument_list; 30, attribute; 31, identifier:get; 32, identifier:uri; 33, identifier:params; 34, string:"/v1/zones/"; 35, identifier:zone_name; 36, identifier:q; 37, identifier:kwargs; 38, identifier:self; 39, identifier:rest_api_connection
code: def get_rrsets(self, zone_name, q=None, **kwargs):
          """Returns the list of RRSets in the specified zone.
  
          Arguments:
          zone_name -- The name of the zone.
  
          Keyword Arguments:
          q -- The search parameters, in a dict.  Valid keys are:
               ttl - must match the TTL for the rrset
               owner - substring match of the owner name
               value - substring match of the first BIND field value
          sort -- The sort column used to order the list. Valid values for the sort field are:
                  OWNER
                  TTL
                  TYPE
          reverse -- Whether the list is ascending(False) or descending(True)
          offset -- The position in the list for the first returned element(0 based)
          limit -- The maximum number of rows to be returned.
  
          """
          uri = "/v1/zones/" + zone_name + "/rrsets"
          params = build_params(q, kwargs)
          return self.rest_api_connection.get(uri, params)