Class: Telnyx::Models::MessagingOptoutListParams::CreatedAt

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

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(created_at: nil, filter: nil, page_number: nil, page_size: nil, redaction_enabled: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::MessagingOptoutListParams for more details.

Parameters:

  • created_at (Telnyx::Models::MessagingOptoutListParams::CreatedAt) (defaults to: nil)

    Consolidated created_at parameter (deepObject style). Originally: created_at[gte

  • filter (Telnyx::Models::MessagingOptoutListParams::Filter) (defaults to: nil)

    Consolidated filter parameter (deepObject style). Originally: filter[messaging_p

  • page_number (Integer) (defaults to: nil)
  • page_size (Integer) (defaults to: nil)
  • redaction_enabled (String) (defaults to: nil)

    If receiving address (+E.164 formatted phone number) should be redacted

  • request_options (Telnyx::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/telnyx/models/messaging_optout_list_params.rb', line 56

class CreatedAt < Telnyx::Internal::Type::BaseModel
  # @!attribute gte
  #   Filter opt-outs created after this date (ISO-8601 format)
  #
  #   @return [Time, nil]
  optional :gte, Time

  # @!attribute lte
  #   Filter opt-outs created before this date (ISO-8601 format)
  #
  #   @return [Time, nil]
  optional :lte, Time

  # @!method initialize(gte: nil, lte: nil)
  #   Consolidated created_at parameter (deepObject style). Originally:
  #   created_at[gte], created_at[lte]
  #
  #   @param gte [Time] Filter opt-outs created after this date (ISO-8601 format)
  #
  #   @param lte [Time] Filter opt-outs created before this date (ISO-8601 format)
end

Instance Attribute Details

#gteTime?

Filter opt-outs created after this date (ISO-8601 format)

Returns:

  • (Time, nil)


61
# File 'lib/telnyx/models/messaging_optout_list_params.rb', line 61

optional :gte, Time

#lteTime?

Filter opt-outs created before this date (ISO-8601 format)

Returns:

  • (Time, nil)


67
# File 'lib/telnyx/models/messaging_optout_list_params.rb', line 67

optional :lte, Time