Sha256: f2bfb2e88fba70b22abc6f9639f09402159a4da9ec572bf2a4206cf0f465c523

Contents?: true

Size: 1.32 KB

Versions: 40

Compression:

Stored size: 1.32 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  
    # Filters are used to query requests.
    class Filters < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # A list of filters to apply to the query.
      field :filters, T::Array[::SpeakeasyClientSDK::Shared::Filter], { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('filters') } }
      # The maximum number of results to return.
      field :limit, ::Integer, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('limit') } }
      # The offset to start the query from.
      field :offset, ::Integer, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('offset') } }
      # The operator to use when combining filters.
      field :operator, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('operator') } }


      sig { params(filters: T::Array[::SpeakeasyClientSDK::Shared::Filter], limit: ::Integer, offset: ::Integer, operator: ::String).void }
      def initialize(filters: nil, limit: nil, offset: nil, operator: nil)
        @filters = filters
        @limit = limit
        @offset = offset
        @operator = operator
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.14 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.13 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.12 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.11 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.10 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.9 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.8 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.7 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.6 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.5 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.11 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.10 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.9 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.8 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.7 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.6 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.5 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.4 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.3 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.1.2 lib/speakeasy_client_sdk/models/shared/filters.rb