Example #1
0
        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        public bool Equals(ShowIpWhitelistRequest input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                (
                this.InstanceId == input.InstanceId ||
                (this.InstanceId != null &&
                 this.InstanceId.Equals(input.InstanceId))
                );
        }
        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        public bool Equals(ShowIpWhitelistRequest input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     this.ContentType == input.ContentType ||
                     (this.ContentType != null &&
                      this.ContentType.Equals(input.ContentType))
                     ) &&
                 (
                     this.InstanceId == input.InstanceId ||
                     (this.InstanceId != null &&
                      this.InstanceId.Equals(input.InstanceId))
                 ));
        }