Class: Telnyx::Models::PhoneNumberBlocks::Job

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

Overview

See Also:

  • Telnyx::Resources::PhoneNumberBlocks::Jobs#list

Defined Under Namespace

Modules: Status, Type Classes: FailedOperation, SuccessfulOperation

Instance Attribute Summary collapse

Class Method 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, phone_number: nil) ⇒ Object

The phone numbers successfully updated.

Parameters:

  • id (String) (defaults to: nil)

    The phone number's ID

  • phone_number (String) (defaults to: nil)

    The phone number in e164 format.



# File 'lib/telnyx/models/phone_number_blocks/job.rb', line 105

Instance Attribute Details

#created_atString? (readonly)

Returns the value of attribute created_at.

Returns:

  • (String, nil)


22
23
24
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 22

def created_at
  @created_at
end

#etcTime? (readonly)

Returns the value of attribute etc.

Returns:

  • (Time, nil)


26
27
28
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 26

def etc
  @etc
end

#failed_operations::Array[Telnyx::PhoneNumberBlocks::Job::FailedOperation]? (readonly)

Returns the value of attribute failed_operations.

Returns:

  • (::Array[Telnyx::PhoneNumberBlocks::Job::FailedOperation], nil)


30
31
32
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 30

def failed_operations
  @failed_operations
end

#idString? (readonly)

Returns the value of attribute id.

Returns:

  • (String, nil)


18
19
20
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 18

def id
  @id
end

#record_typeString? (readonly)

Returns the value of attribute record_type.

Returns:

  • (String, nil)


36
37
38
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 36

def record_type
  @record_type
end

#statusTelnyx::Models::PhoneNumberBlocks::Job::status? (readonly)

Returns the value of attribute status.

Returns:

  • (Telnyx::Models::PhoneNumberBlocks::Job::status, nil)


40
41
42
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 40

def status
  @status
end

#successful_operations::Array[Telnyx::PhoneNumberBlocks::Job::SuccessfulOperation]? (readonly)

Returns the value of attribute successful_operations.

Returns:

  • (::Array[Telnyx::PhoneNumberBlocks::Job::SuccessfulOperation], nil)


46
47
48
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 46

def successful_operations
  @successful_operations
end

#typeTelnyx::Models::PhoneNumberBlocks::Job::type_? (readonly)

Returns the value of attribute type.

Returns:

  • (Telnyx::Models::PhoneNumberBlocks::Job::type_, nil)


52
53
54
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 52

def type
  @type
end

#updated_atString? (readonly)

Returns the value of attribute updated_at.

Returns:

  • (String, nil)


58
59
60
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 58

def updated_at
  @updated_at
end

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/phone_number_blocks/job.rb', line 124

Instance Method Details

#created_at=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


24
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 24

def created_at=: (String) -> String

#etc=Time (readonly)

Parameters:

  • (Time)

Returns:

  • (Time)


28
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 28

def etc=: (Time) -> Time

#failed_operations=Object (readonly)



32
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 32

def failed_operations=: (

#id=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


20
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 20

def id=: (String) -> String

#record_type=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


38
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 38

def record_type=: (String) -> String

#status=Object (readonly)



42
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 42

def status=: (

#successful_operations=Object (readonly)



48
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 48

def successful_operations=: (

#to_hash{

Returns:

  • ({)


74
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 74

def to_hash: -> {

#type=Object (readonly)



54
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 54

def type=: (

#updated_at=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


60
# File 'sig/telnyx/models/phone_number_blocks/job.rbs', line 60

def updated_at=: (String) -> String