models.nfs_root_permissions module¶
-
class
models.nfs_root_permissions.
NfsRootPermissions
(gid=None, mode=None, uid=None)[source]¶ Bases:
object
Implementation of the ‘NfsRootPermissions’ model.
Specifies the config of NFS root permission of a view file system.
- Attributes:
gid (int): Unix GID for the root of the file system. mode (int): Unix mode bits for the root of the file system. uid (int): Unix UID for the root of the file system.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.