OperationBuilder
A builder for operations.
Method Summary
Public Methods | ||
public |
|
|
public |
header(name: string, value: boolean | int | string): OperationBuilder Add a header to the operation |
|
public |
param(name: string, value: boolean | int | string): OperationBuilder Add a parameter to the operation |
|
public |
payload(payload: ModelNode): OperationBuilder Uses the specified payload for the operation. |
Public Methods
public header(name: string, value: boolean | int | string): OperationBuilder source
Add a header to the operation
public param(name: string, value: boolean | int | string): OperationBuilder source
Add a parameter to the operation
public payload(payload: ModelNode): OperationBuilder source
Uses the specified payload for the operation.
Params:
Name | Type | Attribute | Description |
payload | ModelNode | The operation as model node. |