Sha256: c09602a7aceca1b713202f78d688c4ef83662f75b8490684798963c1f4f70d31

Contents?: true

Size: 973 Bytes

Versions: 1

Compression:

Stored size: 973 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  
    # A filter is a key-value pair that can be used to filter a list of requests.
    class Filter < ::OpenApiSDK::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

1 entries across 1 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.24 lib/open_api_sdk/models/shared/filter.rb