public class WebHookActivity extends ControlActivity
Constructor and Description |
---|
WebHookActivity() |
Modifier and Type | Method and Description |
---|---|
WebActivityAuthentication |
getAuthentication()
Get the authentication property: Authentication method used for calling the endpoint.
|
Object |
getBody()
Get the body property: Represents the payload that will be sent to the endpoint.
|
Object |
getHeaders()
Get the headers property: Represents the headers that will be sent to the request.
|
WebHookActivityMethod |
getMethod()
Get the method property: Rest API method for target endpoint.
|
Object |
getReportStatusOnCallBack()
Get the reportStatusOnCallBack property: When set to true, statusCode, output and error in callback request body
will be consumed by activity.
|
String |
getTimeout()
Get the timeout property: The timeout within which the webhook should be called back.
|
Object |
getUrl()
Get the url property: WebHook activity target endpoint and path.
|
WebHookActivity |
setAuthentication(WebActivityAuthentication authentication)
Set the authentication property: Authentication method used for calling the endpoint.
|
WebHookActivity |
setBody(Object body)
Set the body property: Represents the payload that will be sent to the endpoint.
|
WebHookActivity |
setHeaders(Object headers)
Set the headers property: Represents the headers that will be sent to the request.
|
WebHookActivity |
setMethod(WebHookActivityMethod method)
Set the method property: Rest API method for target endpoint.
|
WebHookActivity |
setReportStatusOnCallBack(Object reportStatusOnCallBack)
Set the reportStatusOnCallBack property: When set to true, statusCode, output and error in callback request body
will be consumed by activity.
|
WebHookActivity |
setTimeout(String timeout)
Set the timeout property: The timeout within which the webhook should be called back.
|
WebHookActivity |
setUrl(Object url)
Set the url property: WebHook activity target endpoint and path.
|
getAdditionalProperties, getDependsOn, getDescription, getName, getUserProperties, setAdditionalProperties, setDependsOn, setDescription, setName, setUserProperties
public WebHookActivityMethod getMethod()
public WebHookActivity setMethod(WebHookActivityMethod method)
method
- the method value to set.public Object getUrl()
public WebHookActivity setUrl(Object url)
url
- the url value to set.public String getTimeout()
public WebHookActivity setTimeout(String timeout)
timeout
- the timeout value to set.public Object getHeaders()
public WebHookActivity setHeaders(Object headers)
headers
- the headers value to set.public Object getBody()
public WebHookActivity setBody(Object body)
body
- the body value to set.public WebActivityAuthentication getAuthentication()
public WebHookActivity setAuthentication(WebActivityAuthentication authentication)
authentication
- the authentication value to set.public Object getReportStatusOnCallBack()
public WebHookActivity setReportStatusOnCallBack(Object reportStatusOnCallBack)
reportStatusOnCallBack
- the reportStatusOnCallBack value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.