FileUploadAuthInfoGetResponse.h
1.46 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
//
// FileUploadAuthInfoGetResponse.h
// ***************************************************************
// Copyright (c) 2014 –苏州犀牛网络科技有限公司
// Title: com.xiniunet.site.domain.
// Description: site Domain
// @author 杨琦
// ***************************************************************
//
#import "BaseResponse.h"
#import "FileUploadInfo.h"
@interface FileUploadAuthInfoGetResponse : BaseResponse
/**
* @brief 承租人ID
*/
@property(nonatomic,readonly) UInt64 tenantId;
/**
* @brief
*/
@property(nonatomic,readonly) NSString* accessKeySecret;
/**
* @brief
*/
@property(nonatomic,readonly) NSString* accessKeyId;
/**
* @brief 安全token
*/
@property(nonatomic,readonly) NSString* securityToken;
/**
* @brief 过期时间
*/
@property(nonatomic,readonly) NSString* expiration;
/**
* @brief 上传参数列表
*/
@property(nonatomic,readonly) FileUploadInfo* info;
#pragma mark -定义基类属性
@property(nonatomic,retain) BaseResponse *baseResponse;
#pragma mark -定义外部方法
/**
* @brief 初始化
*/
- (instancetype)init;
/**
* @brief 承租人ID是否存在
*/
-(BOOL)hasTenantId;
/**
* @brief 是否存在
*/
-(BOOL)hasAccessKeySecret;
/**
* @brief 是否存在
*/
-(BOOL)hasAccessKeyId;
/**
* @brief 安全token是否存在
*/
-(BOOL)hasSecurityToken;
/**
* @brief 过期时间是否存在
*/
-(BOOL)hasExpiration;
/**
* @brief 上传参数列表是否存在
*/
-(BOOL)hasInfo;
@end