Class: Telnyx::Models::SimCardGroups::SimCardGroupAction

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

Overview

See Also:

  • Telnyx::Resources::SimCardGroups::Actions#list

Defined Under Namespace

Modules: Status, Type Classes: Settings

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(private_wireless_gateway_id: nil) ⇒ Object

A JSON object representation of the action params.

Parameters:

  • private_wireless_gateway_id (String) (defaults to: nil)

    The identification of the related Private Wireless Gateway resource.



# File 'lib/telnyx/models/sim_card_groups/sim_card_group_action.rb', line 56

Instance Attribute Details

#created_atString? (readonly)

Returns the value of attribute created_at.

Returns:

  • (String, nil)


45
46
47
# File 'sig/telnyx/models/sim_card_groups/sim_card_group_action.rbs', line 45

def created_at
  @created_at
end

#idString? (readonly)

Returns the value of attribute id.

Returns:

  • (String, nil)


41
42
43
# File 'sig/telnyx/models/sim_card_groups/sim_card_group_action.rbs', line 41

def id
  @id
end

#record_typeString? (readonly)

Returns the value of attribute record_type.

Returns:

  • (String, nil)


49
50
51
# File 'sig/telnyx/models/sim_card_groups/sim_card_group_action.rbs', line 49

def record_type
  @record_type
end

#settingsTelnyx::Models::SimCardGroups::SimCardGroupAction::Settings?

A JSON object representation of the action params.



12
# File 'lib/telnyx/models/sim_card_groups/sim_card_group_action.rb', line 12

optional :settings, -> { Telnyx::SimCardGroups::SimCardGroupAction::Settings }

#sim_card_group_idString?

The SIM card group identification.

Parameters:

  • (String)

Returns:

  • (String, nil)


18
# File 'lib/telnyx/models/sim_card_groups/sim_card_group_action.rb', line 18

optional :sim_card_group_id, String

#statusSymbol, ...



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

optional :status, enum: -> { Telnyx::SimCardGroups::SimCardGroupAction::Status }

#typeSymbol, ...

Represents the type of the operation requested.



29
# File 'lib/telnyx/models/sim_card_groups/sim_card_group_action.rb', line 29

optional :type, enum: -> { Telnyx::SimCardGroups::SimCardGroupAction::Type }

#updated_atString? (readonly)

Returns the value of attribute updated_at.

Returns:

  • (String, nil)


53
54
55
# File 'sig/telnyx/models/sim_card_groups/sim_card_group_action.rbs', line 53

def updated_at
  @updated_at
end

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/sim_card_groups/sim_card_group_action.rb', line 99

Instance Method Details

#created_at=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


47
# File 'sig/telnyx/models/sim_card_groups/sim_card_group_action.rbs', line 47

def created_at=: (String) -> String

#id=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


43
# File 'sig/telnyx/models/sim_card_groups/sim_card_group_action.rbs', line 43

def id=: (String) -> String

#record_type=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


51
# File 'sig/telnyx/models/sim_card_groups/sim_card_group_action.rbs', line 51

def record_type=: (String) -> String

#to_hash{

Returns:

  • ({)


68
# File 'sig/telnyx/models/sim_card_groups/sim_card_group_action.rbs', line 68

def to_hash: -> {

#updated_at=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


55
# File 'sig/telnyx/models/sim_card_groups/sim_card_group_action.rbs', line 55

def updated_at=: (String) -> String