aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/aai/SubscriberAaiResponse.java
blob: 2dad75fdf51c8465d9715a60e08ad436d86fbc08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.onap.vid.aai;

import org.onap.vid.model.ProxyResponse;
import org.onap.vid.model.SubscriberList;

/**
 * Created by Oren on 7/5/17.
 */
public class SubscriberAaiResponse extends ProxyResponse {


    private SubscriberList subscriberList;

    public SubscriberAaiResponse(SubscriberList subscriberList, String errorMessage, int aaiHttpCode) {
        this.subscriberList = subscriberList;
        this.errorMessage = errorMessage;
        this.httpCode = aaiHttpCode;
    }


    public SubscriberList getSubscriberList() {
        return subscriberList;
    }
}