-
Notifications
You must be signed in to change notification settings - Fork 13
/
reportingexportjobresponse.go
138 lines (76 loc) · 4.54 KB
/
reportingexportjobresponse.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
package platformclientv2
import (
"time"
"encoding/json"
"strconv"
"strings"
)
// Reportingexportjobresponse
type Reportingexportjobresponse struct {
// Id - The globally unique identifier for the object.
Id *string `json:"id,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// RunId - The unique run id of the export schedule execute
RunId *string `json:"runId,omitempty"`
// Status - The current status of the export request
Status *string `json:"status,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"`
// DownloadUrl - The url to download the request if it's status is completed
DownloadUrl *string `json:"downloadUrl,omitempty"`
// ViewType - The type of view export job to be created
ViewType *string `json:"viewType,omitempty"`
// ExportErrorMessagesType - The error message in case the export request failed
ExportErrorMessagesType *string `json:"exportErrorMessagesType,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"`
// 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"`
// CreatedDateTime - The created date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// ModifiedDateTime - The last modified date/time of the request. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
ModifiedDateTime *time.Time `json:"modifiedDateTime,omitempty"`
// Locale - The locale use for localization of the exported data, i.e. en-us, es-mx
Locale *string `json:"locale,omitempty"`
// PercentageComplete - The percentage of the job that has completed processing
PercentageComplete *float64 `json:"percentageComplete,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"`
// EmailStatuses - The status of individual email addresses as a map
EmailStatuses *map[string]string `json:"emailStatuses,omitempty"`
// EmailErrorDescription - The optional error message in case the export fail to email
EmailErrorDescription *string `json:"emailErrorDescription,omitempty"`
// Enabled
Enabled *bool `json:"enabled,omitempty"`
// SelfUri - The URI for this object
SelfUri *string `json:"selfUri,omitempty"`
}
// String returns a JSON representation of the model
func (o *Reportingexportjobresponse) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}