[I] SdkContext
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
TOptions extends object | Record<string, any> |
TServiceOperation extends SdkServiceOperation | SdkHttpOperation |
Properties
| Property | Type | Inherited from |
|---|---|---|
__clientToApiVersionClientDefaultValue | Map<Interface | Namespace, undefined | string> | TCGCContext.__clientToApiVersionClientDefaultValue |
__clientToParameters | Map<Interface | Namespace, SdkParameter<SdkType>[]> | TCGCContext.__clientToParameters |
__generatedNames? | Map<Model | Union | TspLiteralType, string> | TCGCContext.__generatedNames |
__httpOperationCache | Map<Operation, HttpOperation> | TCGCContext.__httpOperationCache |
__httpOperationExamples? | Map<HttpOperation, SdkHttpOperationExample[]> | TCGCContext.__httpOperationExamples |
__knownScalars? | Record<string, SdkBuiltInKinds> | TCGCContext.__knownScalars |
__modelPropertyCache | Map<ModelProperty, SdkModelPropertyType<SdkType>> | TCGCContext.__modelPropertyCache |
__mutatedGlobalNamespace? | Namespace | TCGCContext.__mutatedGlobalNamespace |
__originalProgram | Program | TCGCContext.__originalProgram |
__pagedResultSet | Set<SdkType> | TCGCContext.__pagedResultSet |
__rawClients? | SdkClient[] | TCGCContext.__rawClients |
__referencedTypeCache | Map<Type, | SdkNullableType | SdkEnumType | SdkModelType | SdkUnionType<SdkType>> | TCGCContext.__referencedTypeCache |
__tspTypeToApiVersions | Map<Type, string[]> | TCGCContext.__tspTypeToApiVersions |
apiVersion? | string | TCGCContext.apiVersion |
arm? | boolean | TCGCContext.arm |
decoratorsAllowList? | string[] | TCGCContext.decoratorsAllowList |
diagnostics | readonly Diagnostic[] | TCGCContext.diagnostics |
disableUsageAccessPropagationToBase | boolean | TCGCContext.disableUsageAccessPropagationToBase |
emitContext | EmitContext<TOptions> | - |
emitterName | string | TCGCContext.emitterName |
examplesDir? | string | TCGCContext.examplesDir |
flattenUnionAsEnum? | boolean | TCGCContext.flattenUnionAsEnum |
generateConvenienceMethods? | boolean | TCGCContext.generateConvenienceMethods |
generateProtocolMethods? | boolean | TCGCContext.generateProtocolMethods |
namespaceFlag? | string | TCGCContext.namespaceFlag |
packageName? | string | TCGCContext.packageName |
previewStringRegex | RegExp | TCGCContext.previewStringRegex |
program | Program | TCGCContext.program |
sdkPackage | SdkPackage<TServiceOperation> | - |
Methods
getMutatedGlobalNamespace()
getMutatedGlobalNamespace(): NamespaceReturns
Namespace