'@param replacement: See L{Record_NAPTR.replacement}
@type replacement: L{bytes} or L{unicode}'

def __init__(self, order=0, preference=0, flags='', service='', regexp='', replacement='', ttl=None):

    self.order = int(order)
    self.preference = int(preference)
    self.flags = Charstr(flags)
    self.service = Charstr(service)
    self.regexp = Charstr(regexp)
    self.replacement = Name(replacement)
    self.ttl = str2time(ttl)
