Exemple #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasManagerCustomer)
            {
                hash ^= ManagerCustomer.GetHashCode();
            }
            if (HasManagerLinkId)
            {
                hash ^= ManagerLinkId.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V6.Enums.ManagerLinkStatusEnum.Types.ManagerLinkStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (managerCustomer_ != null)
            {
                hash ^= ManagerCustomer.GetHashCode();
            }
            if (managerLinkId_ != null)
            {
                hash ^= ManagerLinkId.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }