Sha256: 8d03ca16e23f81074bb48979d5944a733b66e8a17038c0a793c3c69f4522d24c

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

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

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'
require_relative '../shared/atscreateapplicationrequestdto'
require_relative '../shared/createresult'

module StackOne
  module Operations

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


      field :ats_create_application_request_dto, Shared::AtsCreateApplicationRequestDto, { 'request': { 'media_type': 'application/json' } }
      # The account identifier
      field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }


      sig { params(ats_create_application_request_dto: Shared::AtsCreateApplicationRequestDto, x_account_id: String).void }
      def initialize(ats_create_application_request_dto: nil, x_account_id: nil)
        @ats_create_application_request_dto = ats_create_application_request_dto
        @x_account_id = x_account_id
      end
    end


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

      # HTTP response content type for this operation
      field :content_type, String
      # Raw HTTP response; suitable for custom response parsing
      field :raw_response, Faraday::Response
      # HTTP response status code for this operation
      field :status_code, Integer
      # The application was created successfully.
      field :create_result, T.nilable(Shared::CreateResult)


      sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, create_result: T.nilable(Shared::CreateResult)).void }
      def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
        @content_type = content_type
        @raw_response = raw_response
        @status_code = status_code
        @create_result = create_result
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.0.1 lib/stackone/models/operations/ats_create_application.rb