Class: BrickFTP::Types::History
- Inherits:
-
Struct
- Object
- Struct
- BrickFTP::Types::History
- Includes:
- IgnoreUndefinedAttributes
- Defined in:
- lib/brick_ftp/types/history.rb
Overview
The notification object
| ATTRIBUTE | TYPE | DESCRIPTION |
|---|---|---|
| id | integer | Globally unique identifier of each history entry. |
| when | datetime | Date of the history entry. |
| user_id | integer | ID of the user associated with the history entry. |
| username | string | Username of the user associated with the history entry. |
| action | string | Type of action that occurred. Will be one of the following: create, read, update, destroy, move, login, failedlogin, copy, user_create, user_destroy, group_create, group_destroy, permission_create, permission_destroy. |
| failure_type | string | Type of failure that occurred, if any. |
| path | string | Path of the file or folder associated with the history entry. |
| source | string | Source path associated with the history entry. |
| destination | string | Destination path associated with the history entry. |
| targets | object | Object containing the target object(s) for user_create, user_destroy, group_create, group_destroy, permission_create, and permission_destroy actions. A user target will include an id and username. A group target will include an id and name. A permission target will include an id, permission, and a recursive parameter. |
| ip | string | IP address associated with the history entry. |
| interface | string | Interface associated with the history entry. Will be one of the following: web, ftp, robot, jsapi, restapi, sftp, dav. |
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#failure_type ⇒ Object
Returns the value of attribute failure_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#interface ⇒ Object
Returns the value of attribute interface.
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#path ⇒ Object
Returns the value of attribute path.
-
#source ⇒ Object
Returns the value of attribute source.
-
#targets ⇒ Object
Returns the value of attribute targets.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#username ⇒ Object
Returns the value of attribute username.
-
#when ⇒ Object
Returns the value of attribute when.
Method Summary
Methods included from IgnoreUndefinedAttributes
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def action @action end |
#destination ⇒ Object
Returns the value of attribute destination
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def destination @destination end |
#failure_type ⇒ Object
Returns the value of attribute failure_type
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def failure_type @failure_type end |
#id ⇒ Object
Returns the value of attribute id
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def id @id end |
#interface ⇒ Object
Returns the value of attribute interface
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def interface @interface end |
#ip ⇒ Object
Returns the value of attribute ip
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def ip @ip end |
#path ⇒ Object
Returns the value of attribute path
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def path @path end |
#source ⇒ Object
Returns the value of attribute source
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def source @source end |
#targets ⇒ Object
Returns the value of attribute targets
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def targets @targets end |
#user_id ⇒ Object
Returns the value of attribute user_id
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def user_id @user_id end |
#username ⇒ Object
Returns the value of attribute username
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def username @username end |
#when ⇒ Object
Returns the value of attribute when
26 27 28 |
# File 'lib/brick_ftp/types/history.rb', line 26 def when @when end |