Sha256: 6ef5059506b5f667f68571ecde62eeea4624fcfaef29c99b0525ae9413dad712

Contents?: true

Size: 1.95 KB

Versions: 14

Compression:

Stored size: 1.95 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

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

      # Whether to archive this domain. `false` will unarchive a previously archived domain.
      field :archived, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
      # Redirect users to a specific URL when any link under this domain has expired.
      field :expired_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
      # The logo of the domain.
      field :logo, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } }
      # Redirect users to a specific URL when a link under this domain doesn't exist.
      field :not_found_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('notFoundUrl') } }
      # Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
      field :placeholder, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('placeholder') } }
      # Name of the domain.
      field :slug, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }


      sig { params(archived: T.nilable(T::Boolean), expired_url: T.nilable(::String), logo: T.nilable(::String), not_found_url: T.nilable(::String), placeholder: T.nilable(::String), slug: T.nilable(::String)).void }
      def initialize(archived: nil, expired_url: nil, logo: nil, not_found_url: nil, placeholder: nil, slug: nil)
        @archived = archived
        @expired_url = expired_url
        @logo = logo
        @not_found_url = not_found_url
        @placeholder = placeholder
        @slug = slug
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dub-0.2.2.pre.alpha.55 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.54 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.53 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.52 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.51 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.50 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.49 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.48 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.47 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.46 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.45 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.44 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.43 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb
dub-0.2.2.pre.alpha.42 lib/open_api_sdk/models/operations/updatedomain_requestbody.rb