models_v2.kubernetes_protection_group_params module

class models_v2.kubernetes_protection_group_params.KubernetesProtectionGroupParams(objects=None, exclude_object_ids=None, source_id=None, source_name=None)[source]

Bases: object

Implementation of the ‘KubernetesProtectionGroupParams’ model.

Specifies the parameters which are related to Kubernetes Protection Groups.

Attributes:
objects (list of KubernetesProtectionGroupObjectParams): Specifies the

objects included in the Protection Group.

exclude_object_ids (list of long|int): Specifies the objects to be

excluded in the Protection Group.

source_id (long|int): Specifies the id of the parent of the objects. source_name (string): Specifies the name of the parent of the

objects.

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.