NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatChannelCategoryRole.h
浏览该文件的文档.
1//
2// NIMQChatChannelCategoryRole.h
3// NIMLib
4//
5// Created by Netease.
6// Copyright © 2022 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "NIMQChatDefs.h"
11
12NS_ASSUME_NONNULL_BEGIN
14@interface NIMQChatChannelCategoryRole : NSObject
15
16/**
17 * 服务器id
18 */
19@property (nonatomic, assign) unsigned long long serverId;
20/**
21 * 身份组id
22 */
23@property (nonatomic, assign) unsigned long long roleId;
24/**
25 * 继承服务器的身份组id
26 */
27@property (nonatomic, assign) unsigned long long parentRoleId;
28/**
29 * 分组id
30 */
31@property (nonatomic, assign) unsigned long long categoryId;
32/**
33 * 名称
34 */
35@property (nonnull, nonatomic, copy) NSString *name;
36/**
37 * 类型
38 */
39@property (nonatomic, assign) NIMQChatRoleType type;
40/**
41 * icon图
42 */
43@property (nonatomic, copy) NSString *icon;
44/**
45 * 自定义扩展
46 */
47@property (nonatomic, copy) NSString *ext;
48/**
49 * 该身份组各资源的权限状态
50 */
51@property (nonatomic, copy) NSArray <NIMQChatPermissionStatusInfo *> *auths;
52/**
53 * 创建时间
54 */
55@property (nonatomic, assign) NSTimeInterval createTime;
56/**
57 * 更新时间
58 */
59@property (nonatomic, assign) NSTimeInterval updateTime;
60
61@end
62
63NS_ASSUME_NONNULL_END
NIMQChatRoleType
Definition: NIMQChatDefs.h:264
Definition: NIMQChatChannelCategoryRole.h:15
NSString * icon
Definition: NIMQChatChannelCategoryRole.h:43
NSString * name
Definition: NIMQChatChannelCategoryRole.h:35
unsigned long long roleId
Definition: NIMQChatChannelCategoryRole.h:23
NSString * ext
Definition: NIMQChatChannelCategoryRole.h:47
unsigned long long categoryId
Definition: NIMQChatChannelCategoryRole.h:31
unsigned long long parentRoleId
Definition: NIMQChatChannelCategoryRole.h:27
NSTimeInterval createTime
Definition: NIMQChatChannelCategoryRole.h:55
NSArray< NIMQChatPermissionStatusInfo * > * auths
Definition: NIMQChatChannelCategoryRole.h:51
NSTimeInterval updateTime
Definition: NIMQChatChannelCategoryRole.h:59
NIMQChatRoleType type
Definition: NIMQChatChannelCategoryRole.h:39
unsigned long long serverId
Definition: NIMQChatChannelCategoryRole.h:19
Definition: NIMQChatPermissionStatusInfo.h:15