text: # coding=utf-8
  # --------------------------------------------------------------------------
  # Copyright (c) Microsoft Corporation. All rights reserved.
  # Licensed under the MIT License. See License.txt in the project root for
  # license information.
  #
  # Code generated by Microsoft (R) AutoRest Code Generator.
  # Changes may cause incorrect behavior and will be lost if the code is
  # regenerated.
  # --------------------------------------------------------------------------
  
  try:
      from ._models_py3 import AdvancedFilter
      from ._models_py3 import AzureFunctionEventSubscriptionDestination
      from ._models_py3 import BoolEqualsAdvancedFilter
      from ._models_py3 import ConnectionState
      from ._models_py3 import DeadLetterDestination
      from ._models_py3 import DeadLetterWithResourceIdentity
      from ._models_py3 import DeliveryAttributeListResult
      from ._models_py3 import DeliveryAttributeMapping
      from ._models_py3 import DeliveryWithResourceIdentity
      from ._models_py3 import Domain
      from ._models_py3 import DomainRegenerateKeyRequest
      from ._models_py3 import DomainSharedAccessKeys
      from ._models_py3 import DomainTopic
      from ._models_py3 import DomainUpdateParameters
      from ._models_py3 import DynamicDeliveryAttributeMapping
      from ._models_py3 import EventChannel
      from ._models_py3 import EventChannelDestination
      from ._models_py3 import EventChannelFilter
      from ._models_py3 import EventChannelSource
      from ._models_py3 import EventHubEventSubscriptionDestination
      from ._models_py3 import EventSubscription
      from ._models_py3 import EventSubscriptionDestination
      from ._models_py3 import EventSubscriptionFilter
      from ._models_py3 import EventSubscriptionFullUrl
      from ._models_py3 import EventSubscriptionIdentity
      from ._models_py3 import EventSubscriptionUpdateParameters
      from ._models_py3 import EventType
      from ._models_py3 import ExtendedLocation
      from ._models_py3 import ExtensionTopic
      from ._models_py3 import HybridConnectionEventSubscriptionDestination
      from ._models_py3 import IdentityInfo
      from ._models_py3 import InboundIpRule
      from ._models_py3 import InputSchemaMapping
      from ._models_py3 import IsNotNullAdvancedFilter
      from ._models_py3 import IsNullOrUndefinedAdvancedFilter
      from ._models_py3 import JsonField
      from ._models_py3 import JsonFieldWithDefault
      from ._models_py3 import JsonInputSchemaMapping
      from ._models_py3 import NumberGreaterThanAdvancedFilter
      from ._models_py3 import NumberGreaterThanOrEqualsAdvancedFilter
      from ._models_py3 import NumberInAdvancedFilter
      from ._models_py3 import NumberInRangeAdvancedFilter
      from ._models_py3 import NumberLessThanAdvancedFilter
      from ._models_py3 import NumberLessThanOrEqualsAdvancedFilter
      from ._models_py3 import NumberNotInAdvancedFilter
      from ._models_py3 import NumberNotInRangeAdvancedFilter
      from ._models_py3 import Operation
      from ._models_py3 import OperationInfo
      from ._models_py3 import PartnerNamespace
      from ._models_py3 import PartnerNamespaceRegenerateKeyRequest
      from ._models_py3 import PartnerNamespaceSharedAccessKeys
      from ._models_py3 import PartnerNamespaceUpdateParameters
      from ._models_py3 import PartnerRegistration
      from ._models_py3 import PartnerRegistrationEventTypesListResult
      from ._models_py3 import PartnerRegistrationUpdateParameters
      from ._models_py3 import PartnerTopic
      from ._models_py3 import PartnerTopicType
      from ._models_py3 import PartnerTopicTypesListResult
      from ._models_py3 import PartnerTopicUpdateParameters
      from ._models_py3 import PrivateEndpoint
      from ._models_py3 import PrivateEndpointConnection
      from ._models_py3 import PrivateLinkResource
      from ._models_py3 import Resource
      from ._models_py3 import ResourceSku
      from ._models_py3 import RetryPolicy
      from ._models_py3 import ServiceBusQueueEventSubscriptionDestination
      from ._models_py3 import ServiceBusTopicEventSubscriptionDestination
      from ._models_py3 import StaticDeliveryAttributeMapping
      from ._models_py3 import StorageBlobDeadLetterDestination
      from ._models_py3 import StorageQueueEventSubscriptionDestination
      from ._models_py3 import StringBeginsWithAdvancedFilter
      from ._models_py3 import StringContainsAdvancedFilter
      from ._models_py3 import StringEndsWithAdvancedFilter
      from ._models_py3 import StringInAdvancedFilter
      from ._models_py3 import StringNotBeginsWithAdvancedFilter
      from ._models_py3 import StringNotContainsAdvancedFilter
      from ._models_py3 import StringNotEndsWithAdvancedFilter
      from ._models_py3 import StringNotInAdvancedFilter
      from ._models_py3 import SystemData
      from ._models_py3 import SystemTopic
      from ._models_py3 import SystemTopicUpdateParameters
      from ._models_py3 import Topic
      from ._models_py3 import TopicRegenerateKeyRequest
      from ._models_py3 import TopicSharedAccessKeys
      from ._models_py3 import TopicTypeInfo
      from ._models_py3 import TopicUpdateParameters
      from ._models_py3 import TrackedResource
      from ._models_py3 import UserIdentityProperties
      from ._models_py3 import WebHookEventSubscriptionDestination
  except (SyntaxError, ImportError):
      from ._models import AdvancedFilter
      from ._models import AzureFunctionEventSubscriptionDestination
      from ._models import BoolEqualsAdvancedFilter
      from ._models import ConnectionState
      from ._models import DeadLetterDestination
      from ._models import DeadLetterWithResourceIdentity
      from ._models import DeliveryAttributeListResult
      from ._models import DeliveryAttributeMapping
      from ._models import DeliveryWithResourceIdentity
      from ._models import Domain
      from ._models import DomainRegenerateKeyRequest
      from ._models import DomainSharedAccessKeys
      from ._models import DomainTopic
      from ._models import DomainUpdateParameters
      from ._models import DynamicDeliveryAttributeMapping
      from ._models import EventChannel
      from ._models import EventChannelDestination
      from ._models import EventChannelFilter
      from ._models import EventChannelSource
      from ._models import EventHubEventSubscriptionDestination
      from ._models import EventSubscription
      from ._models import EventSubscriptionDestination
      from ._models import EventSubscriptionFilter
      from ._models import EventSubscriptionFullUrl
      from ._models import EventSubscriptionIdentity
      from ._models import EventSubscriptionUpdateParameters
      from ._models import EventType
      from ._models import ExtendedLocation
      from ._models import ExtensionTopic
      from ._models import HybridConnectionEventSubscriptionDestination
      from ._models import IdentityInfo
      from ._models import InboundIpRule
      from ._models import InputSchemaMapping
      from ._models import IsNotNullAdvancedFilter
      from ._models import IsNullOrUndefinedAdvancedFilter
      from ._models import JsonField
      from ._models import JsonFieldWithDefault
      from ._models import JsonInputSchemaMapping
      from ._models import NumberGreaterThanAdvancedFilter
      from ._models import NumberGreaterThanOrEqualsAdvancedFilter
      from ._models import NumberInAdvancedFilter
      from ._models import NumberInRangeAdvancedFilter
      from ._models import NumberLessThanAdvancedFilter
      from ._models import NumberLessThanOrEqualsAdvancedFilter
      from ._models import NumberNotInAdvancedFilter
      from ._models import NumberNotInRangeAdvancedFilter
      from ._models import Operation
      from ._models import OperationInfo
      from ._models import PartnerNamespace
      from ._models import PartnerNamespaceRegenerateKeyRequest
      from ._models import PartnerNamespaceSharedAccessKeys
      from ._models import PartnerNamespaceUpdateParameters
      from ._models import PartnerRegistration
      from ._models import PartnerRegistrationEventTypesListResult
      from ._models import PartnerRegistrationUpdateParameters
      from ._models import PartnerTopic
      from ._models import PartnerTopicType
      from ._models import PartnerTopicTypesListResult
      from ._models import PartnerTopicUpdateParameters
      from ._models import PrivateEndpoint
      from ._models import PrivateEndpointConnection
      from ._models import PrivateLinkResource
      from ._models import Resource
      from ._models import ResourceSku
      from ._models import RetryPolicy
      from ._models import ServiceBusQueueEventSubscriptionDestination
      from ._models import ServiceBusTopicEventSubscriptionDestination
      from ._models import StaticDeliveryAttributeMapping
      from ._models import StorageBlobDeadLetterDestination
      from ._models import StorageQueueEventSubscriptionDestination
      from ._models import StringBeginsWithAdvancedFilter
      from ._models import StringContainsAdvancedFilter
      from ._models import StringEndsWithAdvancedFilter
      from ._models import StringInAdvancedFilter
      from ._models import StringNotBeginsWithAdvancedFilter
      from ._models import StringNotContainsAdvancedFilter
      from ._models import StringNotEndsWithAdvancedFilter
      from ._models import StringNotInAdvancedFilter
      from ._models import SystemData
      from ._models import SystemTopic
      from ._models import SystemTopicUpdateParameters
      from ._models import Topic
      from ._models import TopicRegenerateKeyRequest
      from ._models import TopicSharedAccessKeys
      from ._models import TopicTypeInfo
      from ._models import TopicUpdateParameters
      from ._models import TrackedResource
      from ._models import UserIdentityProperties
      from ._models import WebHookEventSubscriptionDestination
  from ._paged_models import DomainPaged
  from ._paged_models import DomainTopicPaged
  from ._paged_models import EventChannelPaged
  from ._paged_models import EventSubscriptionPaged
  from ._paged_models import EventTypePaged
  from ._paged_models import OperationPaged
  from ._paged_models import PartnerNamespacePaged
  from ._paged_models import PartnerRegistrationPaged
  from ._paged_models import PartnerTopicPaged
  from ._paged_models import PrivateEndpointConnectionPaged
  from ._paged_models import PrivateLinkResourcePaged
  from ._paged_models import SystemTopicPaged
  from ._paged_models import TopicPaged
  from ._paged_models import TopicTypeInfoPaged
  from ._event_grid_management_client_enums import (
      PersistedConnectionStatus,
      ResourceProvisioningState,
      DomainProvisioningState,
      InputSchema,
      PublicNetworkAccess,
      IpActionType,
      Sku,
      IdentityType,
      CreatedByType,
      DomainTopicProvisioningState,
      EventChannelProvisioningState,
      PartnerTopicReadinessState,
      EventSubscriptionProvisioningState,
      EventSubscriptionIdentityType,
      EventDeliverySchema,
      PartnerNamespaceProvisioningState,
      PartnerRegistrationProvisioningState,
      PartnerRegistrationVisibilityState,
      PartnerTopicProvisioningState,
      PartnerTopicActivationState,
      PartnerTopicTypeAuthorizationState,
      TopicProvisioningState,
      ResourceKind,
      ResourceRegionType,
      TopicTypeProvisioningState,
  )
  
  __all__ = [
      'AdvancedFilter',
      'AzureFunctionEventSubscriptionDestination',
      'BoolEqualsAdvancedFilter',
      'ConnectionState',
      'DeadLetterDestination',
      'DeadLetterWithResourceIdentity',
      'DeliveryAttributeListResult',
      'DeliveryAttributeMapping',
      'DeliveryWithResourceIdentity',
      'Domain',
      'DomainRegenerateKeyRequest',
      'DomainSharedAccessKeys',
      'DomainTopic',
      'DomainUpdateParameters',
      'DynamicDeliveryAttributeMapping',
      'EventChannel',
      'EventChannelDestination',
      'EventChannelFilter',
      'EventChannelSource',
      'EventHubEventSubscriptionDestination',
      'EventSubscription',
      'EventSubscriptionDestination',
      'EventSubscriptionFilter',
      'EventSubscriptionFullUrl',
      'EventSubscriptionIdentity',
      'EventSubscriptionUpdateParameters',
      'EventType',
      'ExtendedLocation',
      'ExtensionTopic',
      'HybridConnectionEventSubscriptionDestination',
      'IdentityInfo',
      'InboundIpRule',
      'InputSchemaMapping',
      'IsNotNullAdvancedFilter',
      'IsNullOrUndefinedAdvancedFilter',
      'JsonField',
      'JsonFieldWithDefault',
      'JsonInputSchemaMapping',
      'NumberGreaterThanAdvancedFilter',
      'NumberGreaterThanOrEqualsAdvancedFilter',
      'NumberInAdvancedFilter',
      'NumberInRangeAdvancedFilter',
      'NumberLessThanAdvancedFilter',
      'NumberLessThanOrEqualsAdvancedFilter',
      'NumberNotInAdvancedFilter',
      'NumberNotInRangeAdvancedFilter',
      'Operation',
      'OperationInfo',
      'PartnerNamespace',
      'PartnerNamespaceRegenerateKeyRequest',
      'PartnerNamespaceSharedAccessKeys',
      'PartnerNamespaceUpdateParameters',
      'PartnerRegistration',
      'PartnerRegistrationEventTypesListResult',
      'PartnerRegistrationUpdateParameters',
      'PartnerTopic',
      'PartnerTopicType',
      'PartnerTopicTypesListResult',
      'PartnerTopicUpdateParameters',
      'PrivateEndpoint',
      'PrivateEndpointConnection',
      'PrivateLinkResource',
      'Resource',
      'ResourceSku',
      'RetryPolicy',
      'ServiceBusQueueEventSubscriptionDestination',
      'ServiceBusTopicEventSubscriptionDestination',
      'StaticDeliveryAttributeMapping',
      'StorageBlobDeadLetterDestination',
      'StorageQueueEventSubscriptionDestination',
      'StringBeginsWithAdvancedFilter',
      'StringContainsAdvancedFilter',
      'StringEndsWithAdvancedFilter',
      'StringInAdvancedFilter',
      'StringNotBeginsWithAdvancedFilter',
      'StringNotContainsAdvancedFilter',
      'StringNotEndsWithAdvancedFilter',
      'StringNotInAdvancedFilter',
      'SystemData',
      'SystemTopic',
      'SystemTopicUpdateParameters',
      'Topic',
      'TopicRegenerateKeyRequest',
      'TopicSharedAccessKeys',
      'TopicTypeInfo',
      'TopicUpdateParameters',
      'TrackedResource',
      'UserIdentityProperties',
      'WebHookEventSubscriptionDestination',
      'DomainPaged',
      'DomainTopicPaged',
      'EventChannelPaged',
      'EventSubscriptionPaged',
      'OperationPaged',
      'PartnerNamespacePaged',
      'PartnerRegistrationPaged',
      'PartnerTopicPaged',
      'PrivateEndpointConnectionPaged',
      'PrivateLinkResourcePaged',
      'SystemTopicPaged',
      'TopicPaged',
      'EventTypePaged',
      'TopicTypeInfoPaged',
      'PersistedConnectionStatus',
      'ResourceProvisioningState',
      'DomainProvisioningState',
      'InputSchema',
      'PublicNetworkAccess',
      'IpActionType',
      'Sku',
      'IdentityType',
      'CreatedByType',
      'DomainTopicProvisioningState',
      'EventChannelProvisioningState',
      'PartnerTopicReadinessState',
      'EventSubscriptionProvisioningState',
      'EventSubscriptionIdentityType',
      'EventDeliverySchema',
      'PartnerNamespaceProvisioningState',
      'PartnerRegistrationProvisioningState',
      'PartnerRegistrationVisibilityState',
      'PartnerTopicProvisioningState',
      'PartnerTopicActivationState',
      'PartnerTopicTypeAuthorizationState',
      'TopicProvisioningState',
      'ResourceKind',
      'ResourceRegionType',
      'TopicTypeProvisioningState',
  ]
  