Class UpdateDraftActionResponseBuilder

UpdateDraftActionResponseBuilder

A builder for UpdateDraftActionResponse objects.

Methods

MethodReturn typeBrief description
build()UpdateDraftActionResponseBuilds the current update draft action response and validates it.
setUpdateDraftBodyAction(updateDraftBodyAction)UpdateDraftActionResponseBuilderSet 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

NameTypeDescription
updateDraftBodyActionUpdateDraftBodyActionThe action that updates the draft body.

Return

UpdateDraftActionResponseBuilder — This object, for chaining.

Enviar comentarios sobre...

Si necesitas ayuda, visita nuestra página de asistencia.