public boolean equals(AuthenticationRequest that) { if (that == null) return false; boolean this_present_credentials = true && this.isSetCredentials(); boolean that_present_credentials = true && that.isSetCredentials(); if (this_present_credentials || that_present_credentials) { if (!(this_present_credentials && that_present_credentials)) return false; if (!this.credentials.equals(that.credentials)) return false; } return true; }
public boolean equals(AuthenticationRequest that) { if (that == null) return false; boolean this_present_credentials = true && this.isSetCredentials(); boolean that_present_credentials = true && that.isSetCredentials(); if (this_present_credentials || that_present_credentials) { if (!(this_present_credentials && that_present_credentials)) return false; if (!this.credentials.equals(that.credentials)) return false; } return true; }
public boolean equals(AuthenticationRequest that) { if (that == null) return false; boolean this_present_credentials = true && this.isSetCredentials(); boolean that_present_credentials = true && that.isSetCredentials(); if (this_present_credentials || that_present_credentials) { if (!(this_present_credentials && that_present_credentials)) return false; if (!this.credentials.equals(that.credentials)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public AuthenticationRequest(AuthenticationRequest other) { if (other.isSetCredentials()) { Map<String,String> __this__credentials = new HashMap<String,String>(other.credentials); this.credentials = __this__credentials; } }
/** * Performs a deep copy on <i>other</i>. */ public AuthenticationRequest(AuthenticationRequest other) { if (other.isSetCredentials()) { Map<String,String> __this__credentials = new HashMap<String,String>(other.credentials); this.credentials = __this__credentials; } }
/** * Performs a deep copy on <i>other</i>. */ public AuthenticationRequest(AuthenticationRequest other) { if (other.isSetCredentials()) { Map<String,String> __this__credentials = new HashMap<String,String>(other.credentials); this.credentials = __this__credentials; } }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case CREDENTIALS: return isSetCredentials(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case CREDENTIALS: return isSetCredentials(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case CREDENTIALS: return isSetCredentials(); } throw new IllegalStateException(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_credentials = true && (isSetCredentials()); builder.append(present_credentials); if (present_credentials) builder.append(credentials); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_credentials = true && (isSetCredentials()); builder.append(present_credentials); if (present_credentials) builder.append(credentials); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_credentials = true && (isSetCredentials()); builder.append(present_credentials); if (present_credentials) builder.append(credentials); return builder.toHashCode(); }
@Override public int compareTo(AuthenticationRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetCredentials()).compareTo(other.isSetCredentials()); if (lastComparison != 0) { return lastComparison; } if (isSetCredentials()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credentials, other.credentials); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(AuthenticationRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetCredentials()).compareTo(other.isSetCredentials()); if (lastComparison != 0) { return lastComparison; } if (isSetCredentials()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credentials, other.credentials); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(AuthenticationRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetCredentials()).compareTo(other.isSetCredentials()); if (lastComparison != 0) { return lastComparison; } if (isSetCredentials()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credentials, other.credentials); if (lastComparison != 0) { return lastComparison; } } return 0; }