public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.subscriptionId)
            {
                hashcode = (hashcode * 397) + SubscriptionId.GetHashCode();
            }
            if (__isset.squareChatMid)
            {
                hashcode = (hashcode * 397) + SquareChatMid.GetHashCode();
            }
            if (__isset.syncToken)
            {
                hashcode = (hashcode * 397) + SyncToken.GetHashCode();
            }
            if (__isset.limit)
            {
                hashcode = (hashcode * 397) + Limit.GetHashCode();
            }
            if (__isset.direction)
            {
                hashcode = (hashcode * 397) + Direction.GetHashCode();
            }
        }
        return(hashcode);
    }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = SubscriptionId.GetHashCode();
         hashCode = (hashCode * 397) ^ (TenantId != null ? TenantId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ResourceGroup != null ? ResourceGroup.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (WebApp != null ? WebApp.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Hosts != null ? Hosts.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Email != null ? Email.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ClientId.GetHashCode();
         hashCode = (hashCode * 397) ^ (ClientSecret != null ? ClientSecret.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ServicePlanResourceGroup != null ? ServicePlanResourceGroup.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SiteSlotName != null ? SiteSlotName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ UseIpBasedSsl.GetHashCode();
         hashCode = (hashCode * 397) ^ RsaKeyLength;
         hashCode = (hashCode * 397) ^ (AcmeBaseUri != null ? AcmeBaseUri.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ RenewXNumberOfDaysBeforeExpiration;
         hashCode = (hashCode * 397) ^ (AuthenticationUri != null ? AuthenticationUri.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AzureTokenAudience != null ? AzureTokenAudience.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AzureManagementEndpoint != null ? AzureManagementEndpoint.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AzureDefaultWebsiteDomainName != null ? AzureDefaultWebsiteDomainName.GetHashCode() : 0);
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hashCode = 1685690023;

            if (Context != null)
            {
                hashCode += Context.GetHashCode();
            }

            if (AccessToken != null)
            {
                hashCode += AccessToken.GetHashCode();
            }

            if (TokenType != null)
            {
                hashCode += TokenType.GetHashCode();
            }

            if (ExpiresAt != null)
            {
                hashCode += ExpiresAt.GetHashCode();
            }

            if (MerchantId != null)
            {
                hashCode += MerchantId.GetHashCode();
            }

            if (SubscriptionId != null)
            {
                hashCode += SubscriptionId.GetHashCode();
            }

            if (PlanId != null)
            {
                hashCode += PlanId.GetHashCode();
            }

            if (IdToken != null)
            {
                hashCode += IdToken.GetHashCode();
            }

            if (RefreshToken != null)
            {
                hashCode += RefreshToken.GetHashCode();
            }

            if (ShortLived != null)
            {
                hashCode += ShortLived.GetHashCode();
            }

            return(hashCode);
        }
Ejemplo n.º 4
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = SubscriptionId.GetHashCode();
                hashCode = (hashCode * 397) ^ (OrganizationId?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (UserId?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (EventData?.GetHashCode() ?? 0);

                return(hashCode);
            }
        }
Ejemplo n.º 5
0
 public override int GetHashCode()
 {
     unchecked // Overflow is fine
     {
         int hash = 17;
         hash = hash * 23 + (SubscriptionId != null ? SubscriptionId.GetHashCode() : 0);
         hash = hash * 23 + (TenantId != null ? TenantId.GetHashCode() : 0);
         hash = hash * 23 + (DisplayName != null ? DisplayName.GetHashCode() : 0);
         hash = hash * 23 + (State != null ? State.GetHashCode() : 0);
         return(hash);
     }
 }
Ejemplo n.º 6
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (BusUri != null
                           ? BusUri.GetHashCode()
                           : 0);
         result = (result * 397) ^ PeerId.GetHashCode();
         result = (result * 397) ^ SubscriptionId.GetHashCode();
         return(result);
     }
 }
Ejemplo n.º 7
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = TenantId != null?TenantId.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ SubscriptionId.GetHashCode();
                hashCode = (hashCode * 397) ^ (ResourceGroup != null ? ResourceGroup.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ ClientId.GetHashCode();
                hashCode = (hashCode * 397) ^ (ClientSecret != null ? ClientSecret.GetHashCode() : 0);
                return(hashCode);
            }
        }
Ejemplo n.º 8
0
 public override int GetHashCode()
 {
     unchecked // Overflow is fine
     {
         int hash = 17;
         hash = hash * 23 + (SubscriptionId != null ? SubscriptionId.GetHashCode() : 0);
         hash = hash * 23 + (Name != null ? Name.GetHashCode() : 0);
         hash = hash * 23 + (Location != null ? Location.GetHashCode() : 0);
         hash = hash * 23 + (ManagedBy != null ? ManagedBy.GetHashCode() : 0);
         hash = hash * 23 + (Tags != null ? Tags.GetHashCode() : 0);
         hash = hash * 23 + (Properties != null ? Properties.GetHashCode() : 0);
         return(hash);
     }
 }
Ejemplo n.º 9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (SubscriptionId.Length != 0)
            {
                hash ^= SubscriptionId.GetHashCode();
            }
            if (subscriber_ != null)
            {
                hash ^= Subscriber.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 10
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = PartitionKey?.GetHashCode() ?? 0;
                hashCode = (hashCode * 397) ^ (RowKey?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ Created.GetHashCode();
                hashCode = (hashCode * 397) ^ (EventType?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (OperationName?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (OrganizationId?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (SubscriptionId?.GetHashCode() ?? 0);
                hashCode = (hashCode * 397) ^ (Data?.GetHashCode() ?? 0);

                return(hashCode);
            }
        }
Ejemplo n.º 11
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.subscriptionId)
            {
                hashcode = (hashcode * 397) + SubscriptionId.GetHashCode();
            }
            if (__isset.ttlMillis)
            {
                hashcode = (hashcode * 397) + TtlMillis.GetHashCode();
            }
        }
        return(hashcode);
    }
Ejemplo n.º 12
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Grams.GetHashCode();
         hashCode = (hashCode * 397) ^ (Images != null ? Images.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Price != null ? Price.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Quantity.GetHashCode();
         hashCode = (hashCode * 397) ^ ShopifyProductId.GetHashCode();
         hashCode = (hashCode * 397) ^ (ShopifyVariantId != null ? ShopifyVariantId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Sku != null ? Sku.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ SubscriptionId.GetHashCode();
         hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (VariantTitle != null ? VariantTitle.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 13
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = SubscriptionId.GetHashCode();
         hashCode = (hashCode * 397) ^ (TenantId != null ? TenantId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ResourceGroup != null ? ResourceGroup.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (WebApp != null ? WebApp.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Hosts != null ? Hosts.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Email != null ? Email.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ClientId.GetHashCode();
         hashCode = (hashCode * 397) ^ (ClientSecret != null ? ClientSecret.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ UseIpBasedSsl.GetHashCode();
         hashCode = (hashCode * 397) ^ RsaKeyLength;
         hashCode = (hashCode * 397) ^ (AcmeBaseUri != null ? AcmeBaseUri.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 14
0
        public override int GetHashCode()
        {
            int hashCode = 1777017961;

            if (Context != null)
            {
                hashCode += Context.GetHashCode();
            }

            if (AccessToken != null)
            {
                hashCode += AccessToken.GetHashCode();
            }

            if (TokenType != null)
            {
                hashCode += TokenType.GetHashCode();
            }

            if (ExpiresAt != null)
            {
                hashCode += ExpiresAt.GetHashCode();
            }

            if (MerchantId != null)
            {
                hashCode += MerchantId.GetHashCode();
            }

            if (SubscriptionId != null)
            {
                hashCode += SubscriptionId.GetHashCode();
            }

            if (PlanId != null)
            {
                hashCode += PlanId.GetHashCode();
            }

            return(hashCode);
        }
Ejemplo n.º 15
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.subscriptionId)
            {
                hashcode = (hashcode * 397) + SubscriptionId.GetHashCode();
            }
            if (__isset.syncToken)
            {
                hashcode = (hashcode * 397) + SyncToken.GetHashCode();
            }
            if (__isset.limit)
            {
                hashcode = (hashcode * 397) + Limit.GetHashCode();
            }
            if (__isset.continuationToken)
            {
                hashcode = (hashcode * 397) + ContinuationToken.GetHashCode();
            }
        }
        return(hashcode);
    }
Ejemplo n.º 16
0
 public override int GetHashCode()
 {
     return(SubscriptionId.GetHashCode());
 }
Ejemplo n.º 17
0
 public override int GetHashCode()
 {
     return(SubscriptionId != null ? SubscriptionId.GetHashCode() : 0);
 }