Class: Telnyx::Models::SubNumberOrderRegulatoryRequirement

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

Defined Under Namespace

Modules: FieldType

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(field_type: nil, record_type: nil, requirement_id: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/sub_number_order_regulatory_requirement.rb', line 24

Instance Attribute Details

#field_typeTelnyx::Models::SubNumberOrderRegulatoryRequirement::field_type? (readonly)

Returns the value of attribute field_type.

Returns:

  • (Telnyx::Models::SubNumberOrderRegulatoryRequirement::field_type, nil)


15
16
17
# File 'sig/telnyx/models/sub_number_order_regulatory_requirement.rbs', line 15

def field_type
  @field_type
end

#record_typeString? (readonly)

Returns the value of attribute record_type.

Returns:

  • (String, nil)


21
22
23
# File 'sig/telnyx/models/sub_number_order_regulatory_requirement.rbs', line 21

def record_type
  @record_type
end

#requirement_idString?

Unique id for a requirement.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :requirement_id, String

Instance Method Details

#field_type=Object (readonly)



17
# File 'sig/telnyx/models/sub_number_order_regulatory_requirement.rbs', line 17

def field_type=: (

#record_type=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


23
# File 'sig/telnyx/models/sub_number_order_regulatory_requirement.rbs', line 23

def record_type=: (String) -> String

#to_hash{

Returns:

  • ({)


31
# File 'sig/telnyx/models/sub_number_order_regulatory_requirement.rbs', line 31

def to_hash: -> {