GroupMembership
public class GroupMembership : BoxModel
Membership of a group
-
Permissions of group membership
See moreDeclaration
Swift
public struct ConfigurablePermissions : BoxInnerModel
-
Box item type
Declaration
Swift
public var type: String
-
Declaration
Swift
public private(set) var rawData: [String : Any] { get }
-
The ID of the association between a user and a group.
Declaration
Swift
public let id: String
-
A user object associated with the group.
Declaration
Swift
public let user: User?
-
The group the user is associated with.
Declaration
Swift
public let group: Group?
-
The role of the user within the group. The default is
member
with an option foradmin
.Declaration
Swift
public let role: GroupRole?
-
Permissions of an individual group member.
Declaration
Swift
public let configurablePermissions: ConfigurablePermissions?
-
The date time this membership was created at.
Declaration
Swift
public let createdAt: Date?
-
The date time this membership was modified at.
Declaration
Swift
public let modifiedAt: Date?
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.