Class: Telnyx::Models::DocumentLinkListParams::Filter

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

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(linked_record_type: nil, linked_resource_id: nil) ⇒ Object

Consolidated filter parameter for document links (deepObject style). Originally: filter, filter

Parameters:

  • linked_record_type (String) (defaults to: nil)

    The linked_record_type of the document to filter on.

  • linked_resource_id (String) (defaults to: nil)

    The linked_resource_id of the document to filter on.



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/telnyx/models/document_link_list_params.rb', line 39

class Filter < Telnyx::Internal::Type::BaseModel
  # @!attribute linked_record_type
  #   The linked_record_type of the document to filter on.
  #
  #   @return [String, nil]
  optional :linked_record_type, String

  # @!attribute linked_resource_id
  #   The linked_resource_id of the document to filter on.
  #
  #   @return [String, nil]
  optional :linked_resource_id, String

  # @!method initialize(linked_record_type: nil, linked_resource_id: nil)
  #   Consolidated filter parameter for document links (deepObject style). Originally:
  #   filter[linked_record_type], filter[linked_resource_id]
  #
  #   @param linked_record_type [String] The linked_record_type of the document to filter on.
  #
  #   @param linked_resource_id [String] The linked_resource_id of the document to filter on.
end

Instance Attribute Details

#linked_record_typeString?

The linked_record_type of the document to filter on.

Parameters:

  • (String)

Returns:

  • (String, nil)


44
# File 'lib/telnyx/models/document_link_list_params.rb', line 44

optional :linked_record_type, String

#linked_resource_idString?

The linked_resource_id of the document to filter on.

Parameters:

  • (String)

Returns:

  • (String, nil)


50
# File 'lib/telnyx/models/document_link_list_params.rb', line 50

optional :linked_resource_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


59
# File 'sig/telnyx/models/document_link_list_params.rbs', line 59

def to_hash: -> {