Sha256: 73a456dfd26b57eaba520385060ecb044606ba7089b731fb851931a6fe63c550

Contents?: true

Size: 1.32 KB

Versions: 9

Compression:

Stored size: 1.32 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

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

      # The domain name.
      field :slug, ::String, { 'path_param': { 'field_name': 'slug', 'style': 'simple', 'explode': false } }
      # 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 } }

      field :request_body, T.nilable(::OpenApiSDK::Operations::UpdateDomainRequestBody), { 'request': { 'media_type': 'application/json' } }
      # The ID of the workspace.
      field :workspace_id, T.nilable(::String), { 'query_param': { 'field_name': 'workspaceId', 'style': 'form', 'explode': true } }


      sig { params(slug: ::String, project_slug: T.nilable(::String), request_body: T.nilable(::OpenApiSDK::Operations::UpdateDomainRequestBody), workspace_id: T.nilable(::String)).void }
      def initialize(slug: nil, project_slug: nil, request_body: nil, workspace_id: nil)
        @slug = slug
        @project_slug = project_slug
        @request_body = request_body
        @workspace_id = workspace_id
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dub-0.1.2 lib/open_api_sdk/models/operations/updatedomain_request.rb
dub-0.1.1 lib/open_api_sdk/models/operations/updatedomain_request.rb
dub-0.1.0 lib/open_api_sdk/models/operations/updatedomain_request.rb
dub-0.0.7 lib/open_api_sdk/models/operations/updatedomain_request.rb
dub-0.0.6 lib/open_api_sdk/models/operations/updatedomain_request.rb
dub-0.0.5 lib/open_api_sdk/models/operations/updatedomain_request.rb
dub-0.0.4 lib/open_api_sdk/models/operations/updatedomain_request.rb
dub-0.0.3 lib/open_api_sdk/models/operations/updatedomain_request.rb
dub-0.0.2 lib/open_api_sdk/models/operations/updatedomain_request.rb