Class: Files::RemoteServerConfigurationFile
- Inherits:
-
Object
- Object
- Files::RemoteServerConfigurationFile
- Defined in:
- lib/files.com/models/remote_server_configuration_file.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#api_token ⇒ Object
string - Files Agent API Token.
-
#config_version ⇒ Object
string - agent config version.
-
#hostname ⇒ Object
string.
-
#id ⇒ Object
int64 - Agent ID.
-
#initialize(attributes = {}, options = {}) ⇒ RemoteServerConfigurationFile
constructor
A new instance of RemoteServerConfigurationFile.
-
#permission_set ⇒ Object
string -.
-
#port ⇒ Object
int64 - Incoming port for files agent connections.
-
#private_key ⇒ Object
string - private key.
-
#public_key ⇒ Object
string - public key.
-
#root ⇒ Object
string - Agent local root path.
-
#server_host_key ⇒ Object
string.
-
#status ⇒ Object
string - either running or shutdown.
-
#subdomain ⇒ Object
string.
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ RemoteServerConfigurationFile
Returns a new instance of RemoteServerConfigurationFile.
7 8 9 10 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 7 def initialize(attributes = {}, = {}) @attributes = attributes || {} @options = || {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 5 def attributes @attributes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 5 def @options end |
Instance Method Details
#api_token ⇒ Object
string - Files Agent API Token
23 24 25 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 23 def api_token @attributes[:api_token] end |
#config_version ⇒ Object
string - agent config version
58 59 60 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 58 def config_version @attributes[:config_version] end |
#hostname ⇒ Object
string
38 39 40 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 38 def hostname @attributes[:hostname] end |
#id ⇒ Object
int64 - Agent ID
13 14 15 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 13 def id @attributes[:id] end |
#permission_set ⇒ Object
string -
18 19 20 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 18 def @attributes[:permission_set] end |
#port ⇒ Object
int64 - Incoming port for files agent connections
33 34 35 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 33 def port @attributes[:port] end |
#private_key ⇒ Object
string - private key
48 49 50 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 48 def private_key @attributes[:private_key] end |
#public_key ⇒ Object
string - public key
43 44 45 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 43 def public_key @attributes[:public_key] end |
#root ⇒ Object
string - Agent local root path
28 29 30 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 28 def root @attributes[:root] end |
#server_host_key ⇒ Object
string
63 64 65 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 63 def server_host_key @attributes[:server_host_key] end |
#status ⇒ Object
string - either running or shutdown
53 54 55 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 53 def status @attributes[:status] end |
#subdomain ⇒ Object
string
68 69 70 |
# File 'lib/files.com/models/remote_server_configuration_file.rb', line 68 def subdomain @attributes[:subdomain] end |