Class: Telnyx::Models::DocReqsRequirementType

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

Defined Under Namespace

Modules: Type Classes: AcceptanceCriteria

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(acceptable_characters: nil, acceptable_values: nil, locality_limit: nil, max_length: nil, min_length: nil, time_limit: nil) ⇒ Object

Some parameter documentations has been truncated, see AcceptanceCriteria for more details.

Specifies objective criteria for acceptance

Parameters:

  • acceptable_characters (String) (defaults to: nil)

    Specifies the allowed characters as a string

  • acceptable_values (Array<String>) (defaults to: nil)

    Specifies the list of strictly possible values for the requirement. Ignored when

  • locality_limit (String) (defaults to: nil)

    Specifies geography-based acceptance criteria

  • max_length (Integer) (defaults to: nil)

    Maximum length allowed for the value

  • min_length (Integer) (defaults to: nil)

    Minimum length allowed for the value

  • time_limit (String) (defaults to: nil)

    Specifies time-based acceptance criteria



# File 'lib/telnyx/models/doc_reqs_requirement_type.rb', line 62

Instance Attribute Details

#acceptance_criteriaTelnyx::Models::DocReqsRequirementType::AcceptanceCriteria?

Specifies objective criteria for acceptance



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

optional :acceptance_criteria, -> { Telnyx::DocReqsRequirementType::AcceptanceCriteria }

#descriptionString?

Describes the requirement type

Returns:

  • (String, nil)


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

optional :description, String

#exampleString?

Provides one or more examples of acceptable documents

Returns:

  • (String, nil)


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

optional :example, String

#typeSymbol, ...

Defines the type of this requirement type



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

optional :type, enum: -> { Telnyx::DocReqsRequirementType::Type }