summaryrefslogtreecommitdiff
path: root/Juick/Model/Attachment.h
blob: 47c6c3ab0e3402ffb5d8d40670dd9963bb8631d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  Attachment.h
//  Juick
//
//  Created by Vitaly Takmazov on 15/10/2017.
//  Copyright © 2017 com.juick. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Attachment : NSObject
@property(nonatomic, strong) NSString *url;
@property(nonatomic, strong) NSNumber *width;
@property(nonatomic, strong) NSNumber *height;
@property(nonatomic, strong) Attachment *small;
@property(nonatomic, strong) Attachment *medium;
@property(nonatomic, strong) Attachment *thumbnail;

+(Attachment *) fromJSON:(NSDictionary *)jsonData;
@end