public override int GetHashCode() { int hashcode = 157; unchecked { if ((Name != null)) { hashcode = (hashcode * 397) + Name.GetHashCode(); } if ((Strategy_class != null)) { hashcode = (hashcode * 397) + Strategy_class.GetHashCode(); } if ((Strategy_options != null) && __isset.strategy_options) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Strategy_options); } if (__isset.replication_factor) { hashcode = (hashcode * 397) + Replication_factor.GetHashCode(); } if ((Cf_defs != null)) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Cf_defs); } if (__isset.durable_writes) { hashcode = (hashcode * 397) + Durable_writes.GetHashCode(); } } return(hashcode); }
public override string ToString() { var sb = new StringBuilder("KsDef("); if ((Name != null)) { sb.Append(", Name: "); Name.ToString(sb); } if ((Strategy_class != null)) { sb.Append(", Strategy_class: "); Strategy_class.ToString(sb); } if ((Strategy_options != null) && __isset.strategy_options) { sb.Append(", Strategy_options: "); Strategy_options.ToString(sb); } if (__isset.replication_factor) { sb.Append(", Replication_factor: "); Replication_factor.ToString(sb); } if ((Cf_defs != null)) { sb.Append(", Cf_defs: "); Cf_defs.ToString(sb); } if (__isset.durable_writes) { sb.Append(", Durable_writes: "); Durable_writes.ToString(sb); } sb.Append(')'); return(sb.ToString()); }