/// <summary>
        /// Returns true if LocalAreaRotationList instances are equal
        /// </summary>
        /// <param name="other">Instance of LocalAreaRotationList to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(LocalAreaRotationList other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Id == other.Id ||
                     Id.Equals(other.Id)
                     ) &&
                 (
                     DistrictEquipmentType == other.DistrictEquipmentType ||
                     DistrictEquipmentType != null &&
                     DistrictEquipmentType.Equals(other.DistrictEquipmentType)
                 ) &&
                 (
                     LocalArea == other.LocalArea ||
                     LocalArea != null &&
                     LocalArea.Equals(other.LocalArea)
                 ) &&
                 (
                     AskNextBlock1 == other.AskNextBlock1 ||
                     AskNextBlock1 != null &&
                     AskNextBlock1.Equals(other.AskNextBlock1)
                 ) &&
                 (
                     AskNextBlock1Seniority == other.AskNextBlock1Seniority ||
                     AskNextBlock1Seniority != null &&
                     AskNextBlock1Seniority.Equals(other.AskNextBlock1Seniority)
                 ) &&
                 (
                     AskNextBlock2 == other.AskNextBlock2 ||
                     AskNextBlock2 != null &&
                     AskNextBlock2.Equals(other.AskNextBlock2)
                 ) &&
                 (
                     AskNextBlock2Seniority == other.AskNextBlock2Seniority ||
                     AskNextBlock2Seniority != null &&
                     AskNextBlock2Seniority.Equals(other.AskNextBlock2Seniority)
                 ) &&
                 (
                     AskNextBlockOpen == other.AskNextBlockOpen ||
                     AskNextBlockOpen != null &&
                     AskNextBlockOpen.Equals(other.AskNextBlockOpen)
                 ));
        }
        /// <summary>
        /// Gets the hash code
        /// </summary>
        /// <returns>Hash code</returns>
        public override int GetHashCode()
        {
            // credit: http://stackoverflow.com/a/263416/677735
            unchecked // Overflow is fine, just wrap
            {
                int hash = 41;

                // Suitable nullity checks
                hash = hash * 59 + Id.GetHashCode();

                if (DistrictEquipmentType != null)
                {
                    hash = hash * 59 + DistrictEquipmentType.GetHashCode();
                }

                if (LocalArea != null)
                {
                    hash = hash * 59 + LocalArea.GetHashCode();
                }

                if (AskNextBlock1 != null)
                {
                    hash = hash * 59 + AskNextBlock1.GetHashCode();
                }

                if (AskNextBlock1Seniority != null)
                {
                    hash = hash * 59 + AskNextBlock1Seniority.GetHashCode();
                }

                if (AskNextBlock2 != null)
                {
                    hash = hash * 59 + AskNextBlock2.GetHashCode();
                }

                if (AskNextBlock2Seniority != null)
                {
                    hash = hash * 59 + AskNextBlock2Seniority.GetHashCode();
                }

                if (AskNextBlockOpen != null)
                {
                    hash = hash * 59 + AskNextBlockOpen.GetHashCode();
                }

                return(hash);
            }
        }