A builder for UpdateDraftActionResponse
objects.
Methods
Method | Return type | Brief description |
---|---|---|
build() | UpdateDraftActionResponse | Builds the current update draft action response and validates it. |
setUpdateDraftBodyAction(updateDraftBodyAction) | UpdateDraftActionResponseBuilder | Set an action that updates the email body of a draft. |
Detailed documentation
build()
Builds the current update draft action response and validates it.
Return
UpdateDraftActionResponse
— A validated draft action response.
Throws
Error
— if the constructed UpdateDraftActionResponse isn't valid.
setUpdateDraftBodyAction(updateDraftBodyAction)
Set an action that updates the email body of a draft.
Parameters
Name | Type | Description |
---|---|---|
updateDraftBodyAction | UpdateDraftBodyAction | The action that updates the draft body. |
Return
UpdateDraftActionResponseBuilder
— This object, for chaining.