Class CreateProjectOptions
Class for API client project creation options.
Implements
Namespace: Tableau.Migration.Api.Models
Assembly: Tableau.Migration.dll
Syntax
public class CreateProjectOptions : ICreateProjectOptions
Constructors
CreateProjectOptions(IContentReference?, string, string?, string?, bool)
Creates a new CreateProjectOptions instance.
Declaration
public CreateProjectOptions(IContentReference? parentProject, string name, string? description, string? contentPermissions, bool publishSamples)
Parameters
Type | Name | Description |
---|---|---|
IContentReference | parentProject | The parent project if applicable. |
string | name | The name of the project. |
string | description | The description of the project. |
string | contentPermissions | The content permissions for the project. |
bool | publishSamples | True to publish sample content, false otherwise. |
Properties
ContentPermissions
Gets the optional user permissions in a project.
Declaration
public string? ContentPermissions { get; }
Property Value
Type | Description |
---|---|
string |
Description
Gets the optional description for the project.
Declaration
public string? Description { get; }
Property Value
Type | Description |
---|---|
string |
Name
Gets the name of the project.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
ParentProject
Gets the optional parent project.
Declaration
public IContentReference? ParentProject { get; }
Property Value
Type | Description |
---|---|
IContentReference |
PublishSamples
Gets whether to publish sample workbooks to the project.
Declaration
public bool PublishSamples { get; }
Property Value
Type | Description |
---|---|
bool |