def hlr_create(self, msisdn, reference): """Perform a new HLR lookup.""" return HLR().load( self.request('hlr', 'POST', { 'msisdn': msisdn, 'reference': reference }))
def lookup_hlr_create(self, phonenumber, params=None): """Perform a new HLR lookup.""" if params is None: params = {} return HLR().load( self.request('lookup/' + str(phonenumber) + '/hlr', 'POST', params))
def hlr(self, id): """Retrieve the information of a specific HLR lookup.""" return HLR().load(self.request('hlr/' + str(id)))
def lookup_hlr(self, phonenumber, params=None): """Retrieve the information of a specific HLR lookup.""" if params is None: params = {} return HLR().load(self.request('lookup/' + str(phonenumber) + '/hlr', 'GET', params))
def hlr(self, value): self._hlr = HLR().load(value)