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-2.2.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-2.2.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-2.1.3 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-2.1.2 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-2.1.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-2.1.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-2.0.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.27.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.27.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.26.4 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.26.3 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.26.2 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.26.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.26.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.25.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.24.1 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.24.0 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.23.5 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.23.4 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-1.23.3 lib/sdk/models/shared/filter.rb