Sha256: cddc51bff0e82b458614772ab40c759a5201e3027e887432199b04905bc92029
Contents?: true
Size: 1.86 KB
Versions: 2
Compression:
Stored size: 1.86 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' module SpeakeasyClientSDK module Shared # A plugin is a short script that is run against ingested requests class Plugin < ::SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig field :code, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('code') } } field :plugin_id, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('plugin_id') } } field :title, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('title') } } field :workspace_id, String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('workspace_id') } } field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } } field :eval_hash, T.nilable(String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('eval_hash') } } field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } sig { params(code: String, plugin_id: String, title: String, workspace_id: String, created_at: T.nilable(DateTime), eval_hash: T.nilable(String), updated_at: T.nilable(DateTime)).void } def initialize(code: nil, plugin_id: nil, title: nil, workspace_id: nil, created_at: nil, eval_hash: nil, updated_at: nil) @code = code @plugin_id = plugin_id @title = title @workspace_id = workspace_id @created_at = created_at @eval_hash = eval_hash @updated_at = updated_at end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
speakeasy_client_sdk_ruby-2.2.3 | lib/sdk/models/shared/plugin.rb |
speakeasy_client_sdk_ruby-2.2.2 | lib/sdk/models/shared/plugin.rb |