RoleSetMigration class

Constructors

RoleSetMigration({required RoleSetMigrationObjectEnum object, required String id, String? organizationId, required String instanceId, required String sourceRoleSetId, String? destRoleSetId, required String triggerType, required String status, required int migratedMembers, Map<String, String>? mappings = const {}, int? startedAt, int? completedAt, required int createdAt, required int updatedAt})
Returns a new RoleSetMigration instance.

Properties

completedAt int?
Unix timestamp when the migration completed
getter/setter pair
createdAt int
Unix timestamp of migration creation
getter/setter pair
destRoleSetId String?
The ID of the destination role set being migrated to
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
The unique identifier of the migration
getter/setter pair
instanceId String
The instance ID this migration belongs to
getter/setter pair
mappings Map<String, String>?
Role key mappings from source to destination roles
getter/setter pair
migratedMembers int
Number of members that have been migrated so far
getter/setter pair
object RoleSetMigrationObjectEnum
getter/setter pair
organizationId String?
The organization ID if the migration is scoped to a specific organization
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceRoleSetId String
The ID of the source role set being migrated from
getter/setter pair
startedAt int?
Unix timestamp when the migration started
getter/setter pair
status String
Current status of the migration (e.g., "enqueued", "in_progress", "completed")
getter/setter pair
triggerType String
What triggered this migration (e.g., "role_set_deletion", "role_removal")
getter/setter pair
updatedAt int
Unix timestamp of last migration update
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) RoleSetMigration?
Returns a new RoleSetMigration instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<RoleSetMigration>
mapFromJson(dynamic json) Map<String, RoleSetMigration>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<RoleSetMigration>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.