Class WebhookEntry
- java.lang.Object
-
- io.jans.orm.model.base.Entry
-
- io.jans.ca.plugin.adminui.model.webhook.WebhookEntry
-
- All Implemented Interfaces:
Serializable,Cloneable
public class WebhookEntry extends io.jans.orm.model.base.Entry implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebhookEntry()WebhookEntry(WebhookEntry webhookEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHttpHeader(String key, String value)booleanequals(Object o)Set<String>getAuiFeatureIds()StringgetDescription()StringgetDisplayName()List<io.jans.as.model.config.adminui.KeyValuePair>getHttpHeaders()StringgetHttpMethod()Map<String,Object>getHttpRequestBody()StringgetHttpRequestBodyString()StringgetInum()StringgetUrl()inthashCode()booleanisJansEnabled()voidsetAuiFeatureIds(Set<String> auiFeatureIds)voidsetDescription(String description)voidsetDisplayName(String displayName)voidsetHttpHeaders(List<io.jans.as.model.config.adminui.KeyValuePair> httpHeaders)voidsetHttpMethod(String httpMethod)voidsetHttpRequestBody(Map<String,Object> httpRequestBody)The function `setHttpRequestBody` sets the HTTP request body as a map and converts it to a JSON string using a utility method.voidsetHttpRequestBodyString(String httpRequestBodyString)The function sets the HTTP request body string and converts it to a map if it is a valid JSON string.voidsetInum(String inum)voidsetJansEnabled(boolean jansEnabled)voidsetUrl(String url)StringtoString()
-
-
-
Constructor Detail
-
WebhookEntry
public WebhookEntry()
-
WebhookEntry
public WebhookEntry(WebhookEntry webhookEntry)
-
-
Method Detail
-
getHttpRequestBodyString
public String getHttpRequestBodyString()
-
setHttpRequestBodyString
public void setHttpRequestBodyString(String httpRequestBodyString)
The function sets the HTTP request body string and converts it to a map if it is a valid JSON string.- Parameters:
httpRequestBodyString- The `setHttpRequestBodyString` method takes a string `httpRequestBodyString` as a parameter. This method sets the `httpRequestBodyString` field of the class to the provided string. It also attempts to convert the string to a map if it is a valid JSON string using the `CommonUtils
-
getInum
public String getInum()
-
setInum
public void setInum(String inum)
-
getDisplayName
public String getDisplayName()
-
setDisplayName
public void setDisplayName(String displayName)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getHttpMethod
public String getHttpMethod()
-
setHttpMethod
public void setHttpMethod(String httpMethod)
-
isJansEnabled
public boolean isJansEnabled()
-
setJansEnabled
public void setJansEnabled(boolean jansEnabled)
-
getHttpHeaders
public List<io.jans.as.model.config.adminui.KeyValuePair> getHttpHeaders()
-
setHttpHeaders
public void setHttpHeaders(List<io.jans.as.model.config.adminui.KeyValuePair> httpHeaders)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
setHttpRequestBody
public void setHttpRequestBody(Map<String,Object> httpRequestBody)
The function `setHttpRequestBody` sets the HTTP request body as a map and converts it to a JSON string using a utility method.- Parameters:
httpRequestBody- A map containing key-value pairs representing the HTTP request body.
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classio.jans.orm.model.base.Entry
-
hashCode
public int hashCode()
- Overrides:
hashCodein classio.jans.orm.model.base.Entry
-
toString
public String toString()
- Overrides:
toStringin classio.jans.orm.model.base.Entry
-
-