in library/src/main/java/com/theguardian/bridget/thrift/Epic.java [345:388]
public boolean equals(Epic that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_title = true && this.isSetTitle();
boolean that_present_title = true && that.isSetTitle();
if (this_present_title || that_present_title) {
if (!(this_present_title && that_present_title))
return false;
if (!this.title.equals(that.title))
return false;
}
boolean this_present_body = true && this.isSetBody();
boolean that_present_body = true && that.isSetBody();
if (this_present_body || that_present_body) {
if (!(this_present_body && that_present_body))
return false;
if (!this.body.equals(that.body))
return false;
}
boolean this_present_firstButton = true && this.isSetFirstButton();
boolean that_present_firstButton = true && that.isSetFirstButton();
if (this_present_firstButton || that_present_firstButton) {
if (!(this_present_firstButton && that_present_firstButton))
return false;
if (!this.firstButton.equals(that.firstButton))
return false;
}
boolean this_present_secondButton = true && this.isSetSecondButton();
boolean that_present_secondButton = true && that.isSetSecondButton();
if (this_present_secondButton || that_present_secondButton) {
if (!(this_present_secondButton && that_present_secondButton))
return false;
if (!this.secondButton.equals(that.secondButton))
return false;
}
return true;
}