Sha256: 92794d56403e63583388276eb08610c509b7d0292b07b5c714d29fd2a1c0e359

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 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
    # An UnboundedRequest represents the HAR content capture by Speakeasy when logging a request.
    class UnboundedRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # Creation timestamp.
      field :created_at, DateTime, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
      # The HAR content of the request.
      field :har, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('har') } }
      # The size of the HAR content in bytes.
      field :har_size_bytes, Integer, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('har_size_bytes') } }
      # The ID of this request.
      field :request_id, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('request_id') } }
      # The workspace ID this request was made to.
      field :workspace_id, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('workspace_id') } }


      sig { params(created_at: DateTime, har: String, har_size_bytes: Integer, request_id: String, workspace_id: String).void }
      def initialize(created_at: nil, har: nil, har_size_bytes: nil, request_id: nil, workspace_id: nil)
        @created_at = created_at
        @har = har
        @har_size_bytes = har_size_bytes
        @request_id = request_id
        @workspace_id = workspace_id
      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/unboundedrequest.rb
speakeasy_client_sdk_ruby-2.2.2 lib/sdk/models/shared/unboundedrequest.rb