Sha256: 4cdf876a7af9bbdc8874e518e0bf98cd9382d3338b461bef59931faea17a08f3

Contents?: true

Size: 1.06 KB

Versions: 7

Compression:

Stored size: 1.06 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

    class SetPrimaryDomainRequest < ::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 } }
      # 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), workspace_id: T.nilable(::String)).void }
      def initialize(slug: nil, project_slug: nil, workspace_id: nil)
        @slug = slug
        @project_slug = project_slug
        @workspace_id = workspace_id
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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