/// <summary> /// Returns true if objects are equal /// </summary> public bool Equals(ListInstanceTopicsRespTopics input) { if (input == null) { return(false); } return (( this.PoliciesOnly == input.PoliciesOnly || (this.PoliciesOnly != null && this.PoliciesOnly.Equals(input.PoliciesOnly)) ) && ( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) ) && ( this.Replication == input.Replication || (this.Replication != null && this.Replication.Equals(input.Replication)) ) && ( this.Partition == input.Partition || (this.Partition != null && this.Partition.Equals(input.Partition)) ) && ( this.RetentionTime == input.RetentionTime || (this.RetentionTime != null && this.RetentionTime.Equals(input.RetentionTime)) ) && ( this.SyncReplication == input.SyncReplication || (this.SyncReplication != null && this.SyncReplication.Equals(input.SyncReplication)) ) && ( this.SyncMessageFlush == input.SyncMessageFlush || (this.SyncMessageFlush != null && this.SyncMessageFlush.Equals(input.SyncMessageFlush)) ) && ( this.ExternalConfigs == input.ExternalConfigs || (this.ExternalConfigs != null && this.ExternalConfigs.Equals(input.ExternalConfigs)) ) && ( this.TopicType == input.TopicType || (this.TopicType != null && this.TopicType.Equals(input.TopicType)) )); }
/// <summary> /// Returns true if objects are equal /// </summary> public bool Equals(ListInstanceTopicsRespTopics input) { if (input == null) { return(false); } return (( this.Id == input.Id || (this.Id != null && this.Id.Equals(input.Id)) ) && ( this.Replication == input.Replication || (this.Replication != null && this.Replication.Equals(input.Replication)) ) && ( this.Partition == input.Partition || (this.Partition != null && this.Partition.Equals(input.Partition)) ) && ( this.RetentionTime == input.RetentionTime || (this.RetentionTime != null && this.RetentionTime.Equals(input.RetentionTime)) ) && ( this.SyncReplication == input.SyncReplication || (this.SyncReplication != null && this.SyncReplication.Equals(input.SyncReplication)) ) && ( this.SyncMessageFlush == input.SyncMessageFlush || (this.SyncMessageFlush != null && this.SyncMessageFlush.Equals(input.SyncMessageFlush)) )); }