projectissue

package
v3.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

README

gitlab_project_issue

Refer to the Terraform Registory for docs: gitlab_project_issue.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProjectIssueTaskCompletionStatusList_Override

func NewProjectIssueTaskCompletionStatusList_Override(p ProjectIssueTaskCompletionStatusList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)

func NewProjectIssueTaskCompletionStatusOutputReference_Override

func NewProjectIssueTaskCompletionStatusOutputReference_Override(p ProjectIssueTaskCompletionStatusOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)

func NewProjectIssue_Override

func NewProjectIssue_Override(p ProjectIssue, scope constructs.Construct, id *string, config *ProjectIssueConfig)

Create a new {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue gitlab_project_issue} Resource.

func ProjectIssue_IsConstruct

func ProjectIssue_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func ProjectIssue_TfResourceType

func ProjectIssue_TfResourceType() *string

Types

type ProjectIssue

type ProjectIssue interface {
	cdktf.TerraformResource
	AssigneeIds() *[]*float64
	SetAssigneeIds(val *[]*float64)
	AssigneeIdsInput() *[]*float64
	AuthorId() *float64
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	ClosedAt() *string
	ClosedByUserId() *float64
	Confidential() interface{}
	SetConfidential(val interface{})
	ConfidentialInput() interface{}
	// Experimental.
	Connection() interface{}
	// Experimental.
	SetConnection(val interface{})
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	Count() *float64
	// Experimental.
	SetCount(val *float64)
	CreatedAt() *string
	SetCreatedAt(val *string)
	CreatedAtInput() *string
	DeleteOnDestroy() interface{}
	SetDeleteOnDestroy(val interface{})
	DeleteOnDestroyInput() interface{}
	// Experimental.
	DependsOn() *[]*string
	// Experimental.
	SetDependsOn(val *[]*string)
	Description() *string
	SetDescription(val *string)
	DescriptionInput() *string
	DiscussionLocked() interface{}
	SetDiscussionLocked(val interface{})
	DiscussionLockedInput() interface{}
	DiscussionToResolve() *string
	SetDiscussionToResolve(val *string)
	DiscussionToResolveInput() *string
	Downvotes() *float64
	DueDate() *string
	SetDueDate(val *string)
	DueDateInput() *string
	EpicId() *float64
	EpicIssueId() *float64
	SetEpicIssueId(val *float64)
	EpicIssueIdInput() *float64
	ExternalId() *string
	// Experimental.
	ForEach() cdktf.ITerraformIterator
	// Experimental.
	SetForEach(val cdktf.ITerraformIterator)
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	HumanTimeEstimate() *string
	HumanTotalTimeSpent() *string
	Id() *string
	SetId(val *string)
	IdInput() *string
	Iid() *float64
	SetIid(val *float64)
	IidInput() *float64
	IssueId() *float64
	IssueLinkId() *float64
	IssueType() *string
	SetIssueType(val *string)
	IssueTypeInput() *string
	Labels() *[]*string
	SetLabels(val *[]*string)
	LabelsInput() *[]*string
	// Experimental.
	Lifecycle() *cdktf.TerraformResourceLifecycle
	// Experimental.
	SetLifecycle(val *cdktf.TerraformResourceLifecycle)
	Links() cdktf.StringMap
	MergeRequestsCount() *float64
	MergeRequestToResolveDiscussionsOf() *float64
	SetMergeRequestToResolveDiscussionsOf(val *float64)
	MergeRequestToResolveDiscussionsOfInput() *float64
	MilestoneId() *float64
	SetMilestoneId(val *float64)
	MilestoneIdInput() *float64
	MovedToId() *float64
	// The tree node.
	Node() constructs.Node
	Project() *string
	SetProject(val *string)
	ProjectInput() *string
	// Experimental.
	Provider() cdktf.TerraformProvider
	// Experimental.
	SetProvider(val cdktf.TerraformProvider)
	// Experimental.
	Provisioners() *[]interface{}
	// Experimental.
	SetProvisioners(val *[]interface{})
	// Experimental.
	RawOverrides() interface{}
	References() cdktf.StringMap
	State() *string
	SetState(val *string)
	StateInput() *string
	Subscribed() cdktf.IResolvable
	TaskCompletionStatus() ProjectIssueTaskCompletionStatusList
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformMetaArguments() *map[string]interface{}
	// Experimental.
	TerraformResourceType() *string
	TimeEstimate() *float64
	Title() *string
	SetTitle(val *string)
	TitleInput() *string
	TotalTimeSpent() *float64
	UpdatedAt() *string
	SetUpdatedAt(val *string)
	UpdatedAtInput() *string
	Upvotes() *float64
	UserNotesCount() *float64
	WebUrl() *string
	Weight() *float64
	SetWeight(val *float64)
	WeightInput() *float64
	// Experimental.
	AddOverride(path *string, value interface{})
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	ResetAssigneeIds()
	ResetConfidential()
	ResetCreatedAt()
	ResetDeleteOnDestroy()
	ResetDescription()
	ResetDiscussionLocked()
	ResetDiscussionToResolve()
	ResetDueDate()
	ResetEpicIssueId()
	ResetId()
	ResetIid()
	ResetIssueType()
	ResetLabels()
	ResetMergeRequestToResolveDiscussionsOf()
	ResetMilestoneId()
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	ResetState()
	ResetUpdatedAt()
	ResetWeight()
	SynthesizeAttributes() *map[string]interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Adds this resource to the terraform JSON output.
	// Experimental.
	ToTerraform() interface{}
}

Represents a {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue gitlab_project_issue}.

func NewProjectIssue

func NewProjectIssue(scope constructs.Construct, id *string, config *ProjectIssueConfig) ProjectIssue

Create a new {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue gitlab_project_issue} Resource.

type ProjectIssueConfig

type ProjectIssueConfig struct {
	// Experimental.
	Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
	// Experimental.
	Count *float64 `field:"optional" json:"count" yaml:"count"`
	// Experimental.
	DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
	// Experimental.
	ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
	// Experimental.
	Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
	// Experimental.
	Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
	// Experimental.
	Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
	// The name or ID of the project.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#project ProjectIssue#project}
	Project *string `field:"required" json:"project" yaml:"project"`
	// The title of the issue.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#title ProjectIssue#title}
	Title *string `field:"required" json:"title" yaml:"title"`
	// The IDs of the users to assign the issue to.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#assignee_ids ProjectIssue#assignee_ids}
	AssigneeIds *[]*float64 `field:"optional" json:"assigneeIds" yaml:"assigneeIds"`
	// Set an issue to be confidential.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#confidential ProjectIssue#confidential}
	Confidential interface{} `field:"optional" json:"confidential" yaml:"confidential"`
	// When the issue was created.
	//
	// Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#created_at ProjectIssue#created_at}
	CreatedAt *string `field:"optional" json:"createdAt" yaml:"createdAt"`
	// Whether the issue is deleted instead of closed during destroy.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#delete_on_destroy ProjectIssue#delete_on_destroy}
	DeleteOnDestroy interface{} `field:"optional" json:"deleteOnDestroy" yaml:"deleteOnDestroy"`
	// The description of an issue. Limited to 1,048,576 characters.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#description ProjectIssue#description}
	Description *string `field:"optional" json:"description" yaml:"description"`
	// Whether the issue is locked for discussions or not.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#discussion_locked ProjectIssue#discussion_locked}
	DiscussionLocked interface{} `field:"optional" json:"discussionLocked" yaml:"discussionLocked"`
	// The ID of a discussion to resolve.
	//
	// This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge_request_to_resolve_discussions_of.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#discussion_to_resolve ProjectIssue#discussion_to_resolve}
	DiscussionToResolve *string `field:"optional" json:"discussionToResolve" yaml:"discussionToResolve"`
	// The due date.
	//
	// Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	// *Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
	//
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#due_date ProjectIssue#due_date}
	DueDate *string `field:"optional" json:"dueDate" yaml:"dueDate"`
	// The ID of the epic issue.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#epic_issue_id ProjectIssue#epic_issue_id}
	EpicIssueId *float64 `field:"optional" json:"epicIssueId" yaml:"epicIssueId"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#id ProjectIssue#id}.
	//
	// Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
	// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
	Id *string `field:"optional" json:"id" yaml:"id"`
	// The internal ID of the project's issue.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#iid ProjectIssue#iid}
	Iid *float64 `field:"optional" json:"iid" yaml:"iid"`
	// The type of issue. Valid values are: `issue`, `incident`, `test_case`.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#issue_type ProjectIssue#issue_type}
	IssueType *string `field:"optional" json:"issueType" yaml:"issueType"`
	// The labels of an issue.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#labels ProjectIssue#labels}
	Labels *[]*string `field:"optional" json:"labels" yaml:"labels"`
	// The IID of a merge request in which to resolve all issues.
	//
	// This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#merge_request_to_resolve_discussions_of ProjectIssue#merge_request_to_resolve_discussions_of}
	MergeRequestToResolveDiscussionsOf *float64 `field:"optional" json:"mergeRequestToResolveDiscussionsOf" yaml:"mergeRequestToResolveDiscussionsOf"`
	// The global ID of a milestone to assign issue.
	//
	// To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#milestone_id ProjectIssue#milestone_id}
	MilestoneId *float64 `field:"optional" json:"milestoneId" yaml:"milestoneId"`
	// The state of the issue. Valid values are: `opened`, `closed`.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#state ProjectIssue#state}
	State *string `field:"optional" json:"state" yaml:"state"`
	// When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#updated_at ProjectIssue#updated_at}
	UpdatedAt *string `field:"optional" json:"updatedAt" yaml:"updatedAt"`
	// The weight of the issue. Valid values are greater than or equal to 0.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/gitlab/r/project_issue#weight ProjectIssue#weight}
	Weight *float64 `field:"optional" json:"weight" yaml:"weight"`
}

type ProjectIssueTaskCompletionStatus

type ProjectIssueTaskCompletionStatus struct {
}

type ProjectIssueTaskCompletionStatusList

type ProjectIssueTaskCompletionStatusList interface {
	cdktf.ComplexList
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	// The attribute on the parent resource this class is referencing.
	TerraformAttribute() *string
	SetTerraformAttribute(val *string)
	// The parent resource.
	TerraformResource() cdktf.IInterpolatingParent
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
	WrapsSet() *bool
	SetWrapsSet(val *bool)
	// Experimental.
	ComputeFqn() *string
	Get(index *float64) ProjectIssueTaskCompletionStatusOutputReference
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewProjectIssueTaskCompletionStatusList

func NewProjectIssueTaskCompletionStatusList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ProjectIssueTaskCompletionStatusList

type ProjectIssueTaskCompletionStatusOutputReference

type ProjectIssueTaskCompletionStatusOutputReference interface {
	cdktf.ComplexObject
	CompletedCount() *float64
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	Count() *float64
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	// Experimental.
	Fqn() *string
	InternalValue() *ProjectIssueTaskCompletionStatus
	SetInternalValue(val *ProjectIssueTaskCompletionStatus)
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewProjectIssueTaskCompletionStatusOutputReference

func NewProjectIssueTaskCompletionStatusOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ProjectIssueTaskCompletionStatusOutputReference

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL