forked from BranchMetrics/xcode-github
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathXGAStatusViewItem.h
More file actions
38 lines (28 loc) · 1.18 KB
/
XGAStatusViewItem.h
File metadata and controls
38 lines (28 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
@file XGAStatusViewItem.h
@package xcode-github-app
@brief The status view detail line.
@author Edward Smith
@date September 2018
@copyright Copyright © 2018 Branch. All rights reserved.
*/
#import <Foundation/Foundation.h>
#import <XcodeGitHub/XcodeGitHub.h>
NS_ASSUME_NONNULL_BEGIN
@interface XGAStatusViewItem : NSObject
@property (strong) NSString*_Nullable server;
@property (copy) NSString*_Nullable botName;
@property (strong) NSImage *_Nullable statusImage;
@property (strong) APFormattedString*_Nullable statusSummary;
@property (strong) APFormattedString*_Nullable statusDetail;
@property (copy) NSString*_Nullable repository;
@property (copy) NSString*_Nullable branchOrPRName;
@property (copy) NSString*_Nullable templateBotName;
@property (copy) NSNumber*_Nullable botIsFromTemplate;
+ (instancetype) newItemWithBot:(XGXcodeBot*)bot status:(XGXcodeBotStatus*)botStatus;
@property (strong, readonly) XGXcodeBot*_Nullable bot;
@property (strong, readonly) XGXcodeBotStatus*_Nullable botStatus;
@property (assign, readonly) BOOL hasGitHubRepo;
@property (assign, readonly) BOOL isXGAMonitored;
@end
NS_ASSUME_NONNULL_END