Skip to content

[I] SdkPackage

Represents a client package, containing all clients, operations, and types.

Type Parameter
TServiceOperation extends SdkServiceOperation
PropertyTypeDescription
clientsSdkClientType<TServiceOperation>[]First level clients of the package.
crossLanguagePackageIdstringUnique ID for the package.
enumsSdkEnumType[]All used enumerations in the package.
licenseInfo?LicenseInfoLicense details for client code comments or license file generation.
metadataobjectMetadata for the package.
metadata.apiVersion?stringDeprecated Use apiVersions instead. This property will be removed in a future release. The version of the package. If undefined, the package is not versioned. If all, the package is versioned with all versions. If a string, the package is versioned with the specified version.
metadata.apiVersions?Map<string, string>The version map of the package. Key is the service namespace full qualified name, value is the version. If value is undefined, the package is not versioned. If value is a string, the service is versioned with the specified version.
modelsSdkModelType[]All used models in the package.
namespacesSdkNamespace<TServiceOperation>[]Hierarchical structure for the package based on namespaces.
unions( | SdkNullableType | SdkUnionType<SdkType>)[]All used unions or nullable types in the package.