/
smb_settings_share_extended.go
98 lines (68 loc) · 3.37 KB
/
smb_settings_share_extended.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
type SmbSettingsShareExtended struct {
// Only enumerate files and folders the requesting user has access to.
AccessBasedEnumeration bool `json:"access_based_enumeration,omitempty"`
// Access-based enumeration on only the root directory of the share.
AccessBasedEnumerationRootOnly bool `json:"access_based_enumeration_root_only,omitempty"`
// Allow deletion of read-only files in the share.
AllowDeleteReadonly bool `json:"allow_delete_readonly,omitempty"`
// Allows users to execute files they have read rights for.
AllowExecuteAlways bool `json:"allow_execute_always,omitempty"`
// Persistent open timeout for the share.
CaTimeout int32 `json:"ca_timeout,omitempty"`
// Specify the level of write-integrity on continuously available shares.
CaWriteIntegrity string `json:"ca_write_integrity,omitempty"`
// Specify level of change notification alerts on the share.
ChangeNotify string `json:"change_notify,omitempty"`
// Set the create permissions for new files and directories in share.
CreatePermissions string `json:"create_permissions,omitempty"`
// Client-side caching policy for the shares.
CscPolicy string `json:"csc_policy,omitempty"`
// Unix umask or mode bits.
DirectoryCreateMask int32 `json:"directory_create_mask,omitempty"`
// Unix umask or mode bits.
DirectoryCreateMode int32 `json:"directory_create_mode,omitempty"`
// Unix umask or mode bits.
FileCreateMask int32 `json:"file_create_mask,omitempty"`
// Unix umask or mode bits.
FileCreateMode int32 `json:"file_create_mode,omitempty"`
// Specifies the list of file extensions.
FileFilterExtensions []string `json:"file_filter_extensions,omitempty"`
// Specifies if filter list is for deny or allow. Default is deny.
FileFilterType string `json:"file_filter_type,omitempty"`
// Enables file filtering on the share.
FileFilteringEnabled bool `json:"file_filtering_enabled,omitempty"`
// Hide files and directories that begin with a period '.'.
HideDotFiles bool `json:"hide_dot_files,omitempty"`
// An ACL expressing which hosts are allowed access. A deny clause must be the final entry.
HostAcl []string `json:"host_acl,omitempty"`
// Specify the condition in which user access is done as the guest account.
ImpersonateGuest string `json:"impersonate_guest,omitempty"`
// User account to be used as guest account.
ImpersonateUser string `json:"impersonate_user,omitempty"`
// Specifies the wchar_t starting point for automatic byte mangling.
MangleByteStart int32 `json:"mangle_byte_start,omitempty"`
// Character mangle map.
MangleMap []string `json:"mangle_map,omitempty"`
// Support NTFS ACLs on files and directories.
NtfsAclSupport bool `json:"ntfs_acl_support,omitempty"`
// Allow oplock requests.
Oplocks bool `json:"oplocks,omitempty"`
// Specifies if persistent opens would do strict lockout on the share.
StrictCaLockout bool `json:"strict_ca_lockout,omitempty"`
// Handle SMB flush operations.
StrictFlush bool `json:"strict_flush,omitempty"`
// Specifies whether byte range locks contend against SMB I/O.
StrictLocking bool `json:"strict_locking,omitempty"`
// Name of the access zone in which to update settings
Zone string `json:"zone,omitempty"`
}