Sha256: 2a707d8e75ba9483896315ed7c9a562c81f2d33f76204f5dcecedf90e402b662

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 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 } }

      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, request_body: T.nilable(::OpenApiSDK::Operations::UpdateDomainRequestBody), workspace_id: T.nilable(::String)).void }
      def initialize(slug: nil, request_body: nil, workspace_id: nil)
        @slug = slug
        @request_body = request_body
        @workspace_id = workspace_id
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dub-0.1.3 lib/open_api_sdk/models/operations/updatedomain_request.rb