utils.rc.client.requests

Module Contents

Classes

Requests

Functions

do_version_check()

Attributes

logger

utils.rc.client.requests.logger
class utils.rc.client.requests.Requests
host = ''
token = ''
tenantId = ''
__sdk_latest_version
static setRootHost(host)
static getRootHost(api_version=None)
static setToken(token)
static getToken()
static setTenantId(tenantId)
static validate_token()
static getTenantId()
static post(endpoint, payload=None, api_type='v2', timeout=600) requests.Response
static get(endpoint, params_dict=None, api_type='v2') requests.Response
static postFile(endpoint, file_path, api_type='v2') requests.Response
static delete(endpoint, payload=None, api_type='v2', params_dict={}) requests.Response
static put(endpoint, payload=None, api_type='v2') requests.Response
static patch(endpoint, payload=None, api_type='v2') requests.Response
static __handle_error_if_any(res)
static __beautify_error(res_json)
classmethod get_latest_version()
classmethod get_installed_version()
utils.rc.client.requests.do_version_check()