Class: AgentCliRuntime::RouteProbeResult
- Inherits:
-
Data
- Object
- Data
- AgentCliRuntime::RouteProbeResult
- Defined in:
- lib/agent_cli_runtime/values.rb
Instance Attribute Summary collapse
-
#auth_configuration ⇒ Object
readonly
Returns the value of attribute auth_configuration.
-
#available_variants ⇒ Object
readonly
Returns the value of attribute available_variants.
-
#capability_evidence ⇒ Object
readonly
Returns the value of attribute capability_evidence.
-
#diagnostic ⇒ Object
readonly
Returns the value of attribute diagnostic.
-
#executable ⇒ Object
readonly
Returns the value of attribute executable.
-
#installed ⇒ Object
readonly
Returns the value of attribute installed.
-
#minimum_version ⇒ Object
readonly
Returns the value of attribute minimum_version.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#ready ⇒ Object
readonly
Returns the value of attribute ready.
-
#route ⇒ Object
readonly
Returns the value of attribute route.
-
#route_available ⇒ Object
readonly
Returns the value of attribute route_available.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(provider:, ready:, installed:, executable:, version:, minimum_version:, auth_configuration:, route:, route_available:, available_variants:, capability_evidence:, diagnostic: nil) ⇒ RouteProbeResult
constructor
A new instance of RouteProbeResult.
Constructor Details
#initialize(provider:, ready:, installed:, executable:, version:, minimum_version:, auth_configuration:, route:, route_available:, available_variants:, capability_evidence:, diagnostic: nil) ⇒ RouteProbeResult
Returns a new instance of RouteProbeResult.
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 |
# File 'lib/agent_cli_runtime/values.rb', line 345 def initialize(provider:, ready:, installed:, executable:, version:, minimum_version:, auth_configuration:, route:, route_available:, available_variants:, capability_evidence:, diagnostic: nil) super( provider: provider.to_sym, ready: ready == true, installed: installed == true, executable: Immutable.string(executable), version: version.nil? ? nil : Immutable.string(version), minimum_version: minimum_version.nil? ? nil : Immutable.string(minimum_version), auth_configuration: auth_configuration, route: route, route_available: route_available == true, available_variants: Immutable.strings(available_variants), capability_evidence: Array(capability_evidence).freeze, diagnostic: diagnostic.nil? ? nil : Immutable.string(diagnostic) ) end |
Instance Attribute Details
#auth_configuration ⇒ Object (readonly)
Returns the value of attribute auth_configuration
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def auth_configuration @auth_configuration end |
#available_variants ⇒ Object (readonly)
Returns the value of attribute available_variants
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def available_variants @available_variants end |
#capability_evidence ⇒ Object (readonly)
Returns the value of attribute capability_evidence
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def capability_evidence @capability_evidence end |
#diagnostic ⇒ Object (readonly)
Returns the value of attribute diagnostic
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def diagnostic @diagnostic end |
#executable ⇒ Object (readonly)
Returns the value of attribute executable
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def executable @executable end |
#installed ⇒ Object (readonly)
Returns the value of attribute installed
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def installed @installed end |
#minimum_version ⇒ Object (readonly)
Returns the value of attribute minimum_version
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def minimum_version @minimum_version end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def provider @provider end |
#ready ⇒ Object (readonly)
Returns the value of attribute ready
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def ready @ready end |
#route ⇒ Object (readonly)
Returns the value of attribute route
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def route @route end |
#route_available ⇒ Object (readonly)
Returns the value of attribute route_available
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def route_available @route_available end |
#version ⇒ Object (readonly)
Returns the value of attribute version
339 340 341 |
# File 'lib/agent_cli_runtime/values.rb', line 339 def version @version end |