ApprovalPolicy#

class ApprovalPolicy(name=None, description=None, approver_groups=None, secured_policies=None, last_updated_by=None, last_update_time=None, is_update_pending=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Specification of the configured approval policy.

Parameters:
  • name (required min=4 chars, max=199 chars) – (name) Name of the approval policy.

  • description (max=499 chars) – (description) Description of the approval policy.

  • approver_groups (required) – (approver_groups) List of approver sets.

  • secured_policies – (secured_policies) List of secured policies.

  • last_updated_by – (last_updated_by) The user who last updated the approval policy.

  • last_update_time – (last_update_time) The timestamp of the last update of the approval policy.

  • is_update_pending – (is_update_pending) Current update status of the approval request update.

property approver_groups#

List of approver sets.

Type:

list[ ApproverGroup ]

property description#

Description of the approval policy.

Type:

str

property is_update_pending#

Current update status of the approval request update.

Type:

bool

property last_update_time#

The timestamp of the last update of the approval policy.

Type:

datetime

property last_updated_by#

The user who last updated the approval policy.

Type:

str

property name#

Name of the approval policy.

Type:

str

property secured_policies#

List of secured policies.

Type:

list[ SecuredPolicy ]

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model