Class APILog
java.lang.Object
com.kingsrook.qqq.backend.core.model.data.QRecordEntity
com.kingsrook.qqq.api.model.APILog
In addition to the standard/known fields in this entity, you can also add
name/value pairs of security key values - e.g., a clientId field
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for apiLogUserIdgetId()
Getter for idGetter for methodgetPath()
Getter for pathGetter for queryStringGetter for requestBodyGetter for responseBodyGetter for securityKeyValuesGetter for statusCodeGetter for timestampGetter for versionvoid
setApiLogUserId
(Integer apiLogUserId) Setter for apiLogUserIdvoid
Setter for idvoid
Setter for methodvoid
Setter for pathvoid
setQueryString
(String queryString) Setter for queryStringvoid
setRequestBody
(String requestBody) Setter for requestBodyvoid
setResponseBody
(String responseBody) Setter for responseBodyvoid
setSecurityKeyValues
(Map<String, Serializable> securityKeyValues) Setter for securityKeyValuesvoid
setStatusCode
(Integer statusCode) Setter for statusCodevoid
setTimestamp
(Instant timestamp) Setter for timestampvoid
setVersion
(String version) Setter for versionConvert this entity to a QRecord.withApiLogUserId
(Integer apiLogUserId) Fluent setter for apiLogUserIdFluent setter for idwithMethod
(String method) Fluent setter for methodFluent setter for pathwithQueryString
(String queryString) Fluent setter for queryStringwithRequestBody
(String requestBody) Fluent setter for requestBodywithResponseBody
(String responseBody) Fluent setter for responseBodywithSecurityKeyValue
(String key, Serializable value) Fluent setter for securityKeyValueswithSecurityKeyValues
(Map<String, Serializable> securityKeyValues) Fluent setter for securityKeyValueswithStatusCode
(Integer statusCode) Fluent setter for statusCodewithTimestamp
(Instant timestamp) Fluent setter for timestampwithVersion
(String version) Fluent setter for versionMethods inherited from class com.kingsrook.qqq.backend.core.model.data.QRecordEntity
fromQRecord, fromQRecord, getAnnotationOnField, getAssociationList, getFieldList, getFieldNameFromGetter, getQAssociationAnnotation, getQFieldAnnotation, getQIgnoreAnnotation, getTableName, populateFromQRecord, populateFromQRecord, registerTable, tableName, toQRecordOnlyChangedFields, toQRecordOnlyChangedFields
-
Field Details
-
TABLE_NAME
- See Also:
-
-
Constructor Details
-
APILog
public APILog()Constructor -
APILog
-
-
Method Details
-
toQRecord
Description copied from class:QRecordEntity
Convert this entity to a QRecord. ALL fields in the entity will be set in the QRecord. Note that, if you're using this for an input to the UpdateAction, that this could cause values to be set to null, e.g., if you constructed a entity from scratch, and didn't set all values in it!!- Overrides:
toQRecord
in classQRecordEntity
- Throws:
QRuntimeException
-
getId
Getter for id -
setId
Setter for id -
withId
-
getTimestamp
Getter for timestamp -
setTimestamp
Setter for timestamp -
withTimestamp
-
getMethod
Getter for method -
setMethod
Setter for method -
withMethod
-
getStatusCode
Getter for statusCode -
setStatusCode
Setter for statusCode -
withStatusCode
-
getVersion
Getter for version -
setVersion
Setter for version -
withVersion
-
getPath
Getter for path -
setPath
Setter for path -
withPath
-
getQueryString
Getter for queryString -
setQueryString
Setter for queryString -
withQueryString
-
getRequestBody
Getter for requestBody -
setRequestBody
Setter for requestBody -
withRequestBody
-
getResponseBody
Getter for responseBody -
setResponseBody
Setter for responseBody -
withResponseBody
-
getSecurityKeyValues
Getter for securityKeyValues -
setSecurityKeyValues
Setter for securityKeyValues -
withSecurityKeyValues
Fluent setter for securityKeyValues -
withSecurityKeyValue
Fluent setter for securityKeyValues -
getApiLogUserId
Getter for apiLogUserId -
setApiLogUserId
Setter for apiLogUserId -
withApiLogUserId
-