萤石云 iOSSDK,移植跨平台相关工程
JLChen
2021-08-06 edc0f0a0439f9e5a11593e21a4779fa6dbcbe49d
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
//
//  ResponseData.h
//  EZOpenSDKDemo
//
//  Created by 陈嘉乐 on 2021/3/1.
//  Copyright © 2021 hikvision. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
NS_ASSUME_NONNULL_BEGIN
/**
 ResponseData
 */
@interface ResponseData : NSObject
/** 响应状态码 */
@property (nonatomic, copy) NSString *code;
/** 错误信息*/
@property (nonatomic, copy) NSString *message;
/** 接收数据的字典  */
@property (nonatomic, strong) NSDictionary * __nullable data;
/** 字典处理 */
- (id)initWithDictionary:(NSDictionary *)dic;
/**是否成功*/
- (BOOL)success;
 
@end
 
NS_ASSUME_NONNULL_END