/
model_visit.go
39 lines (37 loc) · 1.64 KB
/
model_visit.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Fingerprint Pro Server API
*
* Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device.
*
* API version: 3
* Contact: support@fingerprint.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package sdk
import (
"time"
)
type Visit struct {
// Unique identifier of the user's identification request.
RequestId string `json:"requestId"`
BrowserDetails *BrowserDetails `json:"browserDetails"`
// Flag if user used incognito session.
Incognito bool `json:"incognito"`
Ip string `json:"ip"`
IpLocation *IpLocation `json:"ipLocation,omitempty"`
// Timestamp of the event with millisecond precision in Unix time.
Timestamp int64 `json:"timestamp"`
// Time expressed according to ISO 8601 in UTC format.
Time *time.Time `json:"time"`
// Page URL from which identification request was sent.
Url string `json:"url"`
// A customer-provided value or an object that was sent with identification request.
Tag ModelMap `json:"tag,omitempty"`
// A customer-provided id that was sent with identification request.
LinkedId string `json:"linkedId,omitempty"`
Confidence *Confidence `json:"confidence"`
// Attribute represents if a visitor had been identified before.
VisitorFound bool `json:"visitorFound"`
FirstSeenAt *SeenAt `json:"firstSeenAt"`
LastSeenAt *SeenAt `json:"lastSeenAt"`
}