models.nis_netgroup module

class models.nis_netgroup.NisNetgroup(description=None, domain=None, name=None, nfs_access=None, nfs_squash=None)[source]

Bases: object

Implementation of the ‘NisNetgroup’ model.

Defines an NIS Netgroup.

Attributes:

description (string): Description of the netgroup. domain (string): Specifies the domain of the netgroup. name (string): Specifies the name of the netgroup. nfs_access (NfsAccessEnum): Specifies whether clients from this

netgroup can mount using NFS protocol. Protocol access level. ‘kDisabled’ indicates Protocol access level ‘Disabled’ ‘kReadOnly’ indicates Protocol access level ‘ReadOnly’ ‘kReadWrite’ indicates Protocol access level ‘ReadWrite’

nfs_squash (int): Specifies the NFS squash type.

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.