[I] SdkBasicServiceMethod
Basic method.
Extends
Section titled “Extends”SdkServiceMethodBase<TServiceOperation>
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
TServiceOperation extends SdkServiceOperation |
Properties
Section titled “Properties”| Property | Type | Description | Inherited from |
|---|---|---|---|
__raw? | Operation | - | SdkServiceMethodBase.__raw |
access | AccessFlags | Whether the type has public or private accessibility | SdkServiceMethodBase.access |
apiVersions | string[] | API versions supported for current type. | SdkServiceMethodBase.apiVersions |
crossLanguageDefinitionId | string | Unique ID for the current type. | SdkServiceMethodBase.crossLanguageDefinitionId |
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. | SdkServiceMethodBase.decorators |
doc? | string | Document for the type. | SdkServiceMethodBase.doc |
exception? | SdkMethodResponse | Method’s error responses. | SdkServiceMethodBase.exception |
generateConvenient | boolean | Whether generate convenient API for this method. | SdkServiceMethodBase.generateConvenient |
generateProtocol | boolean | Whether generate protocol API for this method. | SdkServiceMethodBase.generateProtocol |
isOverride | boolean | Whether this method is overridded. | SdkServiceMethodBase.isOverride |
kind | "basic" | - | - |
name | string | - | SdkServiceMethodBase.name |
operation | TServiceOperation | Method’s underlying protocol operation. | SdkServiceMethodBase.operation |
parameters | SdkMethodParameter[] | Method’s parameters. | SdkServiceMethodBase.parameters |
response | SdkMethodResponse | Method’s normal responses. | SdkServiceMethodBase.response |
summary? | string | Summary for the type. | SdkServiceMethodBase.summary |