models.smb_connection module¶
-
class
models.smb_connection.
SmbConnection
(client_ip=None, domain_name=None, node_ip=None, path=None, server_ip=None, session_id=None, sids=None, user_name=None, view_id=None, view_name=None)[source]¶ Bases:
object
Implementation of the ‘SmbConnection’ model.
TODO: type model description here.
- Attributes:
- client_ip (string): Specifies the Client IP address of the
connection.
domain_name (string): Domain name of the corresponding user. node_ip (string): Specifies a Node IP address where the connection
request is received.
path (string): Mount path. server_ip (string): Specifies the Server IP address of the connection.
This could be a VIP, VLAN IP, or node IP on the Cluster.
session_id (long|int): Session id. sids (list of string): List of SIDs in the SMB session token. user_name (string): User name used to login for this session. view_id (long|int): Specifies the id of the view. view_name (string): Specifies the name of the view.
-
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.