Sha256: 54e311e6166d8a6259911fb368f0fb747bbb8b48fa0d48d815df879efcc62637

Contents?: true

Size: 1012 Bytes

Versions: 57

Compression:

Stored size: 1012 Bytes

Contents

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

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'

module SpeakeasyClientSDK
  module Shared
    # A filter is a key-value pair that can be used to filter a list of requests.
    class Filter < SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # The key of the filter.
      field :key, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('key') } }
      # The operator of the filter.
      field :operator, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('operator') } }
      # The value of the filter.
      field :value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value') } }


      sig { params(key: String, operator: String, value: String).void }
      def initialize(key: nil, operator: nil, value: nil)
        @key = key
        @operator = operator
        @value = value
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-1.23.2 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.23.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.23.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.22.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.21.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.20.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.20.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.19.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.18.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.17.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.16.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.16.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.15.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.15.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.14.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.13.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.12.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.12.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.11.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.11.0 lib/sdk/models/shared/filter.rb