models_v2.recover_ms_group_params module

class models_v2.recover_ms_group_params.RecoverMsGroupParams(ms_groups=None, restore_to_original=None, target_group=None, target_group_name=None, continue_on_error=None)[source]

Bases: object

Implementation of the ‘RecoverMsGroupParams’ model.

Specifies the parameters to recover Microsoft 365 Group.

Attributes:
ms_groups (list of MsGroupParam): Specifies a list of groups getting

restored.

restore_to_original (bool): Specifies whether or not all groups are

restored to original location.

target_group (string): Specifies target group nickname in case

restoreToOriginal is false. This needs to be specifid when restoreToOriginal is false.

target_group_name (string): Specifies target group name in case

restore_to_original is false. This needs to be specifid when restoreToOriginal is false. However, this will be ignored if restoring to alternate existing group (i.e. to a group the nickname of which is same as the one supplied by the end user).

continue_on_error (bool): Specifies whether to continue recovering

other MS groups if one of MS groups failed to recover. Default value is false.

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.