Sha256: 940214a7b4494d7d24d5a72593035ef4af8099a81c0e4cff94aee7b95970df43

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  
    # A response to configure GitHub code samples
    class GithubConfigureCodeSamplesResponse < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The URL of the code sample overlay registry
      field :code_sample_overlay_registry_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('codeSampleOverlayRegistryURL') } }
      # A document referenced by a workflow
      field :source, ::OpenApiSDK::Shared::WorkflowDocument, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('source') } }
      # The ID of the GitHub action that was dispatched
      field :gh_action_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ghActionID') } }


      sig { params(code_sample_overlay_registry_url: ::String, source: ::OpenApiSDK::Shared::WorkflowDocument, gh_action_id: T.nilable(::String)).void }
      def initialize(code_sample_overlay_registry_url: nil, source: nil, gh_action_id: nil)
        @code_sample_overlay_registry_url = code_sample_overlay_registry_url
        @source = source
        @gh_action_id = gh_action_id
      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/githubconfigurecodesamplesresponse.rb