Sha256: df83aeb558a18f3629b2c3a508e84fd6a2ae6f8ae5f5ba7b6fd589804fb6d300
Contents?: true
Size: 1.45 KB
Versions: 9
Compression:
Stored size: 1.45 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Operations class UpdateLinkRequest < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig # The id of the link to update. You may use either `linkId` (obtained via `/links/info` endpoint) or `externalId` prefixed with `ext_`. field :link_id, ::String, { 'path_param': { 'field_name': 'linkId', '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::UpdateLinkRequestBody), { '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(link_id: ::String, project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::UpdateLinkRequestBody), workspace_id: T.nilable(::String)).void } def initialize(link_id: nil, project_slug: nil, request_body: nil, workspace_id: nil) @link_id = link_id @project_slug = project_slug @request_body = request_body @workspace_id = workspace_id end end end end
Version data entries
9 entries across 9 versions & 1 rubygems