Sha256: 643cadc3d924b8b025f96ac47d60e3b22c0bc496d207ecf24787b87d755e899c

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

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

      # The ID of the tag
      field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
      # The slug of the project. This field is deprecated – use `workspaceId` instead.
      field :project_slug, T.nilable(::String), { 'query_param': { 'field_name': 'projectSlug', 'style': 'form', 'explode': true } }

      field :request_body, T.nilable(::OpenApiSDK::Operations::UpdateTagRequestBody), { 'request': { 'media_type': 'application/json' } }
      # The ID of the workspace.
      field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }


      sig { params(id: ::String, project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::UpdateTagRequestBody), workspace_id: T.nilable(::String)).void }
      def initialize(id: nil, project_slug: nil, request_body: nil, workspace_id: nil)
        @id = id
        @project_slug = project_slug
        @request_body = request_body
        @workspace_id = workspace_id
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dub-0.1.2 lib/open_api_sdk/models/operations/updatetag_request.rb
dub-0.1.1 lib/open_api_sdk/models/operations/updatetag_request.rb