Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (ReferenceEquals(this, obj))
            {
                return(true);
            }

            if (obj == null || this.GetType() != obj.GetType())
            {
                return(false);
            }

            SNSAutoScalingLifecycleHookMessage other = (SNSAutoScalingLifecycleHookMessage)obj;

            return(this.Equals(other));
        }
Exemplo n.º 2
0
 public bool Equals(SNSAutoScalingLifecycleHookMessage other)
 {
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     else
     {
         return(this.AccountId == other.AccountId &&
                this.AutoScalingGroupName == other.AutoScalingGroupName &&
                this.EC2InstanceId == other.EC2InstanceId &&
                this.LifecycleActionToken == other.LifecycleActionToken &&
                this.LifecycleHookName == other.LifecycleHookName &&
                this.LifecycleTransition == other.LifecycleTransition &&
                this.RequestId == other.RequestId &&
                this.Service == other.Service &&
                this.Time == other.Time);
     }
 }