Skip to content

[I] SdkEndpointParameter

Endpoint parameter type for the client.

PropertyTypeDescriptionOverridesInherited from
__raw?ModelProperty--SdkModelPropertyTypeBase.__raw
accessAccessFlagsWhether the type has public or private accessibility-SdkModelPropertyTypeBase.access
apiVersionsstring[]API versions supported for current type.-SdkModelPropertyTypeBase.apiVersions
clientDefaultValue?unknownClient level default value for the type.-SdkModelPropertyTypeBase.clientDefaultValue
crossLanguageDefinitionIdstringUnique ID for the current type.-SdkModelPropertyTypeBase.crossLanguageDefinitionId
decoratorsDecoratorInfo[]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.-SdkModelPropertyTypeBase.decorators
doc?stringDocument for the type.-SdkModelPropertyTypeBase.doc
flattenbooleanWhether this property could be flattened-SdkModelPropertyTypeBase.flatten
isApiVersionParambooleanWhether the type is an API version parameter-SdkModelPropertyTypeBase.isApiVersionParam
isGeneratedNamebooleanWhether name is created by TCGC.-SdkModelPropertyTypeBase.isGeneratedName
kind"endpoint"---
namestringParameter client name.-SdkModelPropertyTypeBase.name
onClienttrueEndpoint parameter is always on client level.SdkModelPropertyTypeBase.onClient-
optionalbooleanWhether the type is optional.-SdkModelPropertyTypeBase.optional
serializedName?stringDeprecated This property is deprecated. Use type.templateArguments[x].serializedName or type.variantTypes[x].templateArguments[x].serializedName instead.--
summary?stringSummary for the type.-SdkModelPropertyTypeBase.summary
type| SdkEndpointType | SdkUnionType<SdkEndpointType>Parameter type.-SdkModelPropertyTypeBase.type
urlEncodebooleanWhether do url encode for the endpoint string.--
visibility?Visibility[]Visibility of the type.-SdkModelPropertyTypeBase.visibility