Class: DatadogAPIClient::V1::IPRanges
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::IPRanges
- Defined in:
- lib/datadog_api_client/v1/models/ip_ranges.rb
Overview
IP ranges.
Instance Attribute Summary collapse
-
#agents ⇒ Object
Returns the value of attribute agents.
-
#api ⇒ Object
Returns the value of attribute api.
-
#apm ⇒ Object
Returns the value of attribute apm.
-
#logs ⇒ Object
Returns the value of attribute logs.
-
#modified ⇒ Object
Date when last updated, in the form
YYYY-MM-DD-hh-mm-ss. -
#process ⇒ Object
Returns the value of attribute process.
-
#synthetics ⇒ Object
Returns the value of attribute synthetics.
-
#version ⇒ Object
Version of the IP list.
-
#webhooks ⇒ Object
Returns the value of attribute webhooks.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ IPRanges
constructor
Initializes the object.
Constructor Details
#initialize(attributes = {}) ⇒ IPRanges
Initializes the object
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 93 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::IPRanges` 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::IPRanges`. 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?(:'agents') self.agents = attributes[:'agents'] end if attributes.key?(:'api') self.api = attributes[:'api'] end if attributes.key?(:'apm') self.apm = attributes[:'apm'] end if attributes.key?(:'logs') self.logs = attributes[:'logs'] end if attributes.key?(:'modified') self.modified = attributes[:'modified'] end if attributes.key?(:'process') self.process = attributes[:'process'] end if attributes.key?(:'synthetics') self.synthetics = attributes[:'synthetics'] end if attributes.key?(:'version') self.version = attributes[:'version'] end if attributes.key?(:'webhooks') self.webhooks = attributes[:'webhooks'] end end |
Instance Attribute Details
#agents ⇒ Object
Returns the value of attribute agents.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 26 def agents @agents end |
#api ⇒ Object
Returns the value of attribute api.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 28 def api @api end |
#apm ⇒ Object
Returns the value of attribute apm.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 30 def apm @apm end |
#logs ⇒ Object
Returns the value of attribute logs.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 32 def logs @logs end |
#modified ⇒ Object
Date when last updated, in the form YYYY-MM-DD-hh-mm-ss.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 35 def modified @modified end |
#process ⇒ Object
Returns the value of attribute process.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 37 def process @process end |
#synthetics ⇒ Object
Returns the value of attribute synthetics.
39 40 41 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 39 def synthetics @synthetics end |
#version ⇒ Object
Version of the IP list.
42 43 44 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 42 def version @version end |
#webhooks ⇒ Object
Returns the value of attribute webhooks.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/ip_ranges.rb', line 44 def webhooks @webhooks end |