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 void
addHttpHeader(String key, String value)
boolean
equals(Object o)
Set<String>
getAuiFeatureIds()
String
getDescription()
String
getDisplayName()
List<io.jans.as.model.config.adminui.KeyValuePair>
getHttpHeaders()
String
getHttpMethod()
Map<String,Object>
getHttpRequestBody()
String
getHttpRequestBodyString()
String
getInum()
String
getUrl()
int
hashCode()
boolean
isJansEnabled()
void
setAuiFeatureIds(Set<String> auiFeatureIds)
void
setDescription(String description)
void
setDisplayName(String displayName)
void
setHttpHeaders(List<io.jans.as.model.config.adminui.KeyValuePair> httpHeaders)
void
setHttpMethod(String httpMethod)
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.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.void
setInum(String inum)
void
setJansEnabled(boolean jansEnabled)
void
setUrl(String url)
String
toString()
-
-
-
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:
equals
in classio.jans.orm.model.base.Entry
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.jans.orm.model.base.Entry
-
toString
public String toString()
- Overrides:
toString
in classio.jans.orm.model.base.Entry
-
-