flywheel.models.report_access_log_entry
ReportAccessLogEntry
Bases: object
access_type property writable
Gets the access_type of this ReportAccessLogEntry.
A named field used in the access log report
Returns:
| Type | Description |
|---|---|
str | The access_type of this ReportAccessLogEntry |
actions property writable
Gets the actions of this ReportAccessLogEntry.
Array of actions
Returns:
| Type | Description |
|---|---|
list[str] | The actions of this ReportAccessLogEntry |
context property writable
Gets the context of this ReportAccessLogEntry.
Returns:
| Type | Description |
|---|---|
ReportAccessLogContext | The context of this ReportAccessLogEntry |
count property writable
Gets the count of this ReportAccessLogEntry.
Returns:
| Type | Description |
|---|---|
int | The count of this ReportAccessLogEntry |
destination property writable
Gets the destination of this ReportAccessLogEntry.
Returns:
| Type | Description |
|---|---|
object | The destination of this ReportAccessLogEntry |
error property writable
Gets the error of this ReportAccessLogEntry.
Error
Returns:
| Type | Description |
|---|---|
str | The error of this ReportAccessLogEntry |
first_access property writable
Gets the first_access of this ReportAccessLogEntry.
Datetime of first access
Returns:
| Type | Description |
|---|---|
datetime | The first_access of this ReportAccessLogEntry |
id property writable
Gets the id of this ReportAccessLogEntry.
The access log entry id
Returns:
| Type | Description |
|---|---|
str | The id of this ReportAccessLogEntry |
last_access property writable
Gets the last_access of this ReportAccessLogEntry.
Datetime of last access
Returns:
| Type | Description |
|---|---|
datetime | The last_access of this ReportAccessLogEntry |
origin property writable
Gets the origin of this ReportAccessLogEntry.
Returns:
| Type | Description |
|---|---|
ReportAccessLogOrigin | The origin of this ReportAccessLogEntry |
request_method property writable
Gets the request_method of this ReportAccessLogEntry.
The http request method (e.g. GET, PUT, POST, DELETE)
Returns:
| Type | Description |
|---|---|
str | The request_method of this ReportAccessLogEntry |
request_path property writable
Gets the request_path of this ReportAccessLogEntry.
The HTTP request path (e.g. /api/projects)
Returns:
| Type | Description |
|---|---|
str | The request_path of this ReportAccessLogEntry |
role_id property writable
Gets the role_id of this ReportAccessLogEntry.
Id of role
Returns:
| Type | Description |
|---|---|
str | The role_id of this ReportAccessLogEntry |
role_ids property writable
Gets the role_ids of this ReportAccessLogEntry.
Array of role ids
Returns:
| Type | Description |
|---|---|
list[str] | The role_ids of this ReportAccessLogEntry |
timestamp property writable
Gets the timestamp of this ReportAccessLogEntry.
Returns:
| Type | Description |
|---|---|
datetime | The timestamp of this ReportAccessLogEntry |
user_id property writable
Gets the user_id of this ReportAccessLogEntry.
User id
Returns:
| Type | Description |
|---|---|
str | The user_id of this ReportAccessLogEntry |
user_role_type property writable
Gets the user_role_type of this ReportAccessLogEntry.
User role type
Returns:
| Type | Description |
|---|---|
list[str] | The user_role_type of this ReportAccessLogEntry |
__contains__(key)
Checks if the given value is a key in this object
__eq__(other)
Returns true if both objects are equal
__getitem__(key)
Returns the value of key
__init__(id=None, access_type=None, context=None, origin=None, actions=None, count=None, destination=None, first_access=None, last_access=None, role_id=None, role_ids=None, user_id=None, user_role_type=None, error=None, request_method=None, request_path=None, timestamp=None)
ReportAccessLogEntry - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id | (str, optional) | The access log entry id, defaults to None | None |
access_type | (str, optional) | A named field used in the access log report, defaults to None | None |
context | (ReportAccessLogContext, optional) | , defaults to None | None |
origin | (ReportAccessLogOrigin, optional) | , defaults to None | None |
actions | (list[str], optional) | Array of actions, defaults to None | None |
count | (int, optional) | , defaults to None | None |
destination | (object, optional) | , defaults to None | None |
first_access | (datetime, optional) | Datetime of first access, defaults to None | None |
last_access | (datetime, optional) | Datetime of last access, defaults to None | None |
role_id | (str, optional) | Id of role, defaults to None | None |
role_ids | (list[str], optional) | Array of role ids, defaults to None | None |
user_id | (str, optional) | User id, defaults to None | None |
user_role_type | (list[str], optional) | User role type, defaults to None | None |
error | (str, optional) | Error, defaults to None | None |
request_method | (str, optional) | The http request method (e.g. GET, PUT, POST, DELETE), defaults to None | None |
request_path | (str, optional) | The HTTP request path (e.g. /api/projects), defaults to None | None |
timestamp | (datetime, optional) | , defaults to None | None |
__ne__(other)
Returns true if both objects are not equal
__repr__()
For print and pprint
__setitem__(key, value)
Sets the value of key
get(key, default=None)
Get the value of the provided json property, or default
items()
Returns the list of json property to value mapping
keys()
Returns the list of json properties in the object
positional_to_model(value) staticmethod
Converts a positional argument to a model value
return_value()
Unwraps return value from model
to_dict()
Returns the model properties as a dict
to_str()
Returns the string representation of the model
values()
Returns the list of values in the object