models.cdp_io_filter_state module

class models.cdp_io_filter_state.CdpIoFilterState(error_message=None, filter_status=None, upgradability=None, version=None)[source]

Bases: object

Implementation of the ‘CdpIoFilterState’ model.

CdpIoFilterState specifies the current state of the CDP IO Filter for a single Protection Source.

Attributes:
error_message (string): Specifies the message of the error, which was

encountered duing the last upgrade. If this is specified, then it means that the last upgrade failed.

filter_status (string): Specifies the current status of the IO Filter.

See magneto/base/entities.proto > IgrOFilterState > FilterStatus

upgradability (string): Specifies the current upgradability status of

the IO Filter. See magneto/base/common.proto > Upgradability

version (string): Specifies the current version of the IO filter.

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.