Sha256: de3a52c57fc8b743db7b6f718b0dd2c8b426132c8347a95a64892d98ce82279d

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

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': ::SpeakeasyClientSDK::Utils.field_name('key') } }
      # The operator of the filter.
      field :operator, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('operator') } }
      # The value of the filter.
      field :value, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::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

2 entries across 2 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-2.2.3 lib/sdk/models/shared/filter.rb
speakeasy_client_sdk_ruby-2.2.2 lib/sdk/models/shared/filter.rb