Sha256: 94fa0a059f77edc42fad6c38ce422c12c0e9d021668208d2634d8e34d1df02f7

Contents?: true

Size: 1.31 KB

Versions: 7

Compression:

Stored size: 1.31 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). 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

7 entries across 7 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.22 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.21 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.20 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.19 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.18 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.17 lib/speakeasy_client_sdk/models/shared/filters.rb
speakeasy_client_sdk_ruby-4.2.16 lib/speakeasy_client_sdk/models/shared/filters.rb