-
Notifications
You must be signed in to change notification settings - Fork 299
/
Copy pathADJSessionSuccess.m
54 lines (40 loc) · 1.14 KB
/
ADJSessionSuccess.m
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
//
// ADJSuccessResponseData.m
// adjust
//
// Created by Pedro Filipe on 05/01/16.
// Copyright © 2016 adjust GmbH. All rights reserved.
//
#import "ADJSessionSuccess.h"
@implementation ADJSessionSuccess
#pragma mark - Public methods
- (id)init {
self = [super init];
if (self == nil) {
return nil;
}
return self;
}
+ (ADJSessionSuccess *)sessionSuccessResponseData {
return [[ADJSessionSuccess alloc] init];
}
#pragma mark - NSCopying protocol methods
- (id)copyWithZone:(NSZone *)zone {
ADJSessionSuccess *copy = [[[self class] allocWithZone:zone] init];
if (copy) {
copy.message = [self.message copyWithZone:zone];
copy.timestamp = [self.timestamp copyWithZone:zone];
copy.adid = [self.adid copyWithZone:zone];
copy.jsonResponse = [self.jsonResponse copyWithZone:zone];
}
return copy;
}
#pragma mark - NSObject protocol methods
- (NSString *)description {
return [NSString stringWithFormat: @"Session Success msg:%@ time:%@ adid:%@ json:%@",
self.message,
self.timestamp,
self.adid,
self.jsonResponse];
}
@end