utils.rcclient.services.global_variable_service

Module Contents

Classes

GlobalVariableService

Attributes

logger

utils.rcclient.services.global_variable_service.logger
class utils.rcclient.services.global_variable_service.GlobalVariableService
GLOBAL_VARIABLE_ENDPOINT = '/variables'
SOLUTION_ENDPOINT = '/solutions'
SEARCH_BY_NAME = 'by-name'
global_variable_client
get(_id: str) utils.rcclient.entities.global_variable.GlobalVariable
get_all(project_id: str) List[utils.rcclient.entities.global_variable.GlobalVariable]
get_all_by_solution(solution_id: str) List[utils.rcclient.entities.global_variable.GlobalVariable]
create(global_variable: utils.rcclient.entities.global_variable.GlobalVariable) utils.rcclient.entities.global_variable.GlobalVariable
update(global_variable: utils.rcclient.entities.global_variable.GlobalVariable) utils.rcclient.entities.global_variable.GlobalVariable
create_or_update_byname(global_variable: utils.rcclient.entities.global_variable.GlobalVariable) utils.rcclient.entities.global_variable.GlobalVariable
find_by_name_and_project_id(project_id: str, global_variable: utils.rcclient.entities.global_variable.GlobalVariable) utils.rcclient.entities.global_variable.GlobalVariable

Check if a global variable with the given name and project_id exists. The project_id is passed in the URL path as part of the query.

delete(_id: str) None