models_v2.common_source_registration_reponse_params module

class models_v2.common_source_registration_reponse_params.CommonSourceRegistrationReponseParams(id=None, source_id=None, environment=None)[source]

Bases: object

Implementation of the ‘CommonSourceRegistrationReponseParams’ model.

Specifies the parameters which are common between all Protection Source registrations.

Attributes:
id (long|int): Source Registration ID. This can be used to retrieve,

edit or delete the source registration.

source_id (long|int): ID of top level source object discovered after

the registration.

environment (Environment8Enum): Specifies the environment type of the

Protection Source.

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.