models_v2.netgroup_whitelist module

class models_v2.netgroup_whitelist.NetgroupWhitelist(nis_netgroups=None)[source]

Bases: object

Implementation of the ‘NetgroupWhitelist’ model.

Array of Netgroups. Specifies a list of netgroups with domains that have permissions to access the View. (Overrides or extends the Netgroup specified at the global Cohesity Cluster level.)

Attributes:

nis_netgroups (list of NisNetgroup): A list of NIS Netgroups.

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.