code: def interface_type(self, ift):
          
          if not isinstance(ift, str):
              ift = str(ift)
          self._attributes["if"] = ift
docs: Set the CoRE Link Format if attribute of the resource.
  
          :param ift: the CoRE Link Format if attribute