Class: DatadogAPIClient::V1::HostMetaInstallMethod
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::HostMetaInstallMethod
- Defined in:
- lib/datadog_api_client/v1/models/host_meta_install_method.rb
Overview
Agent install method.
Instance Attribute Summary collapse
-
#installer_version ⇒ Object
The installer version.
-
#tool ⇒ Object
Tool used to install the agent.
-
#tool_version ⇒ Object
The tool version.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ HostMetaInstallMethod
constructor
Initializes the object.
Constructor Details
#initialize(attributes = {}) ⇒ HostMetaInstallMethod
Initializes the object
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/datadog_api_client/v1/models/host_meta_install_method.rb', line 70 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::HostMetaInstallMethod` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::HostMetaInstallMethod`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'installer_version') self.installer_version = attributes[:'installer_version'] end if attributes.key?(:'tool') self.tool = attributes[:'tool'] end if attributes.key?(:'tool_version') self.tool_version = attributes[:'tool_version'] end end |
Instance Attribute Details
#installer_version ⇒ Object
The installer version.
27 28 29 |
# File 'lib/datadog_api_client/v1/models/host_meta_install_method.rb', line 27 def installer_version @installer_version end |
#tool ⇒ Object
Tool used to install the agent.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/host_meta_install_method.rb', line 30 def tool @tool end |
#tool_version ⇒ Object
The tool version.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/host_meta_install_method.rb', line 33 def tool_version @tool_version end |