Class: BrickFTP::Types::Behavior

Inherits:
Struct
  • Object
show all
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

Method Summary

Methods included from IgnoreUndefinedAttributes

#initialize

Instance Attribute Details

#behaviorObject

Returns the value of attribute behavior

Returns:

  • (Object)

    the current value of behavior



18
19
20
# File 'lib/brick_ftp/types/behavior.rb', line 18

def behavior
  @behavior
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



18
19
20
# File 'lib/brick_ftp/types/behavior.rb', line 18

def id
  @id
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



18
19
20
# File 'lib/brick_ftp/types/behavior.rb', line 18

def path
  @path
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



18
19
20
# File 'lib/brick_ftp/types/behavior.rb', line 18

def value
  @value
end