forked from MyPureCloud/platform-client-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reportingexportjobrequest.go
89 lines (51 loc) · 3 KB
/
reportingexportjobrequest.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package platformclientv2
import (
"encoding/json"
"strconv"
"strings"
)
// Reportingexportjobrequest
type Reportingexportjobrequest struct {
// Name - The user supplied name of the export request
Name *string `json:"name,omitempty"`
// TimeZone - The requested timezone of the exported data. Time zones are represented as a string of the zone name as found in the IANA time zone database. For example: UTC, Etc/UTC, or Europe/London
TimeZone *string `json:"timeZone,omitempty"`
// ExportFormat - The requested format of the exported data
ExportFormat *string `json:"exportFormat,omitempty"`
// Interval - The time period used to limit the the exported data. 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"`
// Period - The Period of the request in which to break down the intervals. Periods are represented as an ISO-8601 string. For example: P1D or P1DT12H
Period *string `json:"period,omitempty"`
// ViewType - The type of view export job to be created
ViewType *string `json:"viewType,omitempty"`
// Filter - Filters to apply to create the view
Filter *Viewfilter `json:"filter,omitempty"`
// Read - Indicates if the request has been marked as read
Read *bool `json:"read,omitempty"`
// Locale - The locale use for localization of the exported data, i.e. en-us, es-mx
Locale *string `json:"locale,omitempty"`
// HasFormatDurations - Indicates if durations are formatted in hh:mm:ss format instead of ms
HasFormatDurations *bool `json:"hasFormatDurations,omitempty"`
// HasSplitFilters - Indicates if filters will be split in aggregate detail exports
HasSplitFilters *bool `json:"hasSplitFilters,omitempty"`
// ExcludeEmptyRows - Excludes empty rows from the exports
ExcludeEmptyRows *bool `json:"excludeEmptyRows,omitempty"`
// HasSplitByMedia - Indicates if media type will be split in aggregate detail exports
HasSplitByMedia *bool `json:"hasSplitByMedia,omitempty"`
// HasSummaryRow - Indicates if summary row needs to be present in exports
HasSummaryRow *bool `json:"hasSummaryRow,omitempty"`
// CsvDelimiter - The user supplied csv delimiter string value either of type 'comma' or 'semicolon' permitted for the export request
CsvDelimiter *string `json:"csvDelimiter,omitempty"`
// SelectedColumns - The list of ordered selected columns from the export view by the user
SelectedColumns *[]Selectedcolumns `json:"selectedColumns,omitempty"`
// HasCustomParticipantAttributes - Indicates if custom participant attributes will be exported
HasCustomParticipantAttributes *bool `json:"hasCustomParticipantAttributes,omitempty"`
// RecipientEmails - The list of email recipients for the exports
RecipientEmails *[]string `json:"recipientEmails,omitempty"`
}
// String returns a JSON representation of the model
func (o *Reportingexportjobrequest) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}