rating (/v1/rating)¶
-
class
cloudkittyclient.v1.rating.
CliModuleDisable
(app, app_args, cmd_name=None)¶ Disable a rating module.
-
take_action
(parsed_args)¶ Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
-
-
class
cloudkittyclient.v1.rating.
CliModuleEnable
(app, app_args, cmd_name=None)¶ Enable a rating module.
-
take_action
(parsed_args)¶ Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
-
-
class
cloudkittyclient.v1.rating.
CliModuleGet
(app, app_args, cmd_name=None)¶ Get a rating module or list loaded rating modules.
If module_id is not specified, returns a list of all loaded rating modules.
-
get_parser
(prog_name)¶ Return an
argparse.ArgumentParser
.
-
take_action
(parsed_args)¶ Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
-
-
class
cloudkittyclient.v1.rating.
CliModuleList
(app, app_args, cmd_name=None)¶ List loaded rating modules.
-
take_action
(parsed_args)¶ Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
-
-
class
cloudkittyclient.v1.rating.
CliModuleSet
(app, app_args, cmd_name=None)¶ -
get_parser
(prog_name)¶ Return an
argparse.ArgumentParser
.
-
-
class
cloudkittyclient.v1.rating.
CliModuleSetPriority
(app, app_args, cmd_name=None)¶ Set the priority of a rating module.
-
get_parser
(prog_name)¶ Return an
argparse.ArgumentParser
.
-
take_action
(parsed_args)¶ Run command.
Return a tuple containing the column names and an iterable containing the data to be listed.
-
-
class
cloudkittyclient.v1.rating.
RatingManager
(api_client)¶ Class used to handle /v1/rating endpoint