|
| 1 | +// |
| 2 | +// QCloudRequestProgress.m |
| 3 | +// QCloudRequestProgress |
| 4 | +// |
| 5 | +// Created by tencent |
| 6 | +// Copyright (c) 2015年 tencent. All rights reserved. |
| 7 | +// |
| 8 | +// ██████╗ ██████╗██╗ ██████╗ ██╗ ██╗██████╗ ████████╗███████╗██████╗ ███╗ ███╗██╗███╗ ██╗ █████╗ ██╗ ██╗ █████╗ ██████╗ |
| 9 | +// ██╔═══██╗██╔════╝██║ ██╔═══██╗██║ ██║██╔══██╗ ╚══██╔══╝██╔════╝██╔══██╗████╗ ████║██║████╗ ██║██╔══██╗██║ ██║ ██╔══██╗██╔══██╗ |
| 10 | +// ██║ ██║██║ ██║ ██║ ██║██║ ██║██║ ██║ ██║ █████╗ ██████╔╝██╔████╔██║██║██╔██╗ ██║███████║██║ ██║ ███████║██████╔╝ |
| 11 | +// ██║▄▄ ██║██║ ██║ ██║ ██║██║ ██║██║ ██║ ██║ ██╔══╝ ██╔══██╗██║╚██╔╝██║██║██║╚██╗██║██╔══██║██║ ██║ ██╔══██║██╔══██╗ |
| 12 | +// ╚██████╔╝╚██████╗███████╗╚██████╔╝╚██████╔╝██████╔╝ ██║ ███████╗██║ ██║██║ ╚═╝ ██║██║██║ ╚████║██║ ██║███████╗ ███████╗██║ ██║██████╔╝ |
| 13 | +// ╚══▀▀═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝ ╚══════╝╚═╝ ╚═╝╚═════╝ |
| 14 | +// |
| 15 | +// |
| 16 | +// _ __ _ _ |
| 17 | +// (_) / _| | | | | |
| 18 | +// ___ ___ _ ____ ___ ___ ___ | |_ ___ _ __ __| | _____ _____| | ___ _ __ ___ _ __ ___ |
| 19 | +// / __|/ _ \ '__\ \ / / |/ __/ _ \ | _/ _ \| '__| / _` |/ _ \ \ / / _ \ |/ _ \| '_ \ / _ \ '__/ __| |
| 20 | +// \__ \ __/ | \ V /| | (_| __/ | || (_) | | | (_| | __/\ V / __/ | (_) | |_) | __/ | \__ |
| 21 | +// |___/\___|_| \_/ |_|\___\___| |_| \___/|_| \__,_|\___| \_/ \___|_|\___/| .__/ \___|_| |___/ |
| 22 | +// ______ ______ ______ ______ ______ ______ ______ ______ | | |
| 23 | +// |______|______|______|______|______|______|______|______| |_| |
| 24 | +// |
| 25 | + |
| 26 | + |
| 27 | +#import "QCloudRequestProgress.h" |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +NS_ASSUME_NONNULL_BEGIN |
| 32 | +@implementation QCloudRequestProgress |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | ++ (NSDictionary *)modelCustomPropertyMapper |
| 37 | +{ |
| 38 | + return @{ |
| 39 | + @"enabled" :@"Enabled", |
| 40 | + }; |
| 41 | +} |
| 42 | + |
| 43 | + |
| 44 | +- (BOOL)modelCustomTransformToDictionary:(NSMutableDictionary *)dic |
| 45 | +{ |
| 46 | + |
| 47 | + |
| 48 | + return YES; |
| 49 | +} |
| 50 | + |
| 51 | +- (NSDictionary *)modelCustomWillTransformFromDictionary:(NSDictionary *)dic |
| 52 | +{ |
| 53 | + if (!dic) { |
| 54 | + return dic; |
| 55 | + } |
| 56 | + NSMutableDictionary* transfromDic = [NSMutableDictionary dictionaryWithDictionary:dic]; |
| 57 | + |
| 58 | + return transfromDic; |
| 59 | +} |
| 60 | + |
| 61 | +@end |
| 62 | + |
| 63 | + |
| 64 | +NS_ASSUME_NONNULL_END |
0 commit comments