toggle menu
lib
common
switch theme
search in API
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
url
Link copied to clipboard
val
url
:
String