9#import <Foundation/Foundation.h>
11#import "EMCircleServerTag.h"
18typedef NS_ENUM(NSUInteger, EMCircleServerType) {
19 EMCircleServerTypePublic = 0,
20 EMCircleServerTypePrivate,
23NS_ASSUME_NONNULL_BEGIN
27- (instancetype)init NS_UNAVAILABLE;
28+ (instancetype)new NS_UNAVAILABLE;
30- (instancetype)initWithServerId:(NSString *)serverId name:(NSString *)name defaultChannelId:(NSString *)channelId;
35@property (nonatomic, assign) EMCircleServerType
type;
46@property (nonatomic, copy) NSString *
name;
51@property (nonatomic, copy, nullable) NSString *
icon;
56@property (nonatomic, copy, nullable) NSString *
background;
61@property (nonatomic, copy, nullable) NSString *
desc;
66@property (nonatomic, copy, nullable) NSString *
ext;
71@property (nonatomic, copy, nullable) NSString *
owner;
81@property (nonatomic, strong, nullable) NSArray<EMCircleServerTag *> *
tags;
Definition: EMCircleServer.h:26
NSArray< EMCircleServerTag * > * tags
Definition: EMCircleServer.h:81
NSString * desc
Definition: EMCircleServer.h:61
NSString * ext
Definition: EMCircleServer.h:66
NSString * owner
Definition: EMCircleServer.h:71
NSString * defaultChannelId
Definition: EMCircleServer.h:76
NSString * serverId
Definition: EMCircleServer.h:41
EMCircleServerType type
Definition: EMCircleServer.h:35
NSString * name
Definition: EMCircleServer.h:46
NSString * icon
Definition: EMCircleServer.h:51
NSString * background
Definition: EMCircleServer.h:56