def building=(newval)
      new = JSS::Building.all.select { |b| (b[:id] == newval) || (b[:name] == newval) }[0]
      raise JSS::MissingDataError, "No building matching '#{newval}'" unless new
      @building = new[:name]
      @need_to_update = true
    end
def building=(newval)
      new = JSS::Building.all.select { |b| (b[:id] == newval) || (b[:name] == newval) }[0]
      raise JSS::MissingDataError, "No building matching '#{newval}'" unless new
      @building = new[:name]
      @need_to_update = true
    end
Does this network segment equal another?
 equality means the ranges are equal

 @param other_segment[JSS::NetworkSegment] the other segment to check

 @return [Boolean] Does this segment include the other?

 Set the building

 @param newval[String, Integer] the new building by name or id, must be in the JSS

 @return [void]