# Path: InstagramAPI/src/http/Response/Response.py
# class Response(object):
#     STATUS_OK = "ok"
#     STATUS_FAIL = "fail"
# 
#     status = None
#     message = None
#     fullResponse = None
# 
#     def setStatus(self, status):
#         self.status = status
# 
#     def getStatus(self):
#         return self.status
# 
#     def setMessage(self, message):
#         self.message = message
# 
#     def getMessage(self):
#         return self.message
# 
#     def setFullResponse(self, response):
#         self.fullResponse = response
# 
#     def getFullResponse(self):
#         return self.fullResponse
# 
#     def isOk(self):
#         return self.getStatus() == Response.STATUS_OK
# 
# Path: InstagramAPI/src/http/Response/Objects/Experiment.py
# class Experiment(object):
#     def __init__(self, data):
#         self.params = None
#         self.group = None
#         self.name = None
# 
#         params = []
#         for param in data['params']:
#             params.append(Param(param))
# 
#         self.params = params
#         self.group = data['group']
#         self.name = data['name']
# 
#     def getParams(self):
#         return self.params
# 
#     def getGroup(self):
#         return self.group
# 
#     def getName(self):
#         return self.name


from InstagramAPI.src.http.Response import Response
from InstagramAPI.src.http.Response.Objects.Experiment import Experiment


class SyncResponse(Response):
    def __init__(self, response):
        self.experiments = None

        if self.STATUS_OK == response['status']:
            experiments = []

# Path: InstagramAPI/src/http/Response/Response.py
# class Response(object):
#     STATUS_OK = "ok"
#     STATUS_FAIL = "fail"
# 
#     status = None
#     message = None
#     fullResponse = None
# 
#     def setStatus(self, status):
#         self.status = status
# 
#     def getStatus(self):
#         return self.status
# 
#     def setMessage(self, message):
#         self.message = message
# 
#     def getMessage(self):
#         return self.message
# 
#     def setFullResponse(self, response):
#         self.fullResponse = response
# 
#     def getFullResponse(self):
#         return self.fullResponse
# 
#     def isOk(self):
#         return self.getStatus() == Response.STATUS_OK
# 
# Path: InstagramAPI/src/http/Response/Objects/Experiment.py
# class Experiment(object):
#     def __init__(self, data):
#         self.params = None
#         self.group = None
#         self.name = None
# 
#         params = []
#         for param in data['params']:
#             params.append(Param(param))
# 
#         self.params = params
#         self.group = data['group']
#         self.name = data['name']
# 
#     def getParams(self):
#         return self.params
# 
#     def getGroup(self):
#         return self.group
# 
#     def getName(self):
#         return self.name


# Path: InstagramAPI/src/http/Response/SyncResponse.py
from InstagramAPI.src.http.Response import Response
from InstagramAPI.src.http.Response.Objects.Experiment import Experiment



class SyncResponse(Response):
    def __init__(self, response):
        self.experiments = None

        if self.STATUS_OK == response['status']:
            experiments = []

            for experiment in response['experiments']: