Sha256: b284bb325f218325588f0aeb0305181940da1651b211a480d278404a673b705d
Contents?: true
Size: 1.87 KB
Versions: 9
Compression:
Stored size: 1.87 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Operations class GetLinkInfoRequest < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } } # This is the ID of the link in the your database. Must be prefixed with `ext_` when passed as a query parameter. field :external_id, T.nilable(::String), { 'query_param': { 'field_name': 'externalId', 'style': 'form', 'explode': true } } # The key of the link to retrieve. E.g. for `d.to/github`, the key is `github`. field :key, T.nilable(::String), { 'query_param': { 'field_name': 'key', 'style': 'form', 'explode': true } } # The unique ID of the short link. field :link_id, T.nilable(::String), { 'query_param': { 'field_name': 'linkId', 'style': 'form', 'explode': true } } # 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 } } # The ID of the workspace. field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } } sig { params(domain: T.nilable(::String), external_id: T.nilable(::String), key: T.nilable(::String), link_id: T.nilable(::String), project_slug: T.nilable(::String), workspace_id: T.nilable(::String)).void } def initialize(domain: nil, external_id: nil, key: nil, link_id: nil, project_slug: nil, workspace_id: nil) @domain = domain @external_id = external_id @key = key @link_id = link_id @project_slug = project_slug @workspace_id = workspace_id end end end end
Version data entries
9 entries across 9 versions & 1 rubygems