-
Notifications
You must be signed in to change notification settings - Fork 12
/
orphanupdaterequest.go
30 lines (22 loc) · 1.08 KB
/
orphanupdaterequest.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
package platformclientv2
import (
"time"
"encoding/json"
"strconv"
"strings"
)
// Orphanupdaterequest
type Orphanupdaterequest struct {
// ArchiveDate - The orphan recording's archive date. Must be greater than 1 day from now if set. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
ArchiveDate *time.Time `json:"archiveDate,omitempty"`
// DeleteDate - The orphan recording's delete date. Must be greater than archiveDate if set, otherwise one day from now. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
DeleteDate *time.Time `json:"deleteDate,omitempty"`
// ConversationId - A conversation Id that this orphan's recording is to be attached to. If not present, the conversationId will be deduced from the recording media.
ConversationId *string `json:"conversationId,omitempty"`
}
// String returns a JSON representation of the model
func (o *Orphanupdaterequest) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}