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/Group.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
"sftp_permission": true,
16
16
"dav_permission": true,
17
17
"restapi_permission": true,
18
+
"desktop_configuration_profile_id": 1,
18
19
"site_id": 1,
19
20
"workspace_id": 1
20
21
}
@@ -31,6 +32,7 @@
31
32
*`sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
32
33
*`dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
33
34
*`restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
35
+
*`desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
34
36
*`site_id` (int64): Site ID
35
37
*`workspace_id` (int64): Workspace ID
36
38
@@ -81,6 +83,7 @@ await Group.create({
81
83
'sftp_permission': true,
82
84
'dav_permission': true,
83
85
'restapi_permission': true,
86
+
'desktop_configuration_profile_id': 1,
84
87
'allowed_ips': "10.0.0.0/8\n127.0.0.1",
85
88
'name': "name",
86
89
'workspace_id': 0,
@@ -97,6 +100,7 @@ await Group.create({
97
100
*`sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
98
101
*`dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
99
102
*`restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
103
+
*`desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
100
104
*`allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
101
105
*`name` (string): Required - Group name.
102
106
*`workspace_id` (int64): Workspace ID
@@ -116,6 +120,7 @@ await group.update({
116
120
'sftp_permission': true,
117
121
'dav_permission': true,
118
122
'restapi_permission': true,
123
+
'desktop_configuration_profile_id': 1,
119
124
'allowed_ips': "10.0.0.0/8\n127.0.0.1",
120
125
'name': "owners",
121
126
})
@@ -131,6 +136,7 @@ await group.update({
131
136
*`sftp_permission` (boolean): If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
132
137
*`dav_permission` (boolean): If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
133
138
*`restapi_permission` (boolean): If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
139
+
*`desktop_configuration_profile_id` (int64): Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
134
140
*`allowed_ips` (string): A list of allowed IPs if applicable. Newline delimited
// int64 # Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
@@ -131,6 +138,7 @@ var Group = /*#__PURE__*/(0, _createClass2.default)(function Group() {
131
138
// sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
132
139
// dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
133
140
// restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
141
+
// desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
134
142
// allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
thrownewerrors.InvalidParameterError("Bad parameter: allowed_ips must be of type String, received ".concat((0,_utils.getType)(params.allowed_ips)));
193
+
thrownewerrors.InvalidParameterError("Bad parameter: desktop_configuration_profile_id must be of type Int, received ".concat((0,_utils.getType)(params.desktop_configuration_profile_id)));
// sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
425
439
// dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
426
440
// restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
441
+
// desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
427
442
// allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
428
443
// name (required) - string - Group name.
429
444
// workspace_id - int64 - Workspace ID
@@ -461,30 +476,36 @@ _Group = Group;
461
476
}
462
477
thrownewerrors.InvalidParameterError("Bad parameter: admin_ids must be of type String, received ".concat((0,_utils.getType)(params.admin_ids)));
thrownewerrors.InvalidParameterError("Bad parameter: allowed_ips must be of type String, received ".concat((0,_utils.getType)(params.allowed_ips)));
483
+
thrownewerrors.InvalidParameterError("Bad parameter: desktop_configuration_profile_id must be of type Int, received ".concat((0,_utils.getType)(params.desktop_configuration_profile_id)));
Copy file name to clipboardExpand all lines: src/models/Group.js
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,13 @@ class Group {
105
105
this.attributes.restapi_permission=value
106
106
}
107
107
108
+
// int64 # Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
// sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
128
135
// dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
129
136
// restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
137
+
// desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
130
138
// allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
131
139
// name - string - Group name.
132
140
update=async(params={})=>{
@@ -155,6 +163,10 @@ class Group {
155
163
thrownewerrors.InvalidParameterError(`Bad parameter: admin_ids must be of type String, received ${getType(params.admin_ids)}`)
thrownewerrors.InvalidParameterError(`Bad parameter: desktop_configuration_profile_id must be of type Int, received ${getType(params.desktop_configuration_profile_id)}`)
thrownewerrors.InvalidParameterError(`Bad parameter: allowed_ips must be of type String, received ${getType(params.allowed_ips)}`)
160
172
}
@@ -278,6 +290,7 @@ class Group {
278
290
// sftp_permission - boolean - If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
279
291
// dav_permission - boolean - If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
280
292
// restapi_permission - boolean - If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
293
+
// desktop_configuration_profile_id - int64 - Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
281
294
// allowed_ips - string - A list of allowed IPs if applicable. Newline delimited
282
295
// name (required) - string - Group name.
283
296
// workspace_id - int64 - Workspace ID
@@ -298,6 +311,10 @@ class Group {
298
311
thrownewerrors.InvalidParameterError(`Bad parameter: admin_ids must be of type String, received ${getType(params.admin_ids)}`)
thrownewerrors.InvalidParameterError(`Bad parameter: desktop_configuration_profile_id must be of type Int, received ${getType(params.desktop_configuration_profile_id)}`)
0 commit comments