Class: Telnyx::Models::GlobalIPHealthCheck

Inherits:
Record show all
Defined in:
lib/telnyx/models/global_ip_health_check.rb,
sig/telnyx/models/global_ip_health_check.rbs

Overview

See Also:

  • Telnyx::Resources::GlobalIPHealthChecks#list

Direct Known Subclasses

GlobalIPHealthCheckCreateParams

Instance Attribute Summary collapse

Attributes inherited from Record

#created_at, #id, #record_type, #updated_at

Instance Method Summary collapse

Methods inherited from Record

#created_at=, #id=, #record_type=, #updated_at=

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(global_ip_id: nil, health_check_params: nil, health_check_type: nil) ⇒ Object

Parameters:

  • global_ip_id (String) (defaults to: nil)

    Global IP ID.

  • health_check_params (Hash{Symbol=>Object}) (defaults to: nil)

    A Global IP health check params.

  • health_check_type (String) (defaults to: nil)

    The Global IP health check type.



# File 'lib/telnyx/models/global_ip_health_check.rb', line 25

Instance Attribute Details

#global_ip_idString?

Global IP ID.

Parameters:

  • _ (String)

Returns:

  • (String, nil)


11
# File 'lib/telnyx/models/global_ip_health_check.rb', line 11

optional :global_ip_id, String

#health_check_paramsHash{Symbol=>Object}?

A Global IP health check params.

Parameters:

  • _ (::Hash[Symbol, top])

Returns:

  • (Hash{Symbol=>Object}, nil)


17
# File 'lib/telnyx/models/global_ip_health_check.rb', line 17

optional :health_check_params, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]

#health_check_typeString?

The Global IP health check type.

Parameters:

  • _ (String)

Returns:

  • (String, nil)


23
# File 'lib/telnyx/models/global_ip_health_check.rb', line 23

optional :health_check_type, String

Instance Method Details

#to_hash{

Returns:

  • ({)


29
# File 'sig/telnyx/models/global_ip_health_check.rbs', line 29

def to_hash: -> {