UserRolesResource class

Constructors

UserRolesResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String profileId, String id, {String? $fields}) Future<void>
Deletes an existing user role.
get(String profileId, String id, {String? $fields}) Future<UserRole>
Gets one user role by ID.
insert(UserRole request, String profileId, {String? $fields}) Future<UserRole>
Inserts a new user role.
list(String profileId, {bool? accountUserRoleOnly, List<String>? ids, int? maxResults, String? pageToken, String? searchString, String? sortField, String? sortOrder, String? subaccountId, String? $fields}) Future<UserRolesListResponse>
Retrieves a list of user roles, possibly filtered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(UserRole request, String profileId, String id, {String? $fields}) Future<UserRole>
Updates an existing user role.
toString() String
A string representation of this object.
inherited
update(UserRole request, String profileId, {String? $fields}) Future<UserRole>
Updates an existing user role.

Operators

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