def __init__(self, url, status, action_type):
    self._json_data = None
    self._text = None
    self._status_code = status
    self._content = 'cont'
    self._url = url
    if (action_type == APIEndpointConst.CONNECT):
        self._json_data = ConnectResponse
    elif (action_type == APIEndpointConst.GET_TRIPLES):
        self._text = RESPONSE
    elif ((action_type == APIEndpointConst.CREATE_DATABASE) or (action_type == APIEndpointConst.DELETE_DATABASE) or (action_type == APIEndpointConst.UPDATE_TRIPLES) or (action_type == APIEndpointConst.BRANCH) or (action_type == APIEndpointConst.CREATE_GRAPH)):
        self._json_data = {'terminus:status': 'terminus:success'}
def __init__(self, url, status, action_type):
    self._json_data = None
    self._text = None
    self._status_code = status
    self._content = 'cont'
    self._url = url
    if (action_type == APIEndpointConst.CONNECT):
        self._json_data = ConnectResponse
    elif (action_type == APIEndpointConst.GET_TRIPLES):
        self._text = RESPONSE
    elif ((action_type == APIEndpointConst.CREATE_DATABASE) or (action_type == APIEndpointConst.DELETE_DATABASE) or (action_type == APIEndpointConst.UPDATE_TRIPLES) or (action_type == APIEndpointConst.BRANCH) or (action_type == APIEndpointConst.CREATE_GRAPH)):
        self._json_data = {'terminus:status': 'terminus:success'}