FieldRestriction Class

The restrictions on a field imposed by a specific policy.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
FieldRestriction

Constructor

FieldRestriction(**kwargs)

Variables

result
str or FieldRestrictionResult

The type of restriction that is imposed on the field. Possible values include: "Required", "Removed", "Deny".

default_value
str

The value that policy will set for the field if the user does not provide a value.

values
list[str]

The values that policy either requires or denies for the field.

policy
PolicyReference

The details of the policy that is causing the field restriction.