

class ApiResponseObject:

    def __init__(self):
        self.data = {}

    def prepare(self, **kwargs):
        self.data = kwargs
        return self

    def set_data(self, data):
        self.data = data
        return self

    def add_data(self, data):
        for key in data.keys():
            self.data[key] = data[key]
        return self

    def to_json(self):
        return self.data
