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

            return
                ((
                     this.BssParam == input.BssParam ||
                     (this.BssParam != null &&
                      this.BssParam.Equals(input.BssParam))
                     ) &&
                 (
                     this.Volume == input.Volume ||
                     (this.Volume != null &&
                      this.Volume.Equals(input.Volume))
                 ) &&
                 (
                     this.ServerId == input.ServerId ||
                     (this.ServerId != null &&
                      this.ServerId.Equals(input.ServerId))
                 ) &&
                 (
                     this.OSSCHHNTschedulerHints == input.OSSCHHNTschedulerHints ||
                     (this.OSSCHHNTschedulerHints != null &&
                      this.OSSCHHNTschedulerHints.Equals(input.OSSCHHNTschedulerHints))
                 ));
        }
Example #2
0
        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        public bool Equals(CreateVolumeRequestBody input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     this.BssParam == input.BssParam ||
                     (this.BssParam != null &&
                      this.BssParam.Equals(input.BssParam))
                     ) &&
                 (
                     this.Volume == input.Volume ||
                     (this.Volume != null &&
                      this.Volume.Equals(input.Volume))
                 ));
        }