-
Notifications
You must be signed in to change notification settings - Fork 12
/
postactioninput.go
41 lines (27 loc) · 1.07 KB
/
postactioninput.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"
)
// Postactioninput - Definition of an Action to be created or updated.
type Postactioninput struct {
// Category - Category of action, Can be up to 256 characters long
Category *string `json:"category,omitempty"`
// Name - Name of action, Can be up to 256 characters long
Name *string `json:"name,omitempty"`
// IntegrationId - The ID of the integration this action is associated to
IntegrationId *string `json:"integrationId,omitempty"`
// Config - Configuration to support request and response processing
Config *Actionconfig `json:"config,omitempty"`
// Contract - Action contract
Contract *Actioncontractinput `json:"contract,omitempty"`
// Secure - Indication of whether or not the action is designed to accept sensitive data
Secure *bool `json:"secure,omitempty"`
}
// String returns a JSON representation of the model
func (o *Postactioninput) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}