Class: OpenAI::Models::Admin::Organization::AuditLogListParams::EffectiveAt

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/admin/organization/audit_log_list_params.rb,
sig/openai/models/admin/organization/audit_log_list_params.rbs

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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(actor_emails: nil, actor_ids: nil, after: nil, before: nil, effective_at: nil, event_types: nil, limit: nil, project_ids: nil, resource_ids: nil, tenant_only: nil, request_options: {}) ⇒ Object

Parameters:

  • gt —

    Return only events whose effective_at (Unix seconds) is greater than this value.

  • gte —

    Return only events whose effective_at (Unix seconds) is greater than or equal to this value.

  • lt —

    Return only events whose effective_at (Unix seconds) is less than this value.

  • lte —

    Return only events whose effective_at (Unix seconds) is less than or equal to this value.



138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# File 'lib/openai/models/admin/organization/audit_log_list_params.rb', line 138

class EffectiveAt < OpenAI::Internal::Type::BaseModel
  # @!attribute gt
  #   Return only events whose `effective_at` (Unix seconds) is greater than this
  #   value.
  #
  #   @return [Integer, nil]
  optional :gt, Integer

  # @!attribute gte
  #   Return only events whose `effective_at` (Unix seconds) is greater than or equal
  #   to this value.
  #
  #   @return [Integer, nil]
  optional :gte, Integer

  # @!attribute lt
  #   Return only events whose `effective_at` (Unix seconds) is less than this value.
  #
  #   @return [Integer, nil]
  optional :lt, Integer

  # @!attribute lte
  #   Return only events whose `effective_at` (Unix seconds) is less than or equal to
  #   this value.
  #
  #   @return [Integer, nil]
  optional :lte, Integer

  # @!method initialize(gt: nil, gte: nil, lt: nil, lte: nil)
  #   Return only events whose `effective_at` (Unix seconds) is in this range.
  #
  #   @param gt [Integer]
  #     Return only events whose `effective_at` (Unix seconds) is greater than this
  #     value.
  #
  #   @param gte [Integer]
  #     Return only events whose `effective_at` (Unix seconds) is greater than or equal
  #     to this value.
  #
  #   @param lt [Integer]
  #     Return only events whose `effective_at` (Unix seconds) is less than this value.
  #
  #   @param lte [Integer]
  #     Return only events whose `effective_at` (Unix seconds) is less than or equal to
  #     this value.
end

Instance Attribute Details

#gt ⇒ Integer?

Return only events whose effective_at (Unix seconds) is greater than this value.

Returns:

  • (Integer, nil)


144
# File 'lib/openai/models/admin/organization/audit_log_list_params.rb', line 144

optional :gt, Integer

#gte ⇒ Integer?

Return only events whose effective_at (Unix seconds) is greater than or equal to this value.

Returns:

  • (Integer, nil)


151
# File 'lib/openai/models/admin/organization/audit_log_list_params.rb', line 151

optional :gte, Integer

#lt ⇒ Integer?

Return only events whose effective_at (Unix seconds) is less than this value.

Returns:

  • (Integer, nil)


157
# File 'lib/openai/models/admin/organization/audit_log_list_params.rb', line 157

optional :lt, Integer

#lte ⇒ Integer?

Return only events whose effective_at (Unix seconds) is less than or equal to this value.

Returns:

  • (Integer, nil)


164
# File 'lib/openai/models/admin/organization/audit_log_list_params.rb', line 164

optional :lte, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


233
# File 'sig/openai/models/admin/organization/audit_log_list_params.rbs', line 233

def to_hash: -> {