models.qo_s module¶
-
class
models.qo_s.
QoS
(principal_id=None, principal_name=None)[source]¶ Bases:
object
Implementation of the ‘QoS’ model.
Specifies the Quality of Service (QoS) Policy for the View.
- Attributes:
- principal_id (long|int): Specifies the name of the QoS Policy used for
the View.
- principal_name (string): Specifies the name of the QoS Policy used for
the View such as ‘TestAndDev High’, ‘Backup Target SSD’, ‘Backup Target High’ ‘TestAndDev Low’ and ‘Backup Target Low’. For a complete list and descriptions, see the ‘Create or Edit Views’ topic in the documentation. If not specified, the default is ‘Backup Target Low’.
-
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.