Class: Telnyx::Models::NetappsLocation

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/netapps_location.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(code: nil, name: nil, pop: nil, region: nil, site: nil) ⇒ Object

Parameters:

  • code (String) (defaults to: nil)

    Location code.

  • name (String) (defaults to: nil)

    Human readable name of location.

  • pop (String) (defaults to: nil)

    Point of presence of location.

  • region (String) (defaults to: nil)

    Identifies the geographical region of location.

  • site (String) (defaults to: nil)

    Site of location.



# File 'lib/telnyx/models/netapps_location.rb', line 36

Instance Attribute Details

#codeString?

Location code.

Returns:

  • (String, nil)


10
# File 'lib/telnyx/models/netapps_location.rb', line 10

optional :code, String

#nameString?

Human readable name of location.

Returns:

  • (String, nil)


16
# File 'lib/telnyx/models/netapps_location.rb', line 16

optional :name, String

#popString?

Point of presence of location.

Returns:

  • (String, nil)


22
# File 'lib/telnyx/models/netapps_location.rb', line 22

optional :pop, String

#regionString?

Identifies the geographical region of location.

Returns:

  • (String, nil)


28
# File 'lib/telnyx/models/netapps_location.rb', line 28

optional :region, String

#siteString?

Site of location.

Returns:

  • (String, nil)


34
# File 'lib/telnyx/models/netapps_location.rb', line 34

optional :site, String