lib
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
lib
mockzilla-common
/
com.apadmi.mockzilla.lib.internal.models
/
LogEvent
Log
Event
@
Serializable
data
class
LogEvent
(
val
timestamp
:
Long
,
val
url
:
String
,
val
requestBody
:
String
,
val
requestHeaders
:
Map
<
String
,
String
>
,
val
responseHeaders
:
Map
<
String
,
String
>
,
val
responseBody
:
String
,
val
status
:
HttpStatusCode
,
val
delay
:
Long
,
val
method
:
String
,
val
isIntendedFailure
:
Boolean
)
Members
Constructors
Log
Event
Link copied to clipboard
constructor
(
timestamp
:
Long
,
url
:
String
,
requestBody
:
String
,
requestHeaders
:
Map
<
String
,
String
>
,
responseHeaders
:
Map
<
String
,
String
>
,
responseBody
:
String
,
status
:
HttpStatusCode
,
delay
:
Long
,
method
:
String
,
isIntendedFailure
:
Boolean
)
Properties
delay
Link copied to clipboard
val
delay
:
Long
is
Intended
Failure
Link copied to clipboard
val
isIntendedFailure
:
Boolean
method
Link copied to clipboard
val
method
:
String
request
Body
Link copied to clipboard
val
requestBody
:
String
request
Headers
Link copied to clipboard
val
requestHeaders
:
Map
<
String
,
String
>
response
Body
Link copied to clipboard
val
responseBody
:
String
response
Headers
Link copied to clipboard
val
responseHeaders
:
Map
<
String
,
String
>
status
Link copied to clipboard
@
Serializable
(
with
=
HttpStatusCodeSerializer::class
)
val
status
:
HttpStatusCode
timestamp
Link copied to clipboard
val
timestamp
:
Long
milliseconds from 1st Jan 1970 epoch
url
Link copied to clipboard
val
url
:
String