/
model_cifs_share_acl.go
21 lines (19 loc) · 1.81 KB
/
model_cifs_share_acl.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* ONTAP REST API
*
* ONTAP 9.6 adds support for an expansive RESTful API. The documentation below provides information about the types of API calls available to you, as well as details about using each API endpoint. You can learn more about the ONTAP REST API and ONTAP in the ONTAP 9 Documentation Center: http://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-rest-api/home.html. NetApp welcomes your comments and suggestions about the ONTAP REST API and the documentation for its use.</br> **Using the ONTAP 9.6 REST API online documentation** Each API method includes usage examples, as well as a model that displays all the required and optional properties supported by the method. Click the _Model_ link, available with each API method, to see all the required and optional properties supported by each method.
*
* API version: v1
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package swagger
// The permissions that users and groups have on a CIFS share.
type CifsShareAcl struct {
Links *InlineResponse201Links `json:"_links,omitempty"`
// Specifies the access rights that a user or group has on the defined CIFS Share. The following values are allowed: * no_access - User does not have CIFS share access * read - User has only read access * change - User has change access * full_control - User has full_control access
Permission string `json:"permission,omitempty"`
// Specifies the type of the user or group to add to the access control list of a CIFS share. The following values are allowed: * windows - Windows user or group * unix_user - UNIX user * unix_group - UNIX group
Type_ string `json:"type,omitempty"`
// Specifies the user or group name to add to the access control list of a CIFS share.
UserOrGroup string `json:"user_or_group,omitempty"`
}