PermissionCheckResponse class

This object represents the response for the content permission check API. If the user or group does not have permissions, the following errors may be returned:

  • Group does not have permission to the space
  • Group does not have permission to the content
  • User is not allowed to use Confluence
  • User does not have permission to the space
  • User does not have permission to the content
  • Anonymous users are not allowed to use Confluence
  • Anonymous user does not have permission to the space
  • Anonymous user does not have permission to the content

Constructors

PermissionCheckResponse({required bool hasPermission, List<Message>? errors, GenericLinks? links})
PermissionCheckResponse.fromJson(Map<String, Object?> json)
factory

Properties

errors List<Message>
final
hashCode int
The hash code for this object.
no setterinherited
hasPermission bool
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? hasPermission, List<Message>? errors, GenericLinks? links}) PermissionCheckResponse
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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