Sha256: 0cdd923b785943613876238c62cfb7831ea173ece1906494d49160ff2bf73c96

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dub-0.1.2 lib/open_api_sdk/models/operations/createdomain_request.rb
dub-0.1.1 lib/open_api_sdk/models/operations/createdomain_request.rb
dub-0.1.0 lib/open_api_sdk/models/operations/createdomain_request.rb
dub-0.0.7 lib/open_api_sdk/models/operations/createdomain_request.rb
dub-0.0.6 lib/open_api_sdk/models/operations/createdomain_request.rb