
package info.metadude.java.library.brockman.models;

import java.util.List;

public class Offer {

    public final String group;

    public final List<Room> rooms;

    public Offer(String group, List<Room> rooms) {
        this.group = group;
        this.rooms = rooms;
    }

    @Override
    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (other == null || getClass() != other.getClass()) {
            return false;
        }
        Offer offer = (Offer) other;
        return !(group != null ? !group.equals(offer.group) : offer.group != null) &&
                !(rooms != null ? !rooms.equals(offer.rooms) : offer.rooms != null);
    }

    @Override
    public int hashCode() {
        int result = group != null ? group.hashCode() : 0;
        result = 31 * result + (rooms != null ? rooms.hashCode() : 0);
        return result;
    }

    @Override
    public String toString() {
        return "Offer{" +
                "group='" + group + '\'' +
                ", rooms=" + rooms +
                '}';
    }

}

@@ -93,16 +93,53 @@
 ffer %7B%0A%0A
+    public final String conference;%0A%0A
     publ
@@ -218,24 +218,43 @@
 ffer(String 
+conference, String 
 group, List%3C
@@ -264,24 +264,62 @@
 m%3E rooms) %7B%0A
+        this.conference = conference;%0A
         this
@@ -640,16 +640,123 @@
  return 
+!(conference != null ? !conference.equals(offer.conference) : offer.conference != null) &&%0A                
 !(group 
@@ -973,16 +973,96 @@
 esult = 
+conference != null ? conference.hashCode() : 0;%0A        result = 31 * result + (
 group !=
@@ -1081,32 +1081,33 @@
 p.hashCode() : 0
+)
 ;%0A        result
@@ -1281,16 +1281,71 @@
        %22
+conference='%22 + conference + '%5C'' +%0A                %22, 
 group='%22

Add "conference" field.