forked from MyPureCloud/platform-client-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
auditqueryrequest.go
33 lines (23 loc) · 871 Bytes
/
auditqueryrequest.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
package platformclientv2
import (
"encoding/json"
"strconv"
"strings"
)
// Auditqueryrequest
type Auditqueryrequest struct {
// Interval - Date and time range of data to query. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
Interval *string `json:"interval,omitempty"`
// ServiceName - Name of the service to query audits for.
ServiceName *string `json:"serviceName,omitempty"`
// Filters - Additional filters for the query.
Filters *[]Auditqueryfilter `json:"filters,omitempty"`
// Sort - Sort parameter for the query.
Sort *[]Auditquerysort `json:"sort,omitempty"`
}
// String returns a JSON representation of the model
func (o *Auditqueryrequest) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}