public override string ToString() { var sb = new StringBuilder("TokenRange("); if ((Start_token != null)) { sb.Append(", Start_token: "); Start_token.ToString(sb); } if ((End_token != null)) { sb.Append(", End_token: "); End_token.ToString(sb); } if ((Endpoints != null)) { sb.Append(", Endpoints: "); Endpoints.ToString(sb); } if ((Rpc_endpoints != null) && __isset.rpc_endpoints) { sb.Append(", Rpc_endpoints: "); Rpc_endpoints.ToString(sb); } if ((Endpoint_details != null) && __isset.endpoint_details) { sb.Append(", Endpoint_details: "); Endpoint_details.ToString(sb); } sb.Append(')'); return(sb.ToString()); }
public override int GetHashCode() { int hashcode = 157; unchecked { if ((Start_key != null) && __isset.start_key) { hashcode = (hashcode * 397) + Start_key.GetHashCode(); } if ((End_key != null) && __isset.end_key) { hashcode = (hashcode * 397) + End_key.GetHashCode(); } if ((Start_token != null) && __isset.start_token) { hashcode = (hashcode * 397) + Start_token.GetHashCode(); } if ((End_token != null) && __isset.end_token) { hashcode = (hashcode * 397) + End_token.GetHashCode(); } hashcode = (hashcode * 397) + Count.GetHashCode(); } return(hashcode); }
public override int GetHashCode() { int hashcode = 157; unchecked { if ((Start_token != null)) { hashcode = (hashcode * 397) + Start_token.GetHashCode(); } if ((End_token != null)) { hashcode = (hashcode * 397) + End_token.GetHashCode(); } if ((Endpoints != null)) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Endpoints); } if ((Rpc_endpoints != null) && __isset.rpc_endpoints) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Rpc_endpoints); } if ((Endpoint_details != null) && __isset.endpoint_details) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Endpoint_details); } } return(hashcode); }
public override string ToString() { var sb = new StringBuilder("KeyRange("); int tmp53 = 0; if ((Start_key != null) && __isset.start_key) { if (0 < tmp53++) { sb.Append(", "); } sb.Append("Start_key: "); Start_key.ToString(sb); } if ((End_key != null) && __isset.end_key) { if (0 < tmp53++) { sb.Append(", "); } sb.Append("End_key: "); End_key.ToString(sb); } if ((Start_token != null) && __isset.start_token) { if (0 < tmp53++) { sb.Append(", "); } sb.Append("Start_token: "); Start_token.ToString(sb); } if ((End_token != null) && __isset.end_token) { if (0 < tmp53++) { sb.Append(", "); } sb.Append("End_token: "); End_token.ToString(sb); } if (0 < tmp53) { sb.Append(", "); } sb.Append("Count: "); Count.ToString(sb); sb.Append(')'); return(sb.ToString()); }