Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (AssetGroup.Length != 0)
            {
                hash ^= AssetGroup.GetHashCode();
            }
            if (audience_ != null)
            {
                hash ^= Audience.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (AssetGroup.Length != 0)
            {
                hash ^= AssetGroup.GetHashCode();
            }
            if (Asset.Length != 0)
            {
                hash ^= Asset.GetHashCode();
            }
            if (FieldType != global::Google.Ads.GoogleAds.V10.Enums.AssetFieldTypeEnum.Types.AssetFieldType.Unspecified)
            {
                hash ^= FieldType.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V10.Enums.AssetLinkStatusEnum.Types.AssetLinkStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (PerformanceLabel != global::Google.Ads.GoogleAds.V10.Enums.AssetPerformanceLabelEnum.Types.AssetPerformanceLabel.Unspecified)
            {
                hash ^= PerformanceLabel.GetHashCode();
            }
            if (policySummary_ != null)
            {
                hash ^= PolicySummary.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }