Sha256: ab86b526155aa9725fe36f7ef29134c2ce717bdc77d94e712cc4aeda856725ed

Contents?: true

Size: 1.55 KB

Versions: 8

Compression:

Stored size: 1.55 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

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

      # The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
      field :domain, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
      # The unique ID of the short link.
      field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
      # The short link slug. If not provided, a random 7-character slug will be generated.
      field :key, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('key') } }
      # The ID of the program the short link is associated with.
      field :program_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('programId') } }
      # The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`).
      field :short_link, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('shortLink') } }


      sig { params(domain: ::String, id: ::String, key: ::String, program_id: ::String, short_link: ::String).void }
      def initialize(domain: nil, id: nil, key: nil, program_id: nil, short_link: nil)
        @domain = domain
        @id = id
        @key = key
        @program_id = program_id
        @short_link = short_link
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dub-0.2.2.pre.alpha.55 lib/open_api_sdk/models/operations/link.rb
dub-0.2.2.pre.alpha.54 lib/open_api_sdk/models/operations/link.rb
dub-0.2.2.pre.alpha.53 lib/open_api_sdk/models/operations/link.rb
dub-0.2.2.pre.alpha.52 lib/open_api_sdk/models/operations/link.rb
dub-0.2.2.pre.alpha.51 lib/open_api_sdk/models/operations/link.rb
dub-0.2.2.pre.alpha.50 lib/open_api_sdk/models/operations/link.rb
dub-0.2.2.pre.alpha.49 lib/open_api_sdk/models/operations/link.rb
dub-0.2.2.pre.alpha.48 lib/open_api_sdk/models/operations/link.rb