Policy class abstract
Policy
Properties:
- resources - An object containing the type and the unique identifier of the user of the component. For Onboarding components, this is the ID of the legal entity that has a contractual relationship with your platform. For sole proprietorships, use the ID of the legal entity of the individual owner. For Platform Experience components, this is the ID of the account holder that is associated with the balance account shown in the component.
- roles - The name of the role required to use the component.
- Annotations
-
- @BuiltValue.new()
Constructors
- Policy([void updates(PolicyBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
resources
→ BuiltSet<
Resource> ? -
An object containing the type and the unique identifier of the user of the component. For Onboarding components, this is the ID of the legal entity that has a contractual relationship with your platform. For sole proprietorships, use the ID of the legal entity of the individual owner. For Platform Experience components, this is the ID of the account holder that is associated with the balance account shown in the component.
no setter
-
roles
→ BuiltSet<
String> ? -
The name of the role required to use the component.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(PolicyBuilder)) → Policy -
Rebuilds the instance.
inherited
-
toBuilder(
) → PolicyBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Policy> -
no setter