You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/models/Behavior.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@
26
26
*`description` (string): Description for this behavior.
27
27
*`value` (object): Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
28
28
*`disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
29
-
*`recursive` (boolean): Is behavior recursive?
29
+
*`recursive` (boolean): Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
30
30
*`attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
31
31
*`attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
32
32
@@ -101,7 +101,7 @@ await Behavior.create({
101
101
*`value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
102
102
*`attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
103
103
*`disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
104
-
*`recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
104
+
*`recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
105
105
*`name` (string): Name for this behavior.
106
106
*`description` (string): Description for this behavior.
107
107
*`path` (string): Required - Path where this behavior should apply.
@@ -154,7 +154,7 @@ await behavior.update({
154
154
*`value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
155
155
*`attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
156
156
*`disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
157
-
*`recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
157
+
*`recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
158
158
*`name` (string): Name for this behavior.
159
159
*`description` (string): Description for this behavior.
160
160
*`attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
// boolean # Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
// value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
114
114
// attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
115
115
// disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
116
-
// recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
116
+
// recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
117
117
// name - string - Name for this behavior.
118
118
// description - string - Description for this behavior.
119
119
// attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
@@ -444,7 +444,7 @@ _Behavior = Behavior;
444
444
// value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
445
445
// attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
446
446
// disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
447
-
// recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
447
+
// recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
448
448
// name - string - Name for this behavior.
449
449
// description - string - Description for this behavior.
450
450
// path (required) - string - Path where this behavior should apply.
// boolean # Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
88
88
getRecursive=()=>this.attributes.recursive
89
89
90
90
setRecursive=value=>{
@@ -109,7 +109,7 @@ class Behavior {
109
109
// value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
110
110
// attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
111
111
// disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
112
-
// recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
112
+
// recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
113
113
// name - string - Name for this behavior.
114
114
// description - string - Description for this behavior.
115
115
// attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
@@ -274,7 +274,7 @@ class Behavior {
274
274
// value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
275
275
// attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
276
276
// disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
277
-
// recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
277
+
// recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
278
278
// name - string - Name for this behavior.
279
279
// description - string - Description for this behavior.
280
280
// path (required) - string - Path where this behavior should apply.
0 commit comments