Represents a namespace in the package, containing all clients, operations, and types.
| Property | Type | Description | Inherited from |
|---|
__raw? | Namespace | - | - |
clients | SdkClientType<TServiceOperation>[] | Clients under this namespace. | - |
decorators | DecoratorInfo[] | Client types sourced from TypeSpec decorated types will have this generic decoratores list. Only decorators in allowed list will be included in this list. Language’s emitter could set additionalDecorators in the option when createSdkContext to extend the allowed list. | DecoratedType.decorators |
enums | SdkEnumType[] | Enumerations used in package under this namespace. | - |
fullName | string | Namespace full qualified name. | - |
models | SdkModelType[] | Models used in package under this namespace. | - |
name | string | Namespace name. | - |
namespaces | SdkNamespace<TServiceOperation>[] | Nested namespaces under this namespace. | - |
unions | ( | SdkNullableType | SdkUnionType<SdkType>)[] | Unions or nullable types used in package under this namespace. | - |