Sha256: 0dc37d3c38bdf2891dcc040a2875142bc5718301b86c261abb1187e0a9e7a727

Contents?: true

Size: 1.31 KB

Versions: 15

Compression:

Stored size: 1.31 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). 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 } }


      sig { params(domain: T.nilable(::String), external_id: T.nilable(::String), key: T.nilable(::String), link_id: T.nilable(::String)).void }
      def initialize(domain: nil, external_id: nil, key: nil, link_id: nil)
        @domain = domain
        @external_id = external_id
        @key = key
        @link_id = link_id
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dub-0.2.2.pre.alpha.19 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.18 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.17 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.16 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.15 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.14 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.13 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.12 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.11 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.10 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.9 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.8 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.7 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.6 lib/open_api_sdk/models/operations/getlinkinfo_request.rb
dub-0.2.2.pre.alpha.5 lib/open_api_sdk/models/operations/getlinkinfo_request.rb