33 lines
628 B
Objective-C
33 lines
628 B
Objective-C
//
|
|
// QNUploadRequestState.m
|
|
// QiniuSDK_Mac
|
|
//
|
|
// Created by yangsen on 2020/11/17.
|
|
// Copyright © 2020 Qiniu. All rights reserved.
|
|
//
|
|
|
|
#import "QNIUploadServer.h"
|
|
#import "QNUploadRequestState.h"
|
|
|
|
@implementation QNUploadRequestState
|
|
- (instancetype)init{
|
|
if (self = [super init]) {
|
|
[self initData];
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (void)initData{
|
|
_isUserCancel = NO;
|
|
_isUseOldServer = NO;
|
|
}
|
|
|
|
- (instancetype)copy {
|
|
QNUploadRequestState *state = [[QNUploadRequestState alloc] init];
|
|
state.isUserCancel = self.isUserCancel;
|
|
state.isUseOldServer = self.isUseOldServer;
|
|
return state;
|
|
}
|
|
|
|
@end
|