Sha256: a6a89ca427724af9b2ef6cebff2221c10963874bf0a8e0947d3489f38b26fc4e

Contents?: true

Size: 984 Bytes

Versions: 2

Compression:

Stored size: 984 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

    class WebhookDto < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The events that the webhook listen to.
      field :scope, T::Array[::String], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('scope') } }
      # The endpoint url of the webhook.
      field :url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
      # The description of the webhook.
      field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }


      sig { params(scope: T::Array[::String], url: ::String, description: T.nilable(::String)).void }
      def initialize(scope: nil, url: nil, description: nil)
        @scope = scope
        @url = url
        @description = description
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
panora-0.2.5 lib/open_api_sdk/models/shared/webhookdto.rb
panora-0.2.4 lib/open_api_sdk/models/shared/webhookdto.rb