Sha256: d05df826dc506727f5755da3be0878bb71a5b2f2c761a1dd219379b7ad2d35ed
Contents?: true
Size: 1.44 KB
Versions: 13
Compression:
Stored size: 1.44 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). 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') } } # 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), placeholder: T.nilable(::String), slug: T.nilable(::String)).void } def initialize(archived: nil, expired_url: nil, placeholder: nil, slug: nil) @archived = archived @expired_url = expired_url @placeholder = placeholder @slug = slug end end end end
Version data entries
13 entries across 13 versions & 1 rubygems