Class: Stigg::Models::V1::AddonListParams::CreatedAt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stigg/models/v1/addon_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(gt: nil, gte: nil, lt: nil, lte: nil) ⇒ Object

Filter by creation date using range operators: gt, gte, lt, lte

Parameters:

  • gt (Time) (defaults to: nil)

    Greater than the specified createdAt value

  • gte (Time) (defaults to: nil)

    Greater than or equal to the specified createdAt value

  • lt (Time) (defaults to: nil)

    Less than the specified createdAt value

  • lte (Time) (defaults to: nil)

    Less than or equal to the specified createdAt value



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'lib/stigg/models/v1/addon_list_params.rb', line 62

class CreatedAt < Stigg::Internal::Type::BaseModel
  # @!attribute gt
  #   Greater than the specified createdAt value
  #
  #   @return [Time, nil]
  optional :gt, Time

  # @!attribute gte
  #   Greater than or equal to the specified createdAt value
  #
  #   @return [Time, nil]
  optional :gte, Time

  # @!attribute lt
  #   Less than the specified createdAt value
  #
  #   @return [Time, nil]
  optional :lt, Time

  # @!attribute lte
  #   Less than or equal to the specified createdAt value
  #
  #   @return [Time, nil]
  optional :lte, Time

  # @!method initialize(gt: nil, gte: nil, lt: nil, lte: nil)
  #   Filter by creation date using range operators: gt, gte, lt, lte
  #
  #   @param gt [Time] Greater than the specified createdAt value
  #
  #   @param gte [Time] Greater than or equal to the specified createdAt value
  #
  #   @param lt [Time] Less than the specified createdAt value
  #
  #   @param lte [Time] Less than or equal to the specified createdAt value
end

Instance Attribute Details

#gtTime?

Greater than the specified createdAt value

Returns:

  • (Time, nil)


67
# File 'lib/stigg/models/v1/addon_list_params.rb', line 67

optional :gt, Time

#gteTime?

Greater than or equal to the specified createdAt value

Returns:

  • (Time, nil)


73
# File 'lib/stigg/models/v1/addon_list_params.rb', line 73

optional :gte, Time

#ltTime?

Less than the specified createdAt value

Returns:

  • (Time, nil)


79
# File 'lib/stigg/models/v1/addon_list_params.rb', line 79

optional :lt, Time

#lteTime?

Less than or equal to the specified createdAt value

Returns:

  • (Time, nil)


85
# File 'lib/stigg/models/v1/addon_list_params.rb', line 85

optional :lte, Time