Sha256: 78fec1f04df5562497d95ddfcad2196c5c474d4668d271c63749a5fa4ef10296

Contents?: true

Size: 1.83 KB

Versions: 18

Compression:

Stored size: 1.83 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # The provider service category
      field :category, ::StackOne::Shared::Category, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category'), 'decoder': Utils.enum_from_string(::StackOne::Shared::Category, false) } }

      field :models, T::Hash[Symbol, ::Object], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('models') } }
      # The provider key
      field :provider, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
      # The provider human-readable label
      field :provider_name, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider_name') } }
      # Whether this provider has been enabled on the integrations page for the current project
      field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
      # Resources for this provider, such as image assets
      field :resources, T.nilable(::StackOne::Shared::Resources), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('resources') } }


      sig { params(category: ::StackOne::Shared::Category, models: T::Hash[Symbol, ::Object], provider: ::String, provider_name: ::String, active: T.nilable(T::Boolean), resources: T.nilable(::StackOne::Shared::Resources)).void }
      def initialize(category: nil, models: nil, provider: nil, provider_name: nil, active: nil, resources: nil)
        @category = category
        @models = models
        @provider = provider
        @provider_name = provider_name
        @active = active
        @resources = resources
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
stackone_client-0.2.18 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.17 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.16 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.15 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.14 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.13 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.12 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.11 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.10 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.9 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.7 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.6 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.4 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.3 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.2 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.1 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.2.0 lib/stack_one/models/shared/connectorsmeta.rb
stackone_client-0.1.1 lib/stack_one/models/shared/connectorsmeta.rb