Class: BrickFTP::Types::Behavior
- Inherits:
-
Struct
- Object
- Struct
- BrickFTP::Types::Behavior
- Includes:
- IgnoreUndefinedAttributes
- Defined in:
- lib/brick_ftp/types/behavior.rb
Overview
The behavior object
ATTRIBUTE | TYPE | DESCRIPTION |
---|---|---|
id | integer | Globally unique identifier of each behavior. |
path | string | Folder path for behaviors. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters. |
behavior | string | The behavior type. Can be one of the following: webhook, file_expiration, auto_encrypt, lock_subfolders. |
value | array | Array of values associated with the behavior. |
Instance Attribute Summary collapse
-
#behavior ⇒ Object
Returns the value of attribute behavior.
-
#id ⇒ Object
Returns the value of attribute id.
-
#path ⇒ Object
Returns the value of attribute path.
-
#value ⇒ Object
Returns the value of attribute value.
Method Summary
Methods included from IgnoreUndefinedAttributes
Instance Attribute Details
#behavior ⇒ Object
Returns the value of attribute behavior
18 19 20 |
# File 'lib/brick_ftp/types/behavior.rb', line 18 def behavior @behavior end |
#id ⇒ Object
Returns the value of attribute id
18 19 20 |
# File 'lib/brick_ftp/types/behavior.rb', line 18 def id @id end |
#path ⇒ Object
Returns the value of attribute path
18 19 20 |
# File 'lib/brick_ftp/types/behavior.rb', line 18 def path @path end |
#value ⇒ Object
Returns the value of attribute value
18 19 20 |
# File 'lib/brick_ftp/types/behavior.rb', line 18 def value @value end |