Sha256: 4cde018c98c6eefb9266d07074750bc8a5fc298d6efcf4df659128f007b5c618

Contents?: true

Size: 773 Bytes

Versions: 1

Compression:

Stored size: 773 Bytes

Contents

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

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'

module StackOne
  module Shared

    class Security < StackOne::Utils::FieldAugmented
      extend T::Sig


      field :password, T.nilable(String), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'password' } }

      field :username, T.nilable(String), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'username' } }


      sig { params(password: T.nilable(String), username: T.nilable(String)).void }
      def initialize(password: nil, username: nil)
        @password = password
        @username = username
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.0.1 lib/stackone/models/shared/security.rb