Public Member Functions | |
| def | __init__ |
| def | delete |
| def | getTrafficFeed |
| def | getTrafficTypeFeed |
| def | getStorageFeed |
| def | getTotalFeed |
| def | getConcurrentFeed |
| def | getHostFeed |
| def | getDomainFeed |
| def | getCityFeed |
| def | getUsersFeed |
| def | getUsedFeed |
| def | getPayedFeed |
| def rawsc.rams.service.RamsService.__init__ | ( | self, | ||
username = None, |
||||
password = None, |
||||
source = None, |
||||
server = SERVER_DEFAULT, |
||||
port = None, |
||||
additional_headers = None, |
||||
handler = None, |
||||
ssl = False | ||||
| ) |
Creates an object of type RawsService.
Args: username: string (optional) The username for authentication. password: string (optional) The user's password. source: string (optional) The name of the user's application. server: string (optional) The name of the server to which a connection will be opened. (eg 'rass.cdn01.rambla.be'). additional_headers: dictionary (optional) Any additional headers which should be included with CRUD operations. handler: module (optional) The module whose HttpRequest function should be used when making requests to the server. The default value is atom.service. ssl: bool (optional) Use SSL encryption.
Reimplemented from rawsc.service.RawsService.
| def rawsc.rams.service.RamsService.delete | ( | self, | ||
| uri | ||||
| ) |
Deletes any resource, given the uri.
| def rawsc.rams.service.RamsService.getTrafficFeed | ( | self, | ||
query = None, |
||||
full_uri = None | ||||
| ) |
Retrieves an traffic feed.
| query | rawsc.Query object that contains query-string args. | |
| full_uri | string Full URI already containing the query-string args (if not None -> query param is ignored). |
| def rawsc.rams.service.RamsService.getTrafficTypeFeed | ( | self | ) |
Retrieves a traffic-type feed.
| def rawsc.rams.service.RamsService.getStorageFeed | ( | self, | ||
query = None | ||||
| ) |
Retrieves a storage feed.
| query | rawsc.Query object that contains query-string args. |
| def rawsc.rams.service.RamsService.getTotalFeed | ( | self, | ||
query = None, |
||||
full_uri = None | ||||
| ) |
Retrieves an total feed.
| query | rawsc.Query object that contains query-string args. | |
| full_uri | string Full URI already containing the query-string args (if not None -> query param is ignored). |
| def rawsc.rams.service.RamsService.getConcurrentFeed | ( | self, | ||
query = None, |
||||
full_uri = None | ||||
| ) |
Retrieves an concurrent feed.
| query | rawsc.Query object that contains query-string args. | |
| full_uri | string Full URI already containing the query-string args (if not None -> query param is ignored). |
| def rawsc.rams.service.RamsService.getHostFeed | ( | self, | ||
query = None, |
||||
full_uri = None | ||||
| ) |
Retrieves an host feed from the geo resource.
| query | rawsc.Query object that contains query-string args. | |
| full_uri | string Full URI already containing the query-string args (if not None -> query param is ignored). |
| def rawsc.rams.service.RamsService.getDomainFeed | ( | self, | ||
query = None, |
||||
full_uri = None | ||||
| ) |
Retrieves an domain feed from the geo resource.
| query | rawsc.Query object that contains query-string args. | |
| full_uri | string Full URI already containing the query-string args (if not None -> query param is ignored). |
| def rawsc.rams.service.RamsService.getCityFeed | ( | self, | ||
query = None, |
||||
full_uri = None | ||||
| ) |
Retrieves an domain feed from the geo resource.
| query | rawsc.Query object that contains query-string args. | |
| full_uri | string Full URI already containing the query-string args (if not None -> query param is ignored). |
| def rawsc.rams.service.RamsService.getUsersFeed | ( | self | ) |
Retrieves a users feed.
| def rawsc.rams.service.RamsService.getUsedFeed | ( | self, | ||
query = None | ||||
| ) |
Retrieves a used feed.
| query | rawsc.Query object that contains query-string args. |
| def rawsc.rams.service.RamsService.getPayedFeed | ( | self, | ||
query = None | ||||
| ) |
Retrieves a payed feed.
| query | rawsc.Query object that contains query-string args. |
1.5.3