Public Member Functions | Public Attributes | Private Member Functions | List of all members
rc_reason_clients.rest_client.RestClient Class Reference
Inheritance diagram for rc_reason_clients.rest_client.RestClient:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, rest_name, ignored_parameters=[])
 
def add_rest_service (self, srv_type, srv_name, callback)
 
def call_rest_service (self, name, srv_type=None, request=None)
 

Public Attributes

 api_node_prefix
 
 ddr
 
 host
 
 ignored_parameters
 
 pipeline
 
 rest_name
 
 rest_services
 

Private Member Functions

def _dyn_rec_callback (self, config, level)
 
def _get_rest_parameters (self)
 
def _set_rest_parameters (self, parameters)
 
def _setup_ddr (self)
 

Detailed Description

Definition at line 70 of file rest_client.py.

Constructor & Destructor Documentation

◆ __init__()

def rc_reason_clients.rest_client.RestClient.__init__ (   self,
  rest_name,
  ignored_parameters = [] 
)

Definition at line 72 of file rest_client.py.

Member Function Documentation

◆ _dyn_rec_callback()

def rc_reason_clients.rest_client.RestClient._dyn_rec_callback (   self,
  config,
  level 
)
private

Definition at line 150 of file rest_client.py.

◆ _get_rest_parameters()

def rc_reason_clients.rest_client.RestClient._get_rest_parameters (   self)
private

Definition at line 91 of file rest_client.py.

◆ _set_rest_parameters()

def rc_reason_clients.rest_client.RestClient._set_rest_parameters (   self,
  parameters 
)
private

Definition at line 103 of file rest_client.py.

◆ _setup_ddr()

def rc_reason_clients.rest_client.RestClient._setup_ddr (   self)
private

Definition at line 120 of file rest_client.py.

◆ add_rest_service()

def rc_reason_clients.rest_client.RestClient.add_rest_service (   self,
  srv_type,
  srv_name,
  callback 
)
create a service and inject the REST-API service name

Definition at line 193 of file rest_client.py.

◆ call_rest_service()

def rc_reason_clients.rest_client.RestClient.call_rest_service (   self,
  name,
  srv_type = None,
  request = None 
)

Definition at line 162 of file rest_client.py.

Member Data Documentation

◆ api_node_prefix

rc_reason_clients.rest_client.RestClient.api_node_prefix

Definition at line 87 of file rest_client.py.

◆ ddr

rc_reason_clients.rest_client.RestClient.ddr

Definition at line 76 of file rest_client.py.

◆ host

rc_reason_clients.rest_client.RestClient.host

Definition at line 80 of file rest_client.py.

◆ ignored_parameters

rc_reason_clients.rest_client.RestClient.ignored_parameters

Definition at line 74 of file rest_client.py.

◆ pipeline

rc_reason_clients.rest_client.RestClient.pipeline

Definition at line 85 of file rest_client.py.

◆ rest_name

rc_reason_clients.rest_client.RestClient.rest_name

Definition at line 73 of file rest_client.py.

◆ rest_services

rc_reason_clients.rest_client.RestClient.rest_services

Definition at line 75 of file rest_client.py.


The documentation for this class was generated from the following file:


rc_reason_clients
Author(s):
autogenerated on Sat Nov 23 2024 03:19:24