Class: Increase::Models::LockboxRecipientListParams::CreatedAt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/lockbox_recipient_list_params.rb,
sig/increase/models/lockbox_recipient_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(after: nil, before: nil, on_or_after: nil, on_or_before: nil) ⇒ Object

Parameters:

  • after (Time) (defaults to: nil)

    Return results after this ISO 8601 timestamp.

  • before (Time) (defaults to: nil)

    Return results before this ISO 8601 timestamp.

  • on_or_after (Time) (defaults to: nil)

    Return results on or after this ISO 8601 timestamp.

  • on_or_before (Time) (defaults to: nil)

    Return results on or before this ISO 8601 timestamp.



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# File 'lib/increase/models/lockbox_recipient_list_params.rb', line 75

class CreatedAt < Increase::Internal::Type::BaseModel
  # @!attribute after
  #   Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
  #   timestamp.
  #
  #   @return [Time, nil]
  optional :after, Time

  # @!attribute before
  #   Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
  #   timestamp.
  #
  #   @return [Time, nil]
  optional :before, Time

  # @!attribute on_or_after
  #   Return results on or after this
  #   [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
  #
  #   @return [Time, nil]
  optional :on_or_after, Time

  # @!attribute on_or_before
  #   Return results on or before this
  #   [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
  #
  #   @return [Time, nil]
  optional :on_or_before, Time

  # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil)
  #   @param after [Time]
  #     Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
  #     timestamp.
  #
  #   @param before [Time]
  #     Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
  #     timestamp.
  #
  #   @param on_or_after [Time]
  #     Return results on or after this
  #     [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
  #
  #   @param on_or_before [Time]
  #     Return results on or before this
  #     [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
end

Instance Attribute Details

#afterTime?

Return results after this ISO 8601 timestamp.

Parameters:

  • (Time)

Returns:

  • (Time, nil)


81
# File 'lib/increase/models/lockbox_recipient_list_params.rb', line 81

optional :after, Time

#beforeTime?

Return results before this ISO 8601 timestamp.

Parameters:

  • (Time)

Returns:

  • (Time, nil)


88
# File 'lib/increase/models/lockbox_recipient_list_params.rb', line 88

optional :before, Time

#on_or_afterTime?

Return results on or after this ISO 8601 timestamp.

Parameters:

  • (Time)

Returns:

  • (Time, nil)


95
# File 'lib/increase/models/lockbox_recipient_list_params.rb', line 95

optional :on_or_after, Time

#on_or_beforeTime?

Return results on or before this ISO 8601 timestamp.

Parameters:

  • (Time)

Returns:

  • (Time, nil)


102
# File 'lib/increase/models/lockbox_recipient_list_params.rb', line 102

optional :on_or_before, Time

Instance Method Details

#to_hash{

Returns:

  • ({)


91
# File 'sig/increase/models/lockbox_recipient_list_params.rbs', line 91

def to_hash: -> {