Class: OCI::ApmTraces::Models::ScheduledQuery
- Inherits:
-
Object
- Object
- OCI::ApmTraces::Models::ScheduledQuery
- Defined in:
- lib/oci/apm_traces/models/scheduled_query.rb
Overview
Scheduled Query object.
Constant Summary collapse
- SCHEDULED_QUERY_PROCESSING_TYPE_ENUM =
[ SCHEDULED_QUERY_PROCESSING_TYPE_EXPORT = 'EXPORT'.freeze, SCHEDULED_QUERY_PROCESSING_TYPE_QUERY = 'QUERY'.freeze, SCHEDULED_QUERY_PROCESSING_TYPE_ALERT = 'ALERT'.freeze, SCHEDULED_QUERY_PROCESSING_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- SCHEDULED_QUERY_PROCESSING_SUB_TYPE_ENUM =
[ SCHEDULED_QUERY_PROCESSING_SUB_TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'.freeze, SCHEDULED_QUERY_PROCESSING_SUB_TYPE_STREAMING = 'STREAMING'.freeze, SCHEDULED_QUERY_PROCESSING_SUB_TYPE_CUSTOM_METRIC = 'CUSTOM_METRIC'.freeze, SCHEDULED_QUERY_PROCESSING_SUB_TYPE_NONE = 'NONE'.freeze, SCHEDULED_QUERY_PROCESSING_SUB_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- SCHEDULED_QUERY_RETENTION_CRITERIA_ENUM =
[ SCHEDULED_QUERY_RETENTION_CRITERIA_KEEP_DATA_UNTIL_RETENTION_PERIOD = 'KEEP_DATA_UNTIL_RETENTION_PERIOD'.freeze, SCHEDULED_QUERY_RETENTION_CRITERIA_UPDATE = 'UPDATE'.freeze, SCHEDULED_QUERY_RETENTION_CRITERIA_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- LIFECYCLE_STATE_ENUM =
[ LIFECYCLE_STATE_CREATING = 'CREATING'.freeze, LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze, LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze, LIFECYCLE_STATE_DELETING = 'DELETING'.freeze, LIFECYCLE_STATE_DELETED = 'DELETED'.freeze, LIFECYCLE_STATE_FAILED = 'FAILED'.freeze, LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Defined tags for this resource.
-
#freeform_tags ⇒ Hash<String, String>
Simple key-value pair that is applied without any predefined name, type or scope.
-
#id ⇒ String
The OCID of the scheduled query .
-
#lifecycle_state ⇒ String
The current lifecycle state of the Scheduled Query.
-
#scheduled_query_description ⇒ String
Description for the scheduled query.
-
#scheduled_query_instances ⇒ String
Scheduled query instances.
-
#scheduled_query_maximum_runtime_in_seconds ⇒ Integer
Maximum runtime for the scheduled query in seconds.
-
#scheduled_query_name ⇒ String
Name of the scheduled query.
-
#scheduled_query_next_run_in_ms ⇒ Integer
Next run for the scheduled query.
- #scheduled_query_processing_configuration ⇒ OCI::ApmTraces::Models::ScheduledQueryProcessingConfig
-
#scheduled_query_processing_sub_type ⇒ String
Processing sub type of the scheduled query.
-
#scheduled_query_processing_type ⇒ String
Processing type of the scheduled query.
-
#scheduled_query_retention_criteria ⇒ String
Retention criteria for the scheduled query.
-
#scheduled_query_retention_period_in_ms ⇒ Integer
Retention period for the scheduled query in milliseconds.
-
#scheduled_query_schedule ⇒ String
Schedule for the scheduled query.
-
#scheduled_query_text ⇒ String
Scheduled query to be run.
-
#system_tags ⇒ Hash<String, Hash<String, Object>>
Usage of system tag keys.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Checks equality by comparing each attribute.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(other) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ ScheduledQuery
constructor
Initializes the object.
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
Constructor Details
#initialize(attributes = {}) ⇒ ScheduledQuery
Initializes the object
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 203 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } self.id = attributes[:'id'] if attributes[:'id'] self.scheduled_query_processing_type = attributes[:'scheduledQueryProcessingType'] if attributes[:'scheduledQueryProcessingType'] raise 'You cannot provide both :scheduledQueryProcessingType and :scheduled_query_processing_type' if attributes.key?(:'scheduledQueryProcessingType') && attributes.key?(:'scheduled_query_processing_type') self.scheduled_query_processing_type = attributes[:'scheduled_query_processing_type'] if attributes[:'scheduled_query_processing_type'] self.scheduled_query_name = attributes[:'scheduledQueryName'] if attributes[:'scheduledQueryName'] raise 'You cannot provide both :scheduledQueryName and :scheduled_query_name' if attributes.key?(:'scheduledQueryName') && attributes.key?(:'scheduled_query_name') self.scheduled_query_name = attributes[:'scheduled_query_name'] if attributes[:'scheduled_query_name'] self.scheduled_query_text = attributes[:'scheduledQueryText'] if attributes[:'scheduledQueryText'] raise 'You cannot provide both :scheduledQueryText and :scheduled_query_text' if attributes.key?(:'scheduledQueryText') && attributes.key?(:'scheduled_query_text') self.scheduled_query_text = attributes[:'scheduled_query_text'] if attributes[:'scheduled_query_text'] self.scheduled_query_description = attributes[:'scheduledQueryDescription'] if attributes[:'scheduledQueryDescription'] raise 'You cannot provide both :scheduledQueryDescription and :scheduled_query_description' if attributes.key?(:'scheduledQueryDescription') && attributes.key?(:'scheduled_query_description') self.scheduled_query_description = attributes[:'scheduled_query_description'] if attributes[:'scheduled_query_description'] self.scheduled_query_schedule = attributes[:'scheduledQuerySchedule'] if attributes[:'scheduledQuerySchedule'] raise 'You cannot provide both :scheduledQuerySchedule and :scheduled_query_schedule' if attributes.key?(:'scheduledQuerySchedule') && attributes.key?(:'scheduled_query_schedule') self.scheduled_query_schedule = attributes[:'scheduled_query_schedule'] if attributes[:'scheduled_query_schedule'] self.scheduled_query_maximum_runtime_in_seconds = attributes[:'scheduledQueryMaximumRuntimeInSeconds'] if attributes[:'scheduledQueryMaximumRuntimeInSeconds'] self.scheduled_query_maximum_runtime_in_seconds = 1800 if scheduled_query_maximum_runtime_in_seconds.nil? && !attributes.key?(:'scheduledQueryMaximumRuntimeInSeconds') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :scheduledQueryMaximumRuntimeInSeconds and :scheduled_query_maximum_runtime_in_seconds' if attributes.key?(:'scheduledQueryMaximumRuntimeInSeconds') && attributes.key?(:'scheduled_query_maximum_runtime_in_seconds') self.scheduled_query_maximum_runtime_in_seconds = attributes[:'scheduled_query_maximum_runtime_in_seconds'] if attributes[:'scheduled_query_maximum_runtime_in_seconds'] self.scheduled_query_maximum_runtime_in_seconds = 1800 if scheduled_query_maximum_runtime_in_seconds.nil? && !attributes.key?(:'scheduledQueryMaximumRuntimeInSeconds') && !attributes.key?(:'scheduled_query_maximum_runtime_in_seconds') # rubocop:disable Style/StringLiterals self.scheduled_query_next_run_in_ms = attributes[:'scheduledQueryNextRunInMs'] if attributes[:'scheduledQueryNextRunInMs'] raise 'You cannot provide both :scheduledQueryNextRunInMs and :scheduled_query_next_run_in_ms' if attributes.key?(:'scheduledQueryNextRunInMs') && attributes.key?(:'scheduled_query_next_run_in_ms') self.scheduled_query_next_run_in_ms = attributes[:'scheduled_query_next_run_in_ms'] if attributes[:'scheduled_query_next_run_in_ms'] self.scheduled_query_retention_period_in_ms = attributes[:'scheduledQueryRetentionPeriodInMs'] if attributes[:'scheduledQueryRetentionPeriodInMs'] self.scheduled_query_retention_period_in_ms = 2592000000 if scheduled_query_retention_period_in_ms.nil? && !attributes.key?(:'scheduledQueryRetentionPeriodInMs') # rubocop:disable Style/StringLiterals raise 'You cannot provide both :scheduledQueryRetentionPeriodInMs and :scheduled_query_retention_period_in_ms' if attributes.key?(:'scheduledQueryRetentionPeriodInMs') && attributes.key?(:'scheduled_query_retention_period_in_ms') self.scheduled_query_retention_period_in_ms = attributes[:'scheduled_query_retention_period_in_ms'] if attributes[:'scheduled_query_retention_period_in_ms'] self.scheduled_query_retention_period_in_ms = 2592000000 if scheduled_query_retention_period_in_ms.nil? && !attributes.key?(:'scheduledQueryRetentionPeriodInMs') && !attributes.key?(:'scheduled_query_retention_period_in_ms') # rubocop:disable Style/StringLiterals self.scheduled_query_processing_sub_type = attributes[:'scheduledQueryProcessingSubType'] if attributes[:'scheduledQueryProcessingSubType'] raise 'You cannot provide both :scheduledQueryProcessingSubType and :scheduled_query_processing_sub_type' if attributes.key?(:'scheduledQueryProcessingSubType') && attributes.key?(:'scheduled_query_processing_sub_type') self.scheduled_query_processing_sub_type = attributes[:'scheduled_query_processing_sub_type'] if attributes[:'scheduled_query_processing_sub_type'] self.scheduled_query_processing_configuration = attributes[:'scheduledQueryProcessingConfiguration'] if attributes[:'scheduledQueryProcessingConfiguration'] raise 'You cannot provide both :scheduledQueryProcessingConfiguration and :scheduled_query_processing_configuration' if attributes.key?(:'scheduledQueryProcessingConfiguration') && attributes.key?(:'scheduled_query_processing_configuration') self.scheduled_query_processing_configuration = attributes[:'scheduled_query_processing_configuration'] if attributes[:'scheduled_query_processing_configuration'] self.scheduled_query_retention_criteria = attributes[:'scheduledQueryRetentionCriteria'] if attributes[:'scheduledQueryRetentionCriteria'] raise 'You cannot provide both :scheduledQueryRetentionCriteria and :scheduled_query_retention_criteria' if attributes.key?(:'scheduledQueryRetentionCriteria') && attributes.key?(:'scheduled_query_retention_criteria') self.scheduled_query_retention_criteria = attributes[:'scheduled_query_retention_criteria'] if attributes[:'scheduled_query_retention_criteria'] self.scheduled_query_instances = attributes[:'scheduledQueryInstances'] if attributes[:'scheduledQueryInstances'] raise 'You cannot provide both :scheduledQueryInstances and :scheduled_query_instances' if attributes.key?(:'scheduledQueryInstances') && attributes.key?(:'scheduled_query_instances') self.scheduled_query_instances = attributes[:'scheduled_query_instances'] if attributes[:'scheduled_query_instances'] self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState'] raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state') self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state'] self. = attributes[:'freeformTags'] if attributes[:'freeformTags'] raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags') self. = attributes[:'freeform_tags'] if attributes[:'freeform_tags'] self. = attributes[:'definedTags'] if attributes[:'definedTags'] raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags') self. = attributes[:'defined_tags'] if attributes[:'defined_tags'] self. = attributes[:'systemTags'] if attributes[:'systemTags'] raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags') self. = attributes[:'system_tags'] if attributes[:'system_tags'] end |
Instance Attribute Details
#defined_tags ⇒ Hash<String, Hash<String, Object>>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {\"foo-namespace\": {\"bar-key\": \"value\"}}
122 123 124 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 122 def @defined_tags end |
#freeform_tags ⇒ Hash<String, String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {\"bar-key\": \"value\"}
116 117 118 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 116 def @freeform_tags end |
#id ⇒ String
The OCID of the scheduled query . An OCID is generated when the scheduled query is created.
48 49 50 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 48 def id @id end |
#lifecycle_state ⇒ String
The current lifecycle state of the Scheduled Query.
110 111 112 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 110 def lifecycle_state @lifecycle_state end |
#scheduled_query_description ⇒ String
Description for the scheduled query.
68 69 70 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 68 def scheduled_query_description @scheduled_query_description end |
#scheduled_query_instances ⇒ String
Scheduled query instances.
106 107 108 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 106 def scheduled_query_instances @scheduled_query_instances end |
#scheduled_query_maximum_runtime_in_seconds ⇒ Integer
Maximum runtime for the scheduled query in seconds.
78 79 80 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 78 def scheduled_query_maximum_runtime_in_seconds @scheduled_query_maximum_runtime_in_seconds end |
#scheduled_query_name ⇒ String
Name of the scheduled query.
58 59 60 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 58 def scheduled_query_name @scheduled_query_name end |
#scheduled_query_next_run_in_ms ⇒ Integer
Next run for the scheduled query.
83 84 85 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 83 def scheduled_query_next_run_in_ms @scheduled_query_next_run_in_ms end |
#scheduled_query_processing_configuration ⇒ OCI::ApmTraces::Models::ScheduledQueryProcessingConfig
96 97 98 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 96 def scheduled_query_processing_configuration @scheduled_query_processing_configuration end |
#scheduled_query_processing_sub_type ⇒ String
Processing sub type of the scheduled query.
93 94 95 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 93 def scheduled_query_processing_sub_type @scheduled_query_processing_sub_type end |
#scheduled_query_processing_type ⇒ String
Processing type of the scheduled query.
53 54 55 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 53 def scheduled_query_processing_type @scheduled_query_processing_type end |
#scheduled_query_retention_criteria ⇒ String
Retention criteria for the scheduled query.
101 102 103 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 101 def scheduled_query_retention_criteria @scheduled_query_retention_criteria end |
#scheduled_query_retention_period_in_ms ⇒ Integer
Retention period for the scheduled query in milliseconds.
88 89 90 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 88 def scheduled_query_retention_period_in_ms @scheduled_query_retention_period_in_ms end |
#scheduled_query_schedule ⇒ String
Schedule for the scheduled query.
73 74 75 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 73 def scheduled_query_schedule @scheduled_query_schedule end |
#scheduled_query_text ⇒ String
Scheduled query to be run.
63 64 65 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 63 def scheduled_query_text @scheduled_query_text end |
#system_tags ⇒ Hash<String, Hash<String, Object>>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}
128 129 130 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 128 def @system_tags end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 131 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'id': :'id', 'scheduled_query_processing_type': :'scheduledQueryProcessingType', 'scheduled_query_name': :'scheduledQueryName', 'scheduled_query_text': :'scheduledQueryText', 'scheduled_query_description': :'scheduledQueryDescription', 'scheduled_query_schedule': :'scheduledQuerySchedule', 'scheduled_query_maximum_runtime_in_seconds': :'scheduledQueryMaximumRuntimeInSeconds', 'scheduled_query_next_run_in_ms': :'scheduledQueryNextRunInMs', 'scheduled_query_retention_period_in_ms': :'scheduledQueryRetentionPeriodInMs', 'scheduled_query_processing_sub_type': :'scheduledQueryProcessingSubType', 'scheduled_query_processing_configuration': :'scheduledQueryProcessingConfiguration', 'scheduled_query_retention_criteria': :'scheduledQueryRetentionCriteria', 'scheduled_query_instances': :'scheduledQueryInstances', 'lifecycle_state': :'lifecycleState', 'freeform_tags': :'freeformTags', 'defined_tags': :'definedTags', 'system_tags': :'systemTags' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 156 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'id': :'String', 'scheduled_query_processing_type': :'String', 'scheduled_query_name': :'String', 'scheduled_query_text': :'String', 'scheduled_query_description': :'String', 'scheduled_query_schedule': :'String', 'scheduled_query_maximum_runtime_in_seconds': :'Integer', 'scheduled_query_next_run_in_ms': :'Integer', 'scheduled_query_retention_period_in_ms': :'Integer', 'scheduled_query_processing_sub_type': :'String', 'scheduled_query_processing_configuration': :'OCI::ApmTraces::Models::ScheduledQueryProcessingConfig', 'scheduled_query_retention_criteria': :'String', 'scheduled_query_instances': :'String', 'lifecycle_state': :'String', 'freeform_tags': :'Hash<String, String>', 'defined_tags': :'Hash<String, Hash<String, Object>>', 'system_tags': :'Hash<String, Hash<String, Object>>' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 371 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && scheduled_query_processing_type == other.scheduled_query_processing_type && scheduled_query_name == other.scheduled_query_name && scheduled_query_text == other.scheduled_query_text && scheduled_query_description == other.scheduled_query_description && scheduled_query_schedule == other.scheduled_query_schedule && scheduled_query_maximum_runtime_in_seconds == other.scheduled_query_maximum_runtime_in_seconds && scheduled_query_next_run_in_ms == other.scheduled_query_next_run_in_ms && scheduled_query_retention_period_in_ms == other.scheduled_query_retention_period_in_ms && scheduled_query_processing_sub_type == other.scheduled_query_processing_sub_type && scheduled_query_processing_configuration == other.scheduled_query_processing_configuration && scheduled_query_retention_criteria == other.scheduled_query_retention_criteria && scheduled_query_instances == other.scheduled_query_instances && lifecycle_state == other.lifecycle_state && == other. && == other. && == other. end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 417 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /^Array<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) public_method("#{key}=").call( attributes[self.class.attribute_map[key]] .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) } ) end elsif !attributes[self.class.attribute_map[key]].nil? public_method("#{key}=").call( OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]) ) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(other) ⇒ Boolean
397 398 399 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 397 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
406 407 408 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 406 def hash [id, scheduled_query_processing_type, scheduled_query_name, scheduled_query_text, scheduled_query_description, scheduled_query_schedule, scheduled_query_maximum_runtime_in_seconds, scheduled_query_next_run_in_ms, scheduled_query_retention_period_in_ms, scheduled_query_processing_sub_type, scheduled_query_processing_configuration, scheduled_query_retention_criteria, scheduled_query_instances, lifecycle_state, , , ].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
450 451 452 453 454 455 456 457 458 459 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 450 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = public_method(attr).call next if value.nil? && !instance_variable_defined?("@#{attr}") hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
444 445 446 |
# File 'lib/oci/apm_traces/models/scheduled_query.rb', line 444 def to_s to_hash.to_s end |