flywheel.configuration
Configuration
Bases: with_metaclass(TypeWithDefault, object)
NOTE: This class is auto generated by the swagger code generator program.
Ref: https://github.com/swagger-api/swagger-codegen Do not edit the class manually.
debug property writable
Debug status
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value | The debug status, True or False. | required |
logger_file property writable
The logger file.
If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value | The logger_file path. | required |
logger_format property writable
The logger format.
The logger_formatter will be updated when sets logger_format.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value | The format string. | required |
__init__()
Constructor
auth_settings()
Gets Auth Settings dict for api client.
Returns:
| Type | Description |
|---|---|
| The Auth Settings information dict. |
get_api_key_with_prefix(identifier)
Gets API key (with prefix if set).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
identifier | The identifier of apiKey. | required |
Returns:
| Type | Description |
|---|---|
| The token for api key authentication. |
get_basic_auth_token()
Gets HTTP basic authentication header (string).
Returns:
| Type | Description |
|---|---|
| The token for basic HTTP authentication. |
to_debug_report()
Gets the essential information for debugging.
Returns:
| Type | Description |
|---|---|
| The report for debugging. |