Class: Telnyx::Models::GlobalIPAssignment

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/global_ip_assignment.rb,
sig/telnyx/models/global_ip_assignment.rbs

Overview

See Also:

  • Telnyx::Resources::GlobalIPAssignments#list

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(id: nil, created_at: nil, record_type: nil, updated_at: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: nil)

    Identifies the resource.

  • created_at (String) (defaults to: nil)

    ISO 8601 formatted date-time indicating when the resource was created.

  • record_type (String) (defaults to: nil)

    Identifies the type of the resource.

  • updated_at (String) (defaults to: nil)

    ISO 8601 formatted date-time indicating when the resource was updated.



# File 'lib/telnyx/models/global_ip_assignment.rb', line 33

Instance Attribute Details

#created_atString? (readonly)

Returns the value of attribute created_at.

Returns:

  • (String, nil)


16
17
18
# File 'sig/telnyx/models/global_ip_assignment.rbs', line 16

def created_at
  @created_at
end

#idString? (readonly)

Returns the value of attribute id.

Returns:

  • (String, nil)


12
13
14
# File 'sig/telnyx/models/global_ip_assignment.rbs', line 12

def id
  @id
end

#record_typeString? (readonly)

Returns the value of attribute record_type.

Returns:

  • (String, nil)


20
21
22
# File 'sig/telnyx/models/global_ip_assignment.rbs', line 20

def record_type
  @record_type
end

#updated_atString? (readonly)

Returns the value of attribute updated_at.

Returns:

  • (String, nil)


24
25
26
# File 'sig/telnyx/models/global_ip_assignment.rbs', line 24

def updated_at
  @updated_at
end

Instance Method Details

#created_at=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


18
# File 'sig/telnyx/models/global_ip_assignment.rbs', line 18

def created_at=: (String) -> String

#id=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


14
# File 'sig/telnyx/models/global_ip_assignment.rbs', line 14

def id=: (String) -> String

#record_type=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


22
# File 'sig/telnyx/models/global_ip_assignment.rbs', line 22

def record_type=: (String) -> String

#to_hash{

Returns:

  • ({)


35
# File 'sig/telnyx/models/global_ip_assignment.rbs', line 35

def to_hash: -> {

#updated_at=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


26
# File 'sig/telnyx/models/global_ip_assignment.rbs', line 26

def updated_at=: (String) -> String