-
Notifications
You must be signed in to change notification settings - Fork 13
/
botconnectorbot.go
41 lines (27 loc) · 1.11 KB
/
botconnectorbot.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
package platformclientv2
import (
"encoding/json"
"strconv"
"strings"
)
// Botconnectorbot - A botConnector Bot Instance
type Botconnectorbot struct {
// Id - The Botconnector Bot Id - this is configurable by the user when put
Id *string `json:"id,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Description - An optional description of the bot. This can be up to 256 characters long and must be comprised of displayable characters without leading or trailing whitespace
Description *string `json:"description,omitempty"`
// Versions - This bots versions, limit of 50 per bot
Versions *[]Botconnectorbotversion `json:"versions,omitempty"`
// BotCompositeTag - A system-generated string that contains metadata about this bot.
BotCompositeTag *string `json:"botCompositeTag,omitempty"`
// SelfUri - The URI for this object
SelfUri *string `json:"selfUri,omitempty"`
}
// String returns a JSON representation of the model
func (o *Botconnectorbot) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}