/// <summary>
        /// Returns true if objects are equal
        /// </summary>
        public bool Equals(CreateVolumeResponse input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     this.JobId == input.JobId ||
                     (this.JobId != null &&
                      this.JobId.Equals(input.JobId))
                     ) &&
                 (
                     this.OrderId == input.OrderId ||
                     (this.OrderId != null &&
                      this.OrderId.Equals(input.OrderId))
                 ) &&
                 (
                     this.VolumeIds == input.VolumeIds ||
                     this.VolumeIds != null &&
                     input.VolumeIds != null &&
                     this.VolumeIds.SequenceEqual(input.VolumeIds)
                 ));
        }
Esempio n. 2
0
        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        public bool Equals(CreateVolumeResponse input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     this.JobId == input.JobId ||
                     (this.JobId != null &&
                      this.JobId.Equals(input.JobId))
                     ) &&
                 (
                     this.OrderId == input.OrderId ||
                     (this.OrderId != null &&
                      this.OrderId.Equals(input.OrderId))
                 ));
        }