Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewTeamLabelResource() resource.Resource
- func NewTeamResource() resource.Resource
- func NewTeamWorkflowResource() resource.Resource
- func NewWorkflowStateResource() resource.Resource
- func NewWorkspaceDataSource() datasource.DataSource
- func NewWorkspaceLabelResource() resource.Resource
- func NewWorkspaceSettingsResource() resource.Resource
- type Day
- type IssueLabel
- type IssueLabelCreateInput
- func (v *IssueLabelCreateInput) GetColor() *string
- func (v *IssueLabelCreateInput) GetDescription() *string
- func (v *IssueLabelCreateInput) GetId() string
- func (v *IssueLabelCreateInput) GetName() string
- func (v *IssueLabelCreateInput) GetParentId() *string
- func (v *IssueLabelCreateInput) GetTeamId() *string
- type IssueLabelParentIssueLabel
- type IssueLabelTeam
- type IssueLabelUpdateInput
- type LinearProvider
- func (p *LinearProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *LinearProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *LinearProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *LinearProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *LinearProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type LinearProviderModel
- type Organization
- type OrganizationUpdateInput
- func (v *OrganizationUpdateInput) GetAllowMembersToInvite() bool
- func (v *OrganizationUpdateInput) GetAllowedAuthServices() []string
- func (v *OrganizationUpdateInput) GetFiscalYearStartMonth() float64
- func (v *OrganizationUpdateInput) GetGitBranchFormat() string
- func (v *OrganizationUpdateInput) GetGitLinkbackMessagesEnabled() bool
- func (v *OrganizationUpdateInput) GetGitPublicLinkbackMessagesEnabled() bool
- func (v *OrganizationUpdateInput) GetLinearPreviewFlags() map[string]interface{}
- func (v *OrganizationUpdateInput) GetLogoUrl() string
- func (v *OrganizationUpdateInput) GetName() string
- func (v *OrganizationUpdateInput) GetOauthAppReview() bool
- func (v *OrganizationUpdateInput) GetProjectUpdateRemindersDay() Day
- func (v *OrganizationUpdateInput) GetProjectUpdateRemindersHour() float64
- func (v *OrganizationUpdateInput) GetProjectUpdatesReminderFrequency() ProjectUpdateReminderFrequency
- func (v *OrganizationUpdateInput) GetReducedPersonalInformation() bool
- func (v *OrganizationUpdateInput) GetRoadmapEnabled() bool
- func (v *OrganizationUpdateInput) GetSlaDayCount() SLADayCountType
- func (v *OrganizationUpdateInput) GetSlaEnabled() bool
- func (v *OrganizationUpdateInput) GetThemeSettings() map[string]interface{}
- func (v *OrganizationUpdateInput) GetUrlKey() string
- type ProjectUpdateReminderFrequency
- type SLADayCountType
- type Team
- func (v *Team) GetAutoArchivePeriod() float64
- func (v *Team) GetAutoClosePeriod() *float64
- func (v *Team) GetColor() *string
- func (v *Team) GetCycleCooldownTime() float64
- func (v *Team) GetCycleDuration() float64
- func (v *Team) GetCycleIssueAutoAssignCompleted() bool
- func (v *Team) GetCycleIssueAutoAssignStarted() bool
- func (v *Team) GetCycleLockToActive() bool
- func (v *Team) GetCycleStartDay() float64
- func (v *Team) GetCyclesEnabled() bool
- func (v *Team) GetDefaultIssueEstimate() float64
- func (v *Team) GetDescription() *string
- func (v *Team) GetGroupIssueHistory() bool
- func (v *Team) GetIcon() *string
- func (v *Team) GetId() string
- func (v *Team) GetIssueEstimationAllowZero() bool
- func (v *Team) GetIssueEstimationExtended() bool
- func (v *Team) GetIssueEstimationType() string
- func (v *Team) GetIssueOrderingNoPriorityFirst() bool
- func (v *Team) GetKey() string
- func (v *Team) GetName() string
- func (v *Team) GetPrivate() bool
- func (v *Team) GetSetIssueSortOrderOnStateChange() string
- func (v *Team) GetTimezone() string
- func (v *Team) GetTriageEnabled() bool
- func (v *Team) GetUpcomingCycleCount() float64
- type TeamCreateInput
- func (v *TeamCreateInput) GetAutoArchivePeriod() float64
- func (v *TeamCreateInput) GetAutoClosePeriod() *float64
- func (v *TeamCreateInput) GetAutoCloseStateId() string
- func (v *TeamCreateInput) GetColor() *string
- func (v *TeamCreateInput) GetCycleCooldownTime() int
- func (v *TeamCreateInput) GetCycleDuration() int
- func (v *TeamCreateInput) GetCycleIssueAutoAssignCompleted() bool
- func (v *TeamCreateInput) GetCycleIssueAutoAssignStarted() bool
- func (v *TeamCreateInput) GetCycleLockToActive() bool
- func (v *TeamCreateInput) GetCycleStartDay() float64
- func (v *TeamCreateInput) GetCyclesEnabled() bool
- func (v *TeamCreateInput) GetDefaultIssueEstimate() float64
- func (v *TeamCreateInput) GetDefaultProjectTemplateId() string
- func (v *TeamCreateInput) GetDefaultTemplateForMembersId() string
- func (v *TeamCreateInput) GetDefaultTemplateForNonMembersId() string
- func (v *TeamCreateInput) GetDescription() *string
- func (v *TeamCreateInput) GetGroupIssueHistory() bool
- func (v *TeamCreateInput) GetIcon() *string
- func (v *TeamCreateInput) GetId() string
- func (v *TeamCreateInput) GetIssueEstimationAllowZero() bool
- func (v *TeamCreateInput) GetIssueEstimationExtended() bool
- func (v *TeamCreateInput) GetIssueEstimationType() string
- func (v *TeamCreateInput) GetIssueOrderingNoPriorityFirst() bool
- func (v *TeamCreateInput) GetKey() string
- func (v *TeamCreateInput) GetMarkedAsDuplicateWorkflowStateId() string
- func (v *TeamCreateInput) GetName() string
- func (v *TeamCreateInput) GetOrganizationId() string
- func (v *TeamCreateInput) GetPrivate() bool
- func (v *TeamCreateInput) GetRequirePriorityToLeaveTriage() bool
- func (v *TeamCreateInput) GetSetIssueSortOrderOnStateChange() string
- func (v *TeamCreateInput) GetTimezone() string
- func (v *TeamCreateInput) GetTriageEnabled() bool
- func (v *TeamCreateInput) GetUpcomingCycleCount() float64
- type TeamLabelResource
- func (r *TeamLabelResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TeamLabelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TeamLabelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TeamLabelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TeamLabelResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TeamLabelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TeamLabelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TeamLabelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TeamLabelResourceModel
- type TeamResource
- func (r *TeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TeamResourceCyclesModel
- type TeamResourceEstimationModel
- type TeamResourceModel
- type TeamResourceTriageModel
- type TeamResourceWorkflowStateModel
- type TeamUpdateInput
- func (v *TeamUpdateInput) GetAutoArchivePeriod() float64
- func (v *TeamUpdateInput) GetAutoClosePeriod() *float64
- func (v *TeamUpdateInput) GetAutoCloseStateId() string
- func (v *TeamUpdateInput) GetColor() *string
- func (v *TeamUpdateInput) GetCycleCooldownTime() int
- func (v *TeamUpdateInput) GetCycleDuration() int
- func (v *TeamUpdateInput) GetCycleEnabledStartDate() time.Time
- func (v *TeamUpdateInput) GetCycleEnabledStartWeek() string
- func (v *TeamUpdateInput) GetCycleIssueAutoAssignCompleted() bool
- func (v *TeamUpdateInput) GetCycleIssueAutoAssignStarted() bool
- func (v *TeamUpdateInput) GetCycleLockToActive() bool
- func (v *TeamUpdateInput) GetCycleStartDay() float64
- func (v *TeamUpdateInput) GetCyclesEnabled() bool
- func (v *TeamUpdateInput) GetDefaultIssueEstimate() float64
- func (v *TeamUpdateInput) GetDefaultIssueStateId() string
- func (v *TeamUpdateInput) GetDefaultProjectTemplateId() string
- func (v *TeamUpdateInput) GetDefaultTemplateForMembersId() string
- func (v *TeamUpdateInput) GetDefaultTemplateForNonMembersId() string
- func (v *TeamUpdateInput) GetDescription() *string
- func (v *TeamUpdateInput) GetDraftWorkflowStateId() string
- func (v *TeamUpdateInput) GetGroupIssueHistory() bool
- func (v *TeamUpdateInput) GetIcon() *string
- func (v *TeamUpdateInput) GetIssueEstimationAllowZero() bool
- func (v *TeamUpdateInput) GetIssueEstimationExtended() bool
- func (v *TeamUpdateInput) GetIssueEstimationType() string
- func (v *TeamUpdateInput) GetIssueOrderingNoPriorityFirst() bool
- func (v *TeamUpdateInput) GetJoinByDefault() bool
- func (v *TeamUpdateInput) GetKey() string
- func (v *TeamUpdateInput) GetMarkedAsDuplicateWorkflowStateId() string
- func (v *TeamUpdateInput) GetMergeWorkflowStateId() string
- func (v *TeamUpdateInput) GetMergeableWorkflowStateId() string
- func (v *TeamUpdateInput) GetName() string
- func (v *TeamUpdateInput) GetPrivate() bool
- func (v *TeamUpdateInput) GetRequirePriorityToLeaveTriage() bool
- func (v *TeamUpdateInput) GetReviewWorkflowStateId() string
- func (v *TeamUpdateInput) GetScimManaged() bool
- func (v *TeamUpdateInput) GetSetIssueSortOrderOnStateChange() string
- func (v *TeamUpdateInput) GetSlackIssueComments() bool
- func (v *TeamUpdateInput) GetSlackIssueStatuses() bool
- func (v *TeamUpdateInput) GetSlackNewIssue() bool
- func (v *TeamUpdateInput) GetStartWorkflowStateId() string
- func (v *TeamUpdateInput) GetTimezone() string
- func (v *TeamUpdateInput) GetTriageEnabled() bool
- func (v *TeamUpdateInput) GetUpcomingCycleCount() float64
- type TeamWorkflow
- func (v *TeamWorkflow) GetDraftWorkflowState() *TeamWorkflowDraftWorkflowState
- func (v *TeamWorkflow) GetId() string
- func (v *TeamWorkflow) GetKey() string
- func (v *TeamWorkflow) GetMergeWorkflowState() *TeamWorkflowMergeWorkflowState
- func (v *TeamWorkflow) GetReviewWorkflowState() *TeamWorkflowReviewWorkflowState
- func (v *TeamWorkflow) GetStartWorkflowState() *TeamWorkflowStartWorkflowState
- type TeamWorkflowDraftWorkflowState
- type TeamWorkflowMergeWorkflowState
- type TeamWorkflowResource
- func (r *TeamWorkflowResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TeamWorkflowResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TeamWorkflowResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TeamWorkflowResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TeamWorkflowResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TeamWorkflowResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TeamWorkflowResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TeamWorkflowResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TeamWorkflowResourceModel
- type TeamWorkflowReviewWorkflowState
- type TeamWorkflowStartWorkflowState
- type WorkflowState
- func (v *WorkflowState) GetColor() string
- func (v *WorkflowState) GetDescription() *string
- func (v *WorkflowState) GetId() string
- func (v *WorkflowState) GetName() string
- func (v *WorkflowState) GetPosition() float64
- func (v *WorkflowState) GetTeam() WorkflowStateTeam
- func (v *WorkflowState) GetType() string
- type WorkflowStateCreateInput
- func (v *WorkflowStateCreateInput) GetColor() string
- func (v *WorkflowStateCreateInput) GetDescription() *string
- func (v *WorkflowStateCreateInput) GetId() string
- func (v *WorkflowStateCreateInput) GetName() string
- func (v *WorkflowStateCreateInput) GetPosition() float64
- func (v *WorkflowStateCreateInput) GetTeamId() string
- func (v *WorkflowStateCreateInput) GetType() string
- type WorkflowStateResource
- func (r *WorkflowStateResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *WorkflowStateResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *WorkflowStateResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *WorkflowStateResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *WorkflowStateResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *WorkflowStateResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *WorkflowStateResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *WorkflowStateResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type WorkflowStateResourceModel
- type WorkflowStateTeam
- type WorkflowStateUpdateInput
- type WorkspaceDataSource
- func (d *WorkspaceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *WorkspaceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *WorkspaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WorkspaceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type WorkspaceDataSourceModel
- type WorkspaceLabelResource
- func (r *WorkspaceLabelResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *WorkspaceLabelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *WorkspaceLabelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *WorkspaceLabelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *WorkspaceLabelResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *WorkspaceLabelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *WorkspaceLabelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *WorkspaceLabelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type WorkspaceLabelResourceModel
- type WorkspaceSettingsResource
- func (r *WorkspaceSettingsResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *WorkspaceSettingsResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *WorkspaceSettingsResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *WorkspaceSettingsResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *WorkspaceSettingsResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *WorkspaceSettingsResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *WorkspaceSettingsResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *WorkspaceSettingsResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type WorkspaceSettingsResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTeamLabelResource ¶ added in v0.2.0
func NewTeamResource ¶ added in v0.2.0
func NewTeamWorkflowResource ¶ added in v0.2.0
func NewWorkflowStateResource ¶ added in v0.2.0
func NewWorkspaceDataSource ¶ added in v0.2.0
func NewWorkspaceDataSource() datasource.DataSource
func NewWorkspaceLabelResource ¶ added in v0.2.0
func NewWorkspaceSettingsResource ¶ added in v0.2.0
Types ¶
type IssueLabel ¶ added in v0.2.0
type IssueLabel struct { // The unique identifier of the entity. Id string `json:"id"` // The label's name. Name string `json:"name"` // The label's description. Description *string `json:"description"` // The label's color as a HEX string. Color *string `json:"color"` // The parent label. Parent *IssueLabelParentIssueLabel `json:"parent"` // The team that the label is associated with. If null, the label is associated with the global workspace. Team *IssueLabelTeam `json:"team"` }
IssueLabel includes the GraphQL fields of IssueLabel requested by the fragment IssueLabel. The GraphQL type's documentation follows.
Labels that can be associated with issues.
func (*IssueLabel) GetColor ¶ added in v0.2.0
func (v *IssueLabel) GetColor() *string
GetColor returns IssueLabel.Color, and is useful for accessing the field via an interface.
func (*IssueLabel) GetDescription ¶ added in v0.2.0
func (v *IssueLabel) GetDescription() *string
GetDescription returns IssueLabel.Description, and is useful for accessing the field via an interface.
func (*IssueLabel) GetId ¶ added in v0.2.0
func (v *IssueLabel) GetId() string
GetId returns IssueLabel.Id, and is useful for accessing the field via an interface.
func (*IssueLabel) GetName ¶ added in v0.2.0
func (v *IssueLabel) GetName() string
GetName returns IssueLabel.Name, and is useful for accessing the field via an interface.
func (*IssueLabel) GetParent ¶ added in v0.2.0
func (v *IssueLabel) GetParent() *IssueLabelParentIssueLabel
GetParent returns IssueLabel.Parent, and is useful for accessing the field via an interface.
func (*IssueLabel) GetTeam ¶ added in v0.2.0
func (v *IssueLabel) GetTeam() *IssueLabelTeam
GetTeam returns IssueLabel.Team, and is useful for accessing the field via an interface.
type IssueLabelCreateInput ¶ added in v0.1.4
type IssueLabelCreateInput struct { // The identifier in UUID v4 format. If none is provided, the backend will generate one. Id string `json:"id,omitempty"` // The name of the label. Name string `json:"name"` // The description of the label. Description *string `json:"description"` // The color of the label. Color *string `json:"color,omitempty"` // The identifier of the parent label. ParentId *string `json:"parentId"` // The team associated with the label. If not given, the label will be associated with the entire workspace. TeamId *string `json:"teamId"` }
func (*IssueLabelCreateInput) GetColor ¶ added in v0.1.4
func (v *IssueLabelCreateInput) GetColor() *string
GetColor returns IssueLabelCreateInput.Color, and is useful for accessing the field via an interface.
func (*IssueLabelCreateInput) GetDescription ¶ added in v0.1.4
func (v *IssueLabelCreateInput) GetDescription() *string
GetDescription returns IssueLabelCreateInput.Description, and is useful for accessing the field via an interface.
func (*IssueLabelCreateInput) GetId ¶ added in v0.1.4
func (v *IssueLabelCreateInput) GetId() string
GetId returns IssueLabelCreateInput.Id, and is useful for accessing the field via an interface.
func (*IssueLabelCreateInput) GetName ¶ added in v0.1.4
func (v *IssueLabelCreateInput) GetName() string
GetName returns IssueLabelCreateInput.Name, and is useful for accessing the field via an interface.
func (*IssueLabelCreateInput) GetParentId ¶ added in v0.2.0
func (v *IssueLabelCreateInput) GetParentId() *string
GetParentId returns IssueLabelCreateInput.ParentId, and is useful for accessing the field via an interface.
func (*IssueLabelCreateInput) GetTeamId ¶ added in v0.1.4
func (v *IssueLabelCreateInput) GetTeamId() *string
GetTeamId returns IssueLabelCreateInput.TeamId, and is useful for accessing the field via an interface.
type IssueLabelParentIssueLabel ¶ added in v0.2.0
type IssueLabelParentIssueLabel struct { // The unique identifier of the entity. Id string `json:"id"` }
IssueLabelParentIssueLabel includes the requested fields of the GraphQL type IssueLabel. The GraphQL type's documentation follows.
Labels that can be associated with issues.
func (*IssueLabelParentIssueLabel) GetId ¶ added in v0.2.0
func (v *IssueLabelParentIssueLabel) GetId() string
GetId returns IssueLabelParentIssueLabel.Id, and is useful for accessing the field via an interface.
type IssueLabelTeam ¶ added in v0.2.0
type IssueLabelTeam struct { // The unique identifier of the entity. Id string `json:"id"` }
IssueLabelTeam includes the requested fields of the GraphQL type Team. The GraphQL type's documentation follows.
An organizational unit that contains issues.
func (*IssueLabelTeam) GetId ¶ added in v0.2.0
func (v *IssueLabelTeam) GetId() string
GetId returns IssueLabelTeam.Id, and is useful for accessing the field via an interface.
type IssueLabelUpdateInput ¶ added in v0.1.4
type IssueLabelUpdateInput struct { // The name of the label. Name string `json:"name,omitempty"` // The description of the label. Description *string `json:"description"` // The identifier of the parent label. ParentId *string `json:"parentId"` // The color of the label. Color *string `json:"color,omitempty"` }
func (*IssueLabelUpdateInput) GetColor ¶ added in v0.1.4
func (v *IssueLabelUpdateInput) GetColor() *string
GetColor returns IssueLabelUpdateInput.Color, and is useful for accessing the field via an interface.
func (*IssueLabelUpdateInput) GetDescription ¶ added in v0.1.4
func (v *IssueLabelUpdateInput) GetDescription() *string
GetDescription returns IssueLabelUpdateInput.Description, and is useful for accessing the field via an interface.
func (*IssueLabelUpdateInput) GetName ¶ added in v0.1.4
func (v *IssueLabelUpdateInput) GetName() string
GetName returns IssueLabelUpdateInput.Name, and is useful for accessing the field via an interface.
func (*IssueLabelUpdateInput) GetParentId ¶ added in v0.2.0
func (v *IssueLabelUpdateInput) GetParentId() *string
GetParentId returns IssueLabelUpdateInput.ParentId, and is useful for accessing the field via an interface.
type LinearProvider ¶ added in v0.2.0
type LinearProvider struct {
// contains filtered or unexported fields
}
func (*LinearProvider) Configure ¶ added in v0.2.0
func (p *LinearProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*LinearProvider) DataSources ¶ added in v0.2.0
func (p *LinearProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*LinearProvider) Metadata ¶ added in v0.2.0
func (p *LinearProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*LinearProvider) Resources ¶ added in v0.2.0
func (p *LinearProvider) Resources(ctx context.Context) []func() resource.Resource
func (*LinearProvider) Schema ¶ added in v0.2.4
func (p *LinearProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type LinearProviderModel ¶ added in v0.2.0
type Organization ¶ added in v0.2.0
type Organization struct { // The unique identifier of the entity. Id string `json:"id"` // Whether member users are allowed to send invites. AllowMembersToInvite bool `json:"allowMembersToInvite"` // Whether the organization is using a roadmap. RoadmapEnabled bool `json:"roadmapEnabled"` // Whether the Git integration linkback messages should be sent to private repositories. GitLinkbackMessagesEnabled bool `json:"gitLinkbackMessagesEnabled"` // Whether the Git integration linkback messages should be sent to public repositories. GitPublicLinkbackMessagesEnabled bool `json:"gitPublicLinkbackMessagesEnabled"` }
Organization includes the GraphQL fields of Organization requested by the fragment Organization. The GraphQL type's documentation follows.
An organization. Organizations are root-level objects that contain user accounts and teams.
func (*Organization) GetAllowMembersToInvite ¶ added in v0.2.5
func (v *Organization) GetAllowMembersToInvite() bool
GetAllowMembersToInvite returns Organization.AllowMembersToInvite, and is useful for accessing the field via an interface.
func (*Organization) GetGitLinkbackMessagesEnabled ¶ added in v0.2.0
func (v *Organization) GetGitLinkbackMessagesEnabled() bool
GetGitLinkbackMessagesEnabled returns Organization.GitLinkbackMessagesEnabled, and is useful for accessing the field via an interface.
func (*Organization) GetGitPublicLinkbackMessagesEnabled ¶ added in v0.2.0
func (v *Organization) GetGitPublicLinkbackMessagesEnabled() bool
GetGitPublicLinkbackMessagesEnabled returns Organization.GitPublicLinkbackMessagesEnabled, and is useful for accessing the field via an interface.
func (*Organization) GetId ¶ added in v0.2.0
func (v *Organization) GetId() string
GetId returns Organization.Id, and is useful for accessing the field via an interface.
func (*Organization) GetRoadmapEnabled ¶ added in v0.2.0
func (v *Organization) GetRoadmapEnabled() bool
GetRoadmapEnabled returns Organization.RoadmapEnabled, and is useful for accessing the field via an interface.
type OrganizationUpdateInput ¶ added in v0.2.5
type OrganizationUpdateInput struct { // The name of the organization. Name string `json:"name,omitempty"` // The logo of the organization. LogoUrl string `json:"logoUrl,omitempty"` // The URL key of the organization. UrlKey string `json:"urlKey,omitempty"` // How git branches are formatted. If null, default formatting will be used. GitBranchFormat string `json:"gitBranchFormat,omitempty"` // Whether the Git integration linkback messages should be sent for private repositories. GitLinkbackMessagesEnabled bool `json:"gitLinkbackMessagesEnabled"` // Whether the Git integration linkback messages should be sent for public repositories. GitPublicLinkbackMessagesEnabled bool `json:"gitPublicLinkbackMessagesEnabled"` // Whether the organization is using roadmap. RoadmapEnabled bool `json:"roadmapEnabled"` // The frequency at which project updates are sent. ProjectUpdatesReminderFrequency ProjectUpdateReminderFrequency `json:"projectUpdatesReminderFrequency,omitempty"` // The day at which project updates are sent. ProjectUpdateRemindersDay Day `json:"projectUpdateRemindersDay,omitempty"` // The hour at which project updates are sent. ProjectUpdateRemindersHour float64 `json:"projectUpdateRemindersHour,omitempty"` // The month at which the fiscal year starts. FiscalYearStartMonth float64 `json:"fiscalYearStartMonth"` // Whether the organization has opted for reduced customer support attachment information. ReducedPersonalInformation bool `json:"reducedPersonalInformation,omitempty"` // Whether the organization has opted for having to approve all OAuth applications for install. OauthAppReview bool `json:"oauthAppReview,omitempty"` // Linear Preview feature flags. LinearPreviewFlags map[string]interface{} `json:"linearPreviewFlags,omitempty"` // List of services that are allowed to be used for login. AllowedAuthServices []string `json:"allowedAuthServices,omitempty"` // Internal. Whether SLAs have been enabled for the organization. SlaEnabled bool `json:"slaEnabled,omitempty"` // Which day count to use for SLA calculation. SlaDayCount SLADayCountType `json:"slaDayCount,omitempty"` // Whether member users are allowed to send invites. AllowMembersToInvite bool `json:"allowMembersToInvite"` // [ALPHA] Theme settings for the organization. ThemeSettings map[string]interface{} `json:"themeSettings"` }
func (*OrganizationUpdateInput) GetAllowMembersToInvite ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetAllowMembersToInvite() bool
GetAllowMembersToInvite returns OrganizationUpdateInput.AllowMembersToInvite, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetAllowedAuthServices ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetAllowedAuthServices() []string
GetAllowedAuthServices returns OrganizationUpdateInput.AllowedAuthServices, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetFiscalYearStartMonth ¶ added in v0.2.6
func (v *OrganizationUpdateInput) GetFiscalYearStartMonth() float64
GetFiscalYearStartMonth returns OrganizationUpdateInput.FiscalYearStartMonth, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetGitBranchFormat ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetGitBranchFormat() string
GetGitBranchFormat returns OrganizationUpdateInput.GitBranchFormat, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetGitLinkbackMessagesEnabled ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetGitLinkbackMessagesEnabled() bool
GetGitLinkbackMessagesEnabled returns OrganizationUpdateInput.GitLinkbackMessagesEnabled, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetGitPublicLinkbackMessagesEnabled ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetGitPublicLinkbackMessagesEnabled() bool
GetGitPublicLinkbackMessagesEnabled returns OrganizationUpdateInput.GitPublicLinkbackMessagesEnabled, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetLinearPreviewFlags ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetLinearPreviewFlags() map[string]interface{}
GetLinearPreviewFlags returns OrganizationUpdateInput.LinearPreviewFlags, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetLogoUrl ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetLogoUrl() string
GetLogoUrl returns OrganizationUpdateInput.LogoUrl, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetName ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetName() string
GetName returns OrganizationUpdateInput.Name, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetOauthAppReview ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetOauthAppReview() bool
GetOauthAppReview returns OrganizationUpdateInput.OauthAppReview, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetProjectUpdateRemindersDay ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetProjectUpdateRemindersDay() Day
GetProjectUpdateRemindersDay returns OrganizationUpdateInput.ProjectUpdateRemindersDay, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetProjectUpdateRemindersHour ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetProjectUpdateRemindersHour() float64
GetProjectUpdateRemindersHour returns OrganizationUpdateInput.ProjectUpdateRemindersHour, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetProjectUpdatesReminderFrequency ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetProjectUpdatesReminderFrequency() ProjectUpdateReminderFrequency
GetProjectUpdatesReminderFrequency returns OrganizationUpdateInput.ProjectUpdatesReminderFrequency, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetReducedPersonalInformation ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetReducedPersonalInformation() bool
GetReducedPersonalInformation returns OrganizationUpdateInput.ReducedPersonalInformation, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetRoadmapEnabled ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetRoadmapEnabled() bool
GetRoadmapEnabled returns OrganizationUpdateInput.RoadmapEnabled, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetSlaDayCount ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetSlaDayCount() SLADayCountType
GetSlaDayCount returns OrganizationUpdateInput.SlaDayCount, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetSlaEnabled ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetSlaEnabled() bool
GetSlaEnabled returns OrganizationUpdateInput.SlaEnabled, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetThemeSettings ¶ added in v0.2.6
func (v *OrganizationUpdateInput) GetThemeSettings() map[string]interface{}
GetThemeSettings returns OrganizationUpdateInput.ThemeSettings, and is useful for accessing the field via an interface.
func (*OrganizationUpdateInput) GetUrlKey ¶ added in v0.2.5
func (v *OrganizationUpdateInput) GetUrlKey() string
GetUrlKey returns OrganizationUpdateInput.UrlKey, and is useful for accessing the field via an interface.
type ProjectUpdateReminderFrequency ¶ added in v0.2.0
type ProjectUpdateReminderFrequency string
The frequency at which to send project update reminders.
const ( ProjectUpdateReminderFrequencyWeek ProjectUpdateReminderFrequency = "week" ProjectUpdateReminderFrequencyTwoweeks ProjectUpdateReminderFrequency = "twoWeeks" ProjectUpdateReminderFrequencyMonth ProjectUpdateReminderFrequency = "month" ProjectUpdateReminderFrequencyNever ProjectUpdateReminderFrequency = "never" )
type SLADayCountType ¶ added in v0.2.5
type SLADayCountType string
Which day count to use for SLA calculations.
const ( SLADayCountTypeAll SLADayCountType = "all" SLADayCountTypeOnlybusinessdays SLADayCountType = "onlyBusinessDays" )
type Team ¶ added in v0.2.0
type Team struct { // The unique identifier of the entity. Id string `json:"id"` // The team's name. Name string `json:"name"` // The team's unique key. The key is used in URLs. Key string `json:"key"` // Whether the team is private or not. Private bool `json:"private"` // The team's description. Description *string `json:"description"` // The icon of the team. Icon *string `json:"icon"` // The team's color. Color *string `json:"color"` // The timezone of the team. Defaults to "America/Los_Angeles" Timezone string `json:"timezone"` // Whether issues without priority should be sorted first. IssueOrderingNoPriorityFirst bool `json:"issueOrderingNoPriorityFirst"` // Whether to group recent issue history entries. GroupIssueHistory bool `json:"groupIssueHistory"` // Where to move issues when changing state. SetIssueSortOrderOnStateChange string `json:"setIssueSortOrderOnStateChange"` // Period after which automatically closed and completed issues are automatically archived in months. AutoArchivePeriod float64 `json:"autoArchivePeriod"` // Period after which issues are automatically closed in months. Null/undefined means disabled. AutoClosePeriod *float64 `json:"autoClosePeriod"` // Whether triage mode is enabled for the team or not. TriageEnabled bool `json:"triageEnabled"` // Whether the team uses cycles. CyclesEnabled bool `json:"cyclesEnabled"` // The day of the week that a new cycle starts. CycleStartDay float64 `json:"cycleStartDay"` // The duration of a cycle in weeks. CycleDuration float64 `json:"cycleDuration"` // The cooldown time after each cycle in weeks. CycleCooldownTime float64 `json:"cycleCooldownTime"` // How many upcoming cycles to create. UpcomingCycleCount float64 `json:"upcomingCycleCount"` // Auto assign started issues to current cycle. CycleIssueAutoAssignStarted bool `json:"cycleIssueAutoAssignStarted"` // Auto assign completed issues to current cycle. CycleIssueAutoAssignCompleted bool `json:"cycleIssueAutoAssignCompleted"` // Auto assign issues to current cycle if in active status. CycleLockToActive bool `json:"cycleLockToActive"` // The issue estimation type to use. Must be one of "notUsed", "exponential", "fibonacci", "linear", "tShirt". IssueEstimationType string `json:"issueEstimationType"` // Whether to allow zeros in issues estimates. IssueEstimationAllowZero bool `json:"issueEstimationAllowZero"` // Whether to add additional points to the estimate scale. IssueEstimationExtended bool `json:"issueEstimationExtended"` // What to use as an default estimate for unestimated issues. DefaultIssueEstimate float64 `json:"defaultIssueEstimate"` }
Team includes the GraphQL fields of Team requested by the fragment Team. The GraphQL type's documentation follows.
An organizational unit that contains issues.
func (*Team) GetAutoArchivePeriod ¶ added in v0.2.0
GetAutoArchivePeriod returns Team.AutoArchivePeriod, and is useful for accessing the field via an interface.
func (*Team) GetAutoClosePeriod ¶ added in v0.2.0
GetAutoClosePeriod returns Team.AutoClosePeriod, and is useful for accessing the field via an interface.
func (*Team) GetColor ¶ added in v0.2.0
GetColor returns Team.Color, and is useful for accessing the field via an interface.
func (*Team) GetCycleCooldownTime ¶ added in v0.2.0
GetCycleCooldownTime returns Team.CycleCooldownTime, and is useful for accessing the field via an interface.
func (*Team) GetCycleDuration ¶ added in v0.2.0
GetCycleDuration returns Team.CycleDuration, and is useful for accessing the field via an interface.
func (*Team) GetCycleIssueAutoAssignCompleted ¶ added in v0.2.0
GetCycleIssueAutoAssignCompleted returns Team.CycleIssueAutoAssignCompleted, and is useful for accessing the field via an interface.
func (*Team) GetCycleIssueAutoAssignStarted ¶ added in v0.2.0
GetCycleIssueAutoAssignStarted returns Team.CycleIssueAutoAssignStarted, and is useful for accessing the field via an interface.
func (*Team) GetCycleLockToActive ¶ added in v0.2.0
GetCycleLockToActive returns Team.CycleLockToActive, and is useful for accessing the field via an interface.
func (*Team) GetCycleStartDay ¶ added in v0.2.0
GetCycleStartDay returns Team.CycleStartDay, and is useful for accessing the field via an interface.
func (*Team) GetCyclesEnabled ¶ added in v0.2.0
GetCyclesEnabled returns Team.CyclesEnabled, and is useful for accessing the field via an interface.
func (*Team) GetDefaultIssueEstimate ¶ added in v0.2.0
GetDefaultIssueEstimate returns Team.DefaultIssueEstimate, and is useful for accessing the field via an interface.
func (*Team) GetDescription ¶ added in v0.2.0
GetDescription returns Team.Description, and is useful for accessing the field via an interface.
func (*Team) GetGroupIssueHistory ¶ added in v0.2.0
GetGroupIssueHistory returns Team.GroupIssueHistory, and is useful for accessing the field via an interface.
func (*Team) GetIcon ¶ added in v0.2.0
GetIcon returns Team.Icon, and is useful for accessing the field via an interface.
func (*Team) GetId ¶ added in v0.2.0
GetId returns Team.Id, and is useful for accessing the field via an interface.
func (*Team) GetIssueEstimationAllowZero ¶ added in v0.2.0
GetIssueEstimationAllowZero returns Team.IssueEstimationAllowZero, and is useful for accessing the field via an interface.
func (*Team) GetIssueEstimationExtended ¶ added in v0.2.0
GetIssueEstimationExtended returns Team.IssueEstimationExtended, and is useful for accessing the field via an interface.
func (*Team) GetIssueEstimationType ¶ added in v0.2.0
GetIssueEstimationType returns Team.IssueEstimationType, and is useful for accessing the field via an interface.
func (*Team) GetIssueOrderingNoPriorityFirst ¶ added in v0.2.0
GetIssueOrderingNoPriorityFirst returns Team.IssueOrderingNoPriorityFirst, and is useful for accessing the field via an interface.
func (*Team) GetKey ¶ added in v0.2.0
GetKey returns Team.Key, and is useful for accessing the field via an interface.
func (*Team) GetName ¶ added in v0.2.0
GetName returns Team.Name, and is useful for accessing the field via an interface.
func (*Team) GetPrivate ¶ added in v0.2.0
GetPrivate returns Team.Private, and is useful for accessing the field via an interface.
func (*Team) GetSetIssueSortOrderOnStateChange ¶ added in v0.2.6
GetSetIssueSortOrderOnStateChange returns Team.SetIssueSortOrderOnStateChange, and is useful for accessing the field via an interface.
func (*Team) GetTimezone ¶ added in v0.2.0
GetTimezone returns Team.Timezone, and is useful for accessing the field via an interface.
func (*Team) GetTriageEnabled ¶ added in v0.2.0
GetTriageEnabled returns Team.TriageEnabled, and is useful for accessing the field via an interface.
func (*Team) GetUpcomingCycleCount ¶ added in v0.2.0
GetUpcomingCycleCount returns Team.UpcomingCycleCount, and is useful for accessing the field via an interface.
type TeamCreateInput ¶
type TeamCreateInput struct { // The identifier in UUID v4 format. If none is provided, the backend will generate one. Id string `json:"id,omitempty"` // The name of the team. Name string `json:"name"` // The description of the team. Description *string `json:"description"` // The key of the team. If not given, the key will be generated based on the name of the team. Key string `json:"key"` // The icon of the team. Icon *string `json:"icon,omitempty"` // The color of the team. Color *string `json:"color,omitempty"` // The organization associated with the team. OrganizationId string `json:"organizationId,omitempty"` // Whether the team uses cycles. CyclesEnabled bool `json:"cyclesEnabled"` // The day of the week that a new cycle starts. CycleStartDay float64 `json:"cycleStartDay"` // The duration of each cycle in weeks. CycleDuration int `json:"cycleDuration"` // The cooldown time after each cycle in weeks. CycleCooldownTime int `json:"cycleCooldownTime"` // Auto assign started issues to current active cycle setting. CycleIssueAutoAssignStarted bool `json:"cycleIssueAutoAssignStarted"` // Auto assign completed issues to current active cycle setting. CycleIssueAutoAssignCompleted bool `json:"cycleIssueAutoAssignCompleted"` // Only allow issues issues with cycles in Active Issues. CycleLockToActive bool `json:"cycleLockToActive"` // How many upcoming cycles to create. UpcomingCycleCount float64 `json:"upcomingCycleCount"` // Whether triage mode is enabled for the team. TriageEnabled bool `json:"triageEnabled"` // Whether an issue needs to have a priority set before leaving triage. RequirePriorityToLeaveTriage bool `json:"requirePriorityToLeaveTriage"` // The timezone of the team. Timezone string `json:"timezone"` // Whether issues without priority should be sorted first. IssueOrderingNoPriorityFirst bool `json:"issueOrderingNoPriorityFirst"` // The issue estimation type to use. Must be one of "notUsed", "exponential", "fibonacci", "linear", "tShirt". IssueEstimationType string `json:"issueEstimationType"` // Whether to allow zeros in issues estimates. IssueEstimationAllowZero bool `json:"issueEstimationAllowZero"` // Whether to move issues to bottom of the column when changing state. SetIssueSortOrderOnStateChange string `json:"setIssueSortOrderOnStateChange"` // Whether to add additional points to the estimate scale. IssueEstimationExtended bool `json:"issueEstimationExtended"` // What to use as an default estimate for unestimated issues. DefaultIssueEstimate float64 `json:"defaultIssueEstimate"` // Whether to group recent issue history entries. GroupIssueHistory bool `json:"groupIssueHistory"` // The identifier of the default template for members of this team. DefaultTemplateForMembersId string `json:"defaultTemplateForMembersId,omitempty"` // The identifier of the default template for non-members of this team. DefaultTemplateForNonMembersId string `json:"defaultTemplateForNonMembersId,omitempty"` // The identifier of the default project template of this team. DefaultProjectTemplateId string `json:"defaultProjectTemplateId,omitempty"` // Internal. Whether the team is private or not. Private bool `json:"private"` // Period after which issues are automatically closed, in months. AutoClosePeriod *float64 `json:"autoClosePeriod"` // The canceled workflow state which auto closed issues will be set to. AutoCloseStateId string `json:"autoCloseStateId,omitempty"` // Period after which closed and completed issues are automatically archived, in months. 0 means disabled. AutoArchivePeriod float64 `json:"autoArchivePeriod"` // The workflow state into which issues are moved when they are marked as a duplicate of another issue. MarkedAsDuplicateWorkflowStateId string `json:"markedAsDuplicateWorkflowStateId,omitempty"` }
func (*TeamCreateInput) GetAutoArchivePeriod ¶
func (v *TeamCreateInput) GetAutoArchivePeriod() float64
GetAutoArchivePeriod returns TeamCreateInput.AutoArchivePeriod, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetAutoClosePeriod ¶
func (v *TeamCreateInput) GetAutoClosePeriod() *float64
GetAutoClosePeriod returns TeamCreateInput.AutoClosePeriod, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetAutoCloseStateId ¶
func (v *TeamCreateInput) GetAutoCloseStateId() string
GetAutoCloseStateId returns TeamCreateInput.AutoCloseStateId, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetColor ¶
func (v *TeamCreateInput) GetColor() *string
GetColor returns TeamCreateInput.Color, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetCycleCooldownTime ¶
func (v *TeamCreateInput) GetCycleCooldownTime() int
GetCycleCooldownTime returns TeamCreateInput.CycleCooldownTime, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetCycleDuration ¶
func (v *TeamCreateInput) GetCycleDuration() int
GetCycleDuration returns TeamCreateInput.CycleDuration, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetCycleIssueAutoAssignCompleted ¶
func (v *TeamCreateInput) GetCycleIssueAutoAssignCompleted() bool
GetCycleIssueAutoAssignCompleted returns TeamCreateInput.CycleIssueAutoAssignCompleted, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetCycleIssueAutoAssignStarted ¶
func (v *TeamCreateInput) GetCycleIssueAutoAssignStarted() bool
GetCycleIssueAutoAssignStarted returns TeamCreateInput.CycleIssueAutoAssignStarted, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetCycleLockToActive ¶
func (v *TeamCreateInput) GetCycleLockToActive() bool
GetCycleLockToActive returns TeamCreateInput.CycleLockToActive, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetCycleStartDay ¶
func (v *TeamCreateInput) GetCycleStartDay() float64
GetCycleStartDay returns TeamCreateInput.CycleStartDay, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetCyclesEnabled ¶
func (v *TeamCreateInput) GetCyclesEnabled() bool
GetCyclesEnabled returns TeamCreateInput.CyclesEnabled, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetDefaultIssueEstimate ¶
func (v *TeamCreateInput) GetDefaultIssueEstimate() float64
GetDefaultIssueEstimate returns TeamCreateInput.DefaultIssueEstimate, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetDefaultProjectTemplateId ¶ added in v0.2.5
func (v *TeamCreateInput) GetDefaultProjectTemplateId() string
GetDefaultProjectTemplateId returns TeamCreateInput.DefaultProjectTemplateId, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetDefaultTemplateForMembersId ¶
func (v *TeamCreateInput) GetDefaultTemplateForMembersId() string
GetDefaultTemplateForMembersId returns TeamCreateInput.DefaultTemplateForMembersId, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetDefaultTemplateForNonMembersId ¶
func (v *TeamCreateInput) GetDefaultTemplateForNonMembersId() string
GetDefaultTemplateForNonMembersId returns TeamCreateInput.DefaultTemplateForNonMembersId, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetDescription ¶
func (v *TeamCreateInput) GetDescription() *string
GetDescription returns TeamCreateInput.Description, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetGroupIssueHistory ¶
func (v *TeamCreateInput) GetGroupIssueHistory() bool
GetGroupIssueHistory returns TeamCreateInput.GroupIssueHistory, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetIcon ¶
func (v *TeamCreateInput) GetIcon() *string
GetIcon returns TeamCreateInput.Icon, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetId ¶
func (v *TeamCreateInput) GetId() string
GetId returns TeamCreateInput.Id, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetIssueEstimationAllowZero ¶
func (v *TeamCreateInput) GetIssueEstimationAllowZero() bool
GetIssueEstimationAllowZero returns TeamCreateInput.IssueEstimationAllowZero, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetIssueEstimationExtended ¶
func (v *TeamCreateInput) GetIssueEstimationExtended() bool
GetIssueEstimationExtended returns TeamCreateInput.IssueEstimationExtended, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetIssueEstimationType ¶
func (v *TeamCreateInput) GetIssueEstimationType() string
GetIssueEstimationType returns TeamCreateInput.IssueEstimationType, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetIssueOrderingNoPriorityFirst ¶
func (v *TeamCreateInput) GetIssueOrderingNoPriorityFirst() bool
GetIssueOrderingNoPriorityFirst returns TeamCreateInput.IssueOrderingNoPriorityFirst, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetKey ¶
func (v *TeamCreateInput) GetKey() string
GetKey returns TeamCreateInput.Key, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetMarkedAsDuplicateWorkflowStateId ¶
func (v *TeamCreateInput) GetMarkedAsDuplicateWorkflowStateId() string
GetMarkedAsDuplicateWorkflowStateId returns TeamCreateInput.MarkedAsDuplicateWorkflowStateId, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetName ¶
func (v *TeamCreateInput) GetName() string
GetName returns TeamCreateInput.Name, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetOrganizationId ¶
func (v *TeamCreateInput) GetOrganizationId() string
GetOrganizationId returns TeamCreateInput.OrganizationId, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetPrivate ¶
func (v *TeamCreateInput) GetPrivate() bool
GetPrivate returns TeamCreateInput.Private, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetRequirePriorityToLeaveTriage ¶ added in v0.2.5
func (v *TeamCreateInput) GetRequirePriorityToLeaveTriage() bool
GetRequirePriorityToLeaveTriage returns TeamCreateInput.RequirePriorityToLeaveTriage, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetSetIssueSortOrderOnStateChange ¶ added in v0.2.6
func (v *TeamCreateInput) GetSetIssueSortOrderOnStateChange() string
GetSetIssueSortOrderOnStateChange returns TeamCreateInput.SetIssueSortOrderOnStateChange, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetTimezone ¶
func (v *TeamCreateInput) GetTimezone() string
GetTimezone returns TeamCreateInput.Timezone, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetTriageEnabled ¶
func (v *TeamCreateInput) GetTriageEnabled() bool
GetTriageEnabled returns TeamCreateInput.TriageEnabled, and is useful for accessing the field via an interface.
func (*TeamCreateInput) GetUpcomingCycleCount ¶
func (v *TeamCreateInput) GetUpcomingCycleCount() float64
GetUpcomingCycleCount returns TeamCreateInput.UpcomingCycleCount, and is useful for accessing the field via an interface.
type TeamLabelResource ¶ added in v0.2.0
type TeamLabelResource struct {
// contains filtered or unexported fields
}
func (*TeamLabelResource) Configure ¶ added in v0.2.0
func (r *TeamLabelResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TeamLabelResource) Create ¶ added in v0.2.0
func (r *TeamLabelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TeamLabelResource) Delete ¶ added in v0.2.0
func (r *TeamLabelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TeamLabelResource) ImportState ¶ added in v0.2.0
func (r *TeamLabelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TeamLabelResource) Metadata ¶ added in v0.2.0
func (r *TeamLabelResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TeamLabelResource) Read ¶ added in v0.2.0
func (r *TeamLabelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TeamLabelResource) Schema ¶ added in v0.2.4
func (r *TeamLabelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TeamLabelResource) Update ¶ added in v0.2.0
func (r *TeamLabelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TeamLabelResourceModel ¶ added in v0.2.0
type TeamResource ¶ added in v0.2.0
type TeamResource struct {
// contains filtered or unexported fields
}
func (*TeamResource) Configure ¶ added in v0.2.0
func (r *TeamResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TeamResource) Create ¶ added in v0.2.0
func (r *TeamResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TeamResource) Delete ¶ added in v0.2.0
func (r *TeamResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TeamResource) ImportState ¶ added in v0.2.0
func (r *TeamResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TeamResource) Metadata ¶ added in v0.2.0
func (r *TeamResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TeamResource) Read ¶ added in v0.2.0
func (r *TeamResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TeamResource) Schema ¶ added in v0.2.4
func (r *TeamResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TeamResource) Update ¶ added in v0.2.0
func (r *TeamResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TeamResourceCyclesModel ¶ added in v0.2.0
type TeamResourceCyclesModel struct { Enabled types.Bool `tfsdk:"enabled"` StartDay types.Float64 `tfsdk:"start_day"` Duration types.Float64 `tfsdk:"duration"` Cooldown types.Float64 `tfsdk:"cooldown"` Upcoming types.Float64 `tfsdk:"upcoming"` AutoAddStarted types.Bool `tfsdk:"auto_add_started"` AutoAddCompleted types.Bool `tfsdk:"auto_add_completed"` NeedForActive types.Bool `tfsdk:"need_for_active"` }
type TeamResourceEstimationModel ¶ added in v0.2.0
type TeamResourceModel ¶ added in v0.2.0
type TeamResourceModel struct { Id types.String `tfsdk:"id"` Key types.String `tfsdk:"key"` Name types.String `tfsdk:"name"` Private types.Bool `tfsdk:"private"` Description types.String `tfsdk:"description"` Icon types.String `tfsdk:"icon"` Color types.String `tfsdk:"color"` Timezone types.String `tfsdk:"timezone"` NoPriorityIssuesFirst types.Bool `tfsdk:"no_priority_issues_first"` EnableIssueHistoryGrouping types.Bool `tfsdk:"enable_issue_history_grouping"` EnableIssueDefaultToBottom types.Bool `tfsdk:"enable_issue_default_to_bottom"` AutoArchivePeriod types.Float64 `tfsdk:"auto_archive_period"` AutoClosePeriod types.Float64 `tfsdk:"auto_close_period"` Triage types.Object `tfsdk:"triage"` Cycles types.Object `tfsdk:"cycles"` Estimation types.Object `tfsdk:"estimation"` BacklogWorkflowState types.Object `tfsdk:"backlog_workflow_state"` UnstartedWorkflowState types.Object `tfsdk:"unstarted_workflow_state"` StartedWorkflowState types.Object `tfsdk:"started_workflow_state"` CompletedWorkflowState types.Object `tfsdk:"completed_workflow_state"` CanceledWorkflowState types.Object `tfsdk:"canceled_workflow_state"` }
type TeamResourceTriageModel ¶ added in v0.2.0
type TeamResourceWorkflowStateModel ¶ added in v0.2.0
type TeamUpdateInput ¶ added in v0.1.1
type TeamUpdateInput struct { // The name of the team. Name string `json:"name,omitempty"` // The description of the team. Description *string `json:"description"` // The key of the team. Key string `json:"key,omitempty"` // The icon of the team. Icon *string `json:"icon,omitempty"` // The color of the team. Color *string `json:"color,omitempty"` // Whether the team uses cycles. CyclesEnabled bool `json:"cyclesEnabled"` // The day of the week that a new cycle starts. CycleStartDay float64 `json:"cycleStartDay"` // The duration of each cycle in weeks. CycleDuration int `json:"cycleDuration"` // The cooldown time after each cycle in weeks. CycleCooldownTime int `json:"cycleCooldownTime"` // Auto assign started issues to current active cycle setting. CycleIssueAutoAssignStarted bool `json:"cycleIssueAutoAssignStarted"` // Auto assign completed issues to current active cycle setting. CycleIssueAutoAssignCompleted bool `json:"cycleIssueAutoAssignCompleted"` // Only allow issues with cycles in Active Issues. CycleLockToActive bool `json:"cycleLockToActive"` // [DEPRECATED] Whether the first cycle should start in the current or the next week. CycleEnabledStartWeek string `json:"cycleEnabledStartWeek,omitempty"` // The date to begin cycles on. CycleEnabledStartDate time.Time `json:"cycleEnabledStartDate"` // How many upcoming cycles to create. UpcomingCycleCount float64 `json:"upcomingCycleCount"` // The timezone of the team. Timezone string `json:"timezone"` // Whether issues without priority should be sorted first. IssueOrderingNoPriorityFirst bool `json:"issueOrderingNoPriorityFirst"` // The issue estimation type to use. Must be one of "notUsed", "exponential", "fibonacci", "linear", "tShirt". IssueEstimationType string `json:"issueEstimationType"` // Whether to allow zeros in issues estimates. IssueEstimationAllowZero bool `json:"issueEstimationAllowZero"` // Whether to move issues to bottom of the column when changing state. SetIssueSortOrderOnStateChange string `json:"setIssueSortOrderOnStateChange"` // Whether to add additional points to the estimate scale. IssueEstimationExtended bool `json:"issueEstimationExtended"` // What to use as an default estimate for unestimated issues. DefaultIssueEstimate float64 `json:"defaultIssueEstimate"` // The workflow state into which issues are moved when a draft PR has been opened. DraftWorkflowStateId string `json:"draftWorkflowStateId,omitempty"` // The workflow state into which issues are moved when a PR has been opened. StartWorkflowStateId string `json:"startWorkflowStateId,omitempty"` // The workflow state into which issues are moved when a review has been requested for the PR. ReviewWorkflowStateId string `json:"reviewWorkflowStateId,omitempty"` // The workflow state into which issues are moved when a PR is ready to be merged. MergeableWorkflowStateId string `json:"mergeableWorkflowStateId,omitempty"` // The workflow state into which issues are moved when a PR has been merged. MergeWorkflowStateId string `json:"mergeWorkflowStateId,omitempty"` // Whether to send new issue notifications to Slack. SlackNewIssue bool `json:"slackNewIssue"` // Whether to send new issue comment notifications to Slack. SlackIssueComments bool `json:"slackIssueComments"` // Whether to send issue status update notifications to Slack. SlackIssueStatuses bool `json:"slackIssueStatuses"` // Whether to group recent issue history entries. GroupIssueHistory bool `json:"groupIssueHistory"` // The identifier of the default template for members of this team. DefaultTemplateForMembersId string `json:"defaultTemplateForMembersId,omitempty"` // The identifier of the default template for non-members of this team. DefaultTemplateForNonMembersId string `json:"defaultTemplateForNonMembersId,omitempty"` // The identifier of the default project template of this team. DefaultProjectTemplateId string `json:"defaultProjectTemplateId,omitempty"` // Whether the team is private or not. Private bool `json:"private"` // Whether triage mode is enabled for the team. TriageEnabled bool `json:"triageEnabled"` // Whether an issue needs to have a priority set before leaving triage. RequirePriorityToLeaveTriage bool `json:"requirePriorityToLeaveTriage"` // Default status for newly created issues. DefaultIssueStateId string `json:"defaultIssueStateId,omitempty"` // Period after which issues are automatically closed, in months. AutoClosePeriod *float64 `json:"autoClosePeriod"` // The canceled workflow state which auto closed issues will be set to. AutoCloseStateId string `json:"autoCloseStateId,omitempty"` // Period after which closed and completed issues are automatically archived, in months. AutoArchivePeriod float64 `json:"autoArchivePeriod"` // The workflow state into which issues are moved when they are marked as a duplicate of another issue. MarkedAsDuplicateWorkflowStateId string `json:"markedAsDuplicateWorkflowStateId,omitempty"` // Whether new users should join this team by default. Mutation restricted to workspace admins! JoinByDefault bool `json:"joinByDefault"` // Whether the team is managed by SCIM integration. Mutation restricted to workspace admins and only unsetting is allowed! ScimManaged bool `json:"scimManaged"` }
func (*TeamUpdateInput) GetAutoArchivePeriod ¶ added in v0.1.1
func (v *TeamUpdateInput) GetAutoArchivePeriod() float64
GetAutoArchivePeriod returns TeamUpdateInput.AutoArchivePeriod, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetAutoClosePeriod ¶ added in v0.1.1
func (v *TeamUpdateInput) GetAutoClosePeriod() *float64
GetAutoClosePeriod returns TeamUpdateInput.AutoClosePeriod, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetAutoCloseStateId ¶ added in v0.1.1
func (v *TeamUpdateInput) GetAutoCloseStateId() string
GetAutoCloseStateId returns TeamUpdateInput.AutoCloseStateId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetColor ¶ added in v0.1.1
func (v *TeamUpdateInput) GetColor() *string
GetColor returns TeamUpdateInput.Color, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetCycleCooldownTime ¶ added in v0.1.1
func (v *TeamUpdateInput) GetCycleCooldownTime() int
GetCycleCooldownTime returns TeamUpdateInput.CycleCooldownTime, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetCycleDuration ¶ added in v0.1.1
func (v *TeamUpdateInput) GetCycleDuration() int
GetCycleDuration returns TeamUpdateInput.CycleDuration, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetCycleEnabledStartDate ¶ added in v0.2.6
func (v *TeamUpdateInput) GetCycleEnabledStartDate() time.Time
GetCycleEnabledStartDate returns TeamUpdateInput.CycleEnabledStartDate, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetCycleEnabledStartWeek ¶ added in v0.1.1
func (v *TeamUpdateInput) GetCycleEnabledStartWeek() string
GetCycleEnabledStartWeek returns TeamUpdateInput.CycleEnabledStartWeek, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetCycleIssueAutoAssignCompleted ¶ added in v0.1.1
func (v *TeamUpdateInput) GetCycleIssueAutoAssignCompleted() bool
GetCycleIssueAutoAssignCompleted returns TeamUpdateInput.CycleIssueAutoAssignCompleted, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetCycleIssueAutoAssignStarted ¶ added in v0.1.1
func (v *TeamUpdateInput) GetCycleIssueAutoAssignStarted() bool
GetCycleIssueAutoAssignStarted returns TeamUpdateInput.CycleIssueAutoAssignStarted, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetCycleLockToActive ¶ added in v0.1.1
func (v *TeamUpdateInput) GetCycleLockToActive() bool
GetCycleLockToActive returns TeamUpdateInput.CycleLockToActive, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetCycleStartDay ¶ added in v0.1.1
func (v *TeamUpdateInput) GetCycleStartDay() float64
GetCycleStartDay returns TeamUpdateInput.CycleStartDay, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetCyclesEnabled ¶ added in v0.1.1
func (v *TeamUpdateInput) GetCyclesEnabled() bool
GetCyclesEnabled returns TeamUpdateInput.CyclesEnabled, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetDefaultIssueEstimate ¶ added in v0.1.1
func (v *TeamUpdateInput) GetDefaultIssueEstimate() float64
GetDefaultIssueEstimate returns TeamUpdateInput.DefaultIssueEstimate, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetDefaultIssueStateId ¶ added in v0.1.1
func (v *TeamUpdateInput) GetDefaultIssueStateId() string
GetDefaultIssueStateId returns TeamUpdateInput.DefaultIssueStateId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetDefaultProjectTemplateId ¶ added in v0.2.5
func (v *TeamUpdateInput) GetDefaultProjectTemplateId() string
GetDefaultProjectTemplateId returns TeamUpdateInput.DefaultProjectTemplateId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetDefaultTemplateForMembersId ¶ added in v0.1.1
func (v *TeamUpdateInput) GetDefaultTemplateForMembersId() string
GetDefaultTemplateForMembersId returns TeamUpdateInput.DefaultTemplateForMembersId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetDefaultTemplateForNonMembersId ¶ added in v0.1.1
func (v *TeamUpdateInput) GetDefaultTemplateForNonMembersId() string
GetDefaultTemplateForNonMembersId returns TeamUpdateInput.DefaultTemplateForNonMembersId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetDescription ¶ added in v0.1.1
func (v *TeamUpdateInput) GetDescription() *string
GetDescription returns TeamUpdateInput.Description, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetDraftWorkflowStateId ¶ added in v0.1.1
func (v *TeamUpdateInput) GetDraftWorkflowStateId() string
GetDraftWorkflowStateId returns TeamUpdateInput.DraftWorkflowStateId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetGroupIssueHistory ¶ added in v0.1.1
func (v *TeamUpdateInput) GetGroupIssueHistory() bool
GetGroupIssueHistory returns TeamUpdateInput.GroupIssueHistory, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetIcon ¶ added in v0.1.1
func (v *TeamUpdateInput) GetIcon() *string
GetIcon returns TeamUpdateInput.Icon, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetIssueEstimationAllowZero ¶ added in v0.1.1
func (v *TeamUpdateInput) GetIssueEstimationAllowZero() bool
GetIssueEstimationAllowZero returns TeamUpdateInput.IssueEstimationAllowZero, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetIssueEstimationExtended ¶ added in v0.1.1
func (v *TeamUpdateInput) GetIssueEstimationExtended() bool
GetIssueEstimationExtended returns TeamUpdateInput.IssueEstimationExtended, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetIssueEstimationType ¶ added in v0.1.1
func (v *TeamUpdateInput) GetIssueEstimationType() string
GetIssueEstimationType returns TeamUpdateInput.IssueEstimationType, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetIssueOrderingNoPriorityFirst ¶ added in v0.1.1
func (v *TeamUpdateInput) GetIssueOrderingNoPriorityFirst() bool
GetIssueOrderingNoPriorityFirst returns TeamUpdateInput.IssueOrderingNoPriorityFirst, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetJoinByDefault ¶ added in v0.2.6
func (v *TeamUpdateInput) GetJoinByDefault() bool
GetJoinByDefault returns TeamUpdateInput.JoinByDefault, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetKey ¶ added in v0.1.1
func (v *TeamUpdateInput) GetKey() string
GetKey returns TeamUpdateInput.Key, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetMarkedAsDuplicateWorkflowStateId ¶ added in v0.1.1
func (v *TeamUpdateInput) GetMarkedAsDuplicateWorkflowStateId() string
GetMarkedAsDuplicateWorkflowStateId returns TeamUpdateInput.MarkedAsDuplicateWorkflowStateId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetMergeWorkflowStateId ¶ added in v0.1.1
func (v *TeamUpdateInput) GetMergeWorkflowStateId() string
GetMergeWorkflowStateId returns TeamUpdateInput.MergeWorkflowStateId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetMergeableWorkflowStateId ¶ added in v0.2.5
func (v *TeamUpdateInput) GetMergeableWorkflowStateId() string
GetMergeableWorkflowStateId returns TeamUpdateInput.MergeableWorkflowStateId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetName ¶ added in v0.1.1
func (v *TeamUpdateInput) GetName() string
GetName returns TeamUpdateInput.Name, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetPrivate ¶ added in v0.1.1
func (v *TeamUpdateInput) GetPrivate() bool
GetPrivate returns TeamUpdateInput.Private, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetRequirePriorityToLeaveTriage ¶ added in v0.2.5
func (v *TeamUpdateInput) GetRequirePriorityToLeaveTriage() bool
GetRequirePriorityToLeaveTriage returns TeamUpdateInput.RequirePriorityToLeaveTriage, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetReviewWorkflowStateId ¶ added in v0.1.1
func (v *TeamUpdateInput) GetReviewWorkflowStateId() string
GetReviewWorkflowStateId returns TeamUpdateInput.ReviewWorkflowStateId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetScimManaged ¶ added in v0.2.6
func (v *TeamUpdateInput) GetScimManaged() bool
GetScimManaged returns TeamUpdateInput.ScimManaged, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetSetIssueSortOrderOnStateChange ¶ added in v0.2.6
func (v *TeamUpdateInput) GetSetIssueSortOrderOnStateChange() string
GetSetIssueSortOrderOnStateChange returns TeamUpdateInput.SetIssueSortOrderOnStateChange, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetSlackIssueComments ¶ added in v0.1.1
func (v *TeamUpdateInput) GetSlackIssueComments() bool
GetSlackIssueComments returns TeamUpdateInput.SlackIssueComments, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetSlackIssueStatuses ¶ added in v0.1.1
func (v *TeamUpdateInput) GetSlackIssueStatuses() bool
GetSlackIssueStatuses returns TeamUpdateInput.SlackIssueStatuses, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetSlackNewIssue ¶ added in v0.1.1
func (v *TeamUpdateInput) GetSlackNewIssue() bool
GetSlackNewIssue returns TeamUpdateInput.SlackNewIssue, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetStartWorkflowStateId ¶ added in v0.1.1
func (v *TeamUpdateInput) GetStartWorkflowStateId() string
GetStartWorkflowStateId returns TeamUpdateInput.StartWorkflowStateId, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetTimezone ¶ added in v0.1.1
func (v *TeamUpdateInput) GetTimezone() string
GetTimezone returns TeamUpdateInput.Timezone, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetTriageEnabled ¶ added in v0.1.1
func (v *TeamUpdateInput) GetTriageEnabled() bool
GetTriageEnabled returns TeamUpdateInput.TriageEnabled, and is useful for accessing the field via an interface.
func (*TeamUpdateInput) GetUpcomingCycleCount ¶ added in v0.1.1
func (v *TeamUpdateInput) GetUpcomingCycleCount() float64
GetUpcomingCycleCount returns TeamUpdateInput.UpcomingCycleCount, and is useful for accessing the field via an interface.
type TeamWorkflow ¶ added in v0.2.0
type TeamWorkflow struct { // The unique identifier of the entity. Id string `json:"id"` // The team's unique key. The key is used in URLs. Key string `json:"key"` // The workflow state into which issues are moved when a PR has been opened as draft. DraftWorkflowState *TeamWorkflowDraftWorkflowState `json:"draftWorkflowState"` // The workflow state into which issues are moved when a PR has been opened. StartWorkflowState *TeamWorkflowStartWorkflowState `json:"startWorkflowState"` // The workflow state into which issues are moved when a review has been requested for the PR. ReviewWorkflowState *TeamWorkflowReviewWorkflowState `json:"reviewWorkflowState"` // The workflow state into which issues are moved when a PR has been merged. MergeWorkflowState *TeamWorkflowMergeWorkflowState `json:"mergeWorkflowState"` }
TeamWorkflow includes the GraphQL fields of Team requested by the fragment TeamWorkflow. The GraphQL type's documentation follows.
An organizational unit that contains issues.
func (*TeamWorkflow) GetDraftWorkflowState ¶ added in v0.2.0
func (v *TeamWorkflow) GetDraftWorkflowState() *TeamWorkflowDraftWorkflowState
GetDraftWorkflowState returns TeamWorkflow.DraftWorkflowState, and is useful for accessing the field via an interface.
func (*TeamWorkflow) GetId ¶ added in v0.2.0
func (v *TeamWorkflow) GetId() string
GetId returns TeamWorkflow.Id, and is useful for accessing the field via an interface.
func (*TeamWorkflow) GetKey ¶ added in v0.2.0
func (v *TeamWorkflow) GetKey() string
GetKey returns TeamWorkflow.Key, and is useful for accessing the field via an interface.
func (*TeamWorkflow) GetMergeWorkflowState ¶ added in v0.2.0
func (v *TeamWorkflow) GetMergeWorkflowState() *TeamWorkflowMergeWorkflowState
GetMergeWorkflowState returns TeamWorkflow.MergeWorkflowState, and is useful for accessing the field via an interface.
func (*TeamWorkflow) GetReviewWorkflowState ¶ added in v0.2.0
func (v *TeamWorkflow) GetReviewWorkflowState() *TeamWorkflowReviewWorkflowState
GetReviewWorkflowState returns TeamWorkflow.ReviewWorkflowState, and is useful for accessing the field via an interface.
func (*TeamWorkflow) GetStartWorkflowState ¶ added in v0.2.0
func (v *TeamWorkflow) GetStartWorkflowState() *TeamWorkflowStartWorkflowState
GetStartWorkflowState returns TeamWorkflow.StartWorkflowState, and is useful for accessing the field via an interface.
type TeamWorkflowDraftWorkflowState ¶ added in v0.2.0
type TeamWorkflowDraftWorkflowState struct { // The unique identifier of the entity. Id string `json:"id"` }
TeamWorkflowDraftWorkflowState includes the requested fields of the GraphQL type WorkflowState. The GraphQL type's documentation follows.
A state in a team workflow.
func (*TeamWorkflowDraftWorkflowState) GetId ¶ added in v0.2.0
func (v *TeamWorkflowDraftWorkflowState) GetId() string
GetId returns TeamWorkflowDraftWorkflowState.Id, and is useful for accessing the field via an interface.
type TeamWorkflowMergeWorkflowState ¶ added in v0.2.0
type TeamWorkflowMergeWorkflowState struct { // The unique identifier of the entity. Id string `json:"id"` }
TeamWorkflowMergeWorkflowState includes the requested fields of the GraphQL type WorkflowState. The GraphQL type's documentation follows.
A state in a team workflow.
func (*TeamWorkflowMergeWorkflowState) GetId ¶ added in v0.2.0
func (v *TeamWorkflowMergeWorkflowState) GetId() string
GetId returns TeamWorkflowMergeWorkflowState.Id, and is useful for accessing the field via an interface.
type TeamWorkflowResource ¶ added in v0.2.0
type TeamWorkflowResource struct {
// contains filtered or unexported fields
}
func (*TeamWorkflowResource) Configure ¶ added in v0.2.0
func (r *TeamWorkflowResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TeamWorkflowResource) Create ¶ added in v0.2.0
func (r *TeamWorkflowResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TeamWorkflowResource) Delete ¶ added in v0.2.0
func (r *TeamWorkflowResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TeamWorkflowResource) ImportState ¶ added in v0.2.0
func (r *TeamWorkflowResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TeamWorkflowResource) Metadata ¶ added in v0.2.0
func (r *TeamWorkflowResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TeamWorkflowResource) Read ¶ added in v0.2.0
func (r *TeamWorkflowResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TeamWorkflowResource) Schema ¶ added in v0.2.4
func (r *TeamWorkflowResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TeamWorkflowResource) Update ¶ added in v0.2.0
func (r *TeamWorkflowResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TeamWorkflowResourceModel ¶ added in v0.2.0
type TeamWorkflowReviewWorkflowState ¶ added in v0.2.0
type TeamWorkflowReviewWorkflowState struct { // The unique identifier of the entity. Id string `json:"id"` }
TeamWorkflowReviewWorkflowState includes the requested fields of the GraphQL type WorkflowState. The GraphQL type's documentation follows.
A state in a team workflow.
func (*TeamWorkflowReviewWorkflowState) GetId ¶ added in v0.2.0
func (v *TeamWorkflowReviewWorkflowState) GetId() string
GetId returns TeamWorkflowReviewWorkflowState.Id, and is useful for accessing the field via an interface.
type TeamWorkflowStartWorkflowState ¶ added in v0.2.0
type TeamWorkflowStartWorkflowState struct { // The unique identifier of the entity. Id string `json:"id"` }
TeamWorkflowStartWorkflowState includes the requested fields of the GraphQL type WorkflowState. The GraphQL type's documentation follows.
A state in a team workflow.
func (*TeamWorkflowStartWorkflowState) GetId ¶ added in v0.2.0
func (v *TeamWorkflowStartWorkflowState) GetId() string
GetId returns TeamWorkflowStartWorkflowState.Id, and is useful for accessing the field via an interface.
type WorkflowState ¶ added in v0.2.0
type WorkflowState struct { // The unique identifier of the entity. Id string `json:"id"` // The state's name. Name string `json:"name"` // The state's UI color as a HEX string. Color string `json:"color"` // Description of the state. Description *string `json:"description"` // The type of the state. One of "triage", "backlog", "unstarted", "started", "completed", "canceled". Type string `json:"type"` // The position of the state in the team flow. Position float64 `json:"position"` // The team to which this state belongs to. Team WorkflowStateTeam `json:"team"` }
WorkflowState includes the GraphQL fields of WorkflowState requested by the fragment WorkflowState. The GraphQL type's documentation follows.
A state in a team workflow.
func (*WorkflowState) GetColor ¶ added in v0.2.0
func (v *WorkflowState) GetColor() string
GetColor returns WorkflowState.Color, and is useful for accessing the field via an interface.
func (*WorkflowState) GetDescription ¶ added in v0.2.0
func (v *WorkflowState) GetDescription() *string
GetDescription returns WorkflowState.Description, and is useful for accessing the field via an interface.
func (*WorkflowState) GetId ¶ added in v0.2.0
func (v *WorkflowState) GetId() string
GetId returns WorkflowState.Id, and is useful for accessing the field via an interface.
func (*WorkflowState) GetName ¶ added in v0.2.0
func (v *WorkflowState) GetName() string
GetName returns WorkflowState.Name, and is useful for accessing the field via an interface.
func (*WorkflowState) GetPosition ¶ added in v0.2.0
func (v *WorkflowState) GetPosition() float64
GetPosition returns WorkflowState.Position, and is useful for accessing the field via an interface.
func (*WorkflowState) GetTeam ¶ added in v0.2.0
func (v *WorkflowState) GetTeam() WorkflowStateTeam
GetTeam returns WorkflowState.Team, and is useful for accessing the field via an interface.
func (*WorkflowState) GetType ¶ added in v0.2.0
func (v *WorkflowState) GetType() string
GetType returns WorkflowState.Type, and is useful for accessing the field via an interface.
type WorkflowStateCreateInput ¶ added in v0.1.6
type WorkflowStateCreateInput struct { // The identifier in UUID v4 format. If none is provided, the backend will generate one. Id string `json:"id,omitempty"` // The workflow type. Type string `json:"type"` // The name of the state. Name string `json:"name"` // The color of the state. Color string `json:"color"` // The description of the state. Description *string `json:"description"` // The position of the state. Position float64 `json:"position"` // The team associated with the state. TeamId string `json:"teamId"` }
func (*WorkflowStateCreateInput) GetColor ¶ added in v0.1.6
func (v *WorkflowStateCreateInput) GetColor() string
GetColor returns WorkflowStateCreateInput.Color, and is useful for accessing the field via an interface.
func (*WorkflowStateCreateInput) GetDescription ¶ added in v0.1.6
func (v *WorkflowStateCreateInput) GetDescription() *string
GetDescription returns WorkflowStateCreateInput.Description, and is useful for accessing the field via an interface.
func (*WorkflowStateCreateInput) GetId ¶ added in v0.1.6
func (v *WorkflowStateCreateInput) GetId() string
GetId returns WorkflowStateCreateInput.Id, and is useful for accessing the field via an interface.
func (*WorkflowStateCreateInput) GetName ¶ added in v0.1.6
func (v *WorkflowStateCreateInput) GetName() string
GetName returns WorkflowStateCreateInput.Name, and is useful for accessing the field via an interface.
func (*WorkflowStateCreateInput) GetPosition ¶ added in v0.1.6
func (v *WorkflowStateCreateInput) GetPosition() float64
GetPosition returns WorkflowStateCreateInput.Position, and is useful for accessing the field via an interface.
func (*WorkflowStateCreateInput) GetTeamId ¶ added in v0.1.6
func (v *WorkflowStateCreateInput) GetTeamId() string
GetTeamId returns WorkflowStateCreateInput.TeamId, and is useful for accessing the field via an interface.
func (*WorkflowStateCreateInput) GetType ¶ added in v0.1.6
func (v *WorkflowStateCreateInput) GetType() string
GetType returns WorkflowStateCreateInput.Type, and is useful for accessing the field via an interface.
type WorkflowStateResource ¶ added in v0.2.0
type WorkflowStateResource struct {
// contains filtered or unexported fields
}
func (*WorkflowStateResource) Configure ¶ added in v0.2.0
func (r *WorkflowStateResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*WorkflowStateResource) Create ¶ added in v0.2.0
func (r *WorkflowStateResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*WorkflowStateResource) Delete ¶ added in v0.2.0
func (r *WorkflowStateResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*WorkflowStateResource) ImportState ¶ added in v0.2.0
func (r *WorkflowStateResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*WorkflowStateResource) Metadata ¶ added in v0.2.0
func (r *WorkflowStateResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*WorkflowStateResource) Read ¶ added in v0.2.0
func (r *WorkflowStateResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*WorkflowStateResource) Schema ¶ added in v0.2.4
func (r *WorkflowStateResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*WorkflowStateResource) Update ¶ added in v0.2.0
func (r *WorkflowStateResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type WorkflowStateResourceModel ¶ added in v0.2.0
type WorkflowStateTeam ¶ added in v0.2.0
type WorkflowStateTeam struct { // The unique identifier of the entity. Id string `json:"id"` }
WorkflowStateTeam includes the requested fields of the GraphQL type Team. The GraphQL type's documentation follows.
An organizational unit that contains issues.
func (*WorkflowStateTeam) GetId ¶ added in v0.2.0
func (v *WorkflowStateTeam) GetId() string
GetId returns WorkflowStateTeam.Id, and is useful for accessing the field via an interface.
type WorkflowStateUpdateInput ¶ added in v0.1.6
type WorkflowStateUpdateInput struct { // The name of the state. Name string `json:"name,omitempty"` // The color of the state. Color string `json:"color,omitempty"` // The description of the state. Description *string `json:"description"` // The position of the state. Position float64 `json:"position"` }
func (*WorkflowStateUpdateInput) GetColor ¶ added in v0.1.6
func (v *WorkflowStateUpdateInput) GetColor() string
GetColor returns WorkflowStateUpdateInput.Color, and is useful for accessing the field via an interface.
func (*WorkflowStateUpdateInput) GetDescription ¶ added in v0.1.6
func (v *WorkflowStateUpdateInput) GetDescription() *string
GetDescription returns WorkflowStateUpdateInput.Description, and is useful for accessing the field via an interface.
func (*WorkflowStateUpdateInput) GetName ¶ added in v0.1.6
func (v *WorkflowStateUpdateInput) GetName() string
GetName returns WorkflowStateUpdateInput.Name, and is useful for accessing the field via an interface.
func (*WorkflowStateUpdateInput) GetPosition ¶ added in v0.1.6
func (v *WorkflowStateUpdateInput) GetPosition() float64
GetPosition returns WorkflowStateUpdateInput.Position, and is useful for accessing the field via an interface.
type WorkspaceDataSource ¶ added in v0.2.0
type WorkspaceDataSource struct {
// contains filtered or unexported fields
}
func (*WorkspaceDataSource) Configure ¶ added in v0.2.0
func (d *WorkspaceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*WorkspaceDataSource) Metadata ¶ added in v0.2.0
func (d *WorkspaceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*WorkspaceDataSource) Read ¶ added in v0.2.0
func (d *WorkspaceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*WorkspaceDataSource) Schema ¶ added in v0.2.4
func (d *WorkspaceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type WorkspaceDataSourceModel ¶ added in v0.2.0
type WorkspaceLabelResource ¶ added in v0.2.0
type WorkspaceLabelResource struct {
// contains filtered or unexported fields
}
func (*WorkspaceLabelResource) Configure ¶ added in v0.2.0
func (r *WorkspaceLabelResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*WorkspaceLabelResource) Create ¶ added in v0.2.0
func (r *WorkspaceLabelResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*WorkspaceLabelResource) Delete ¶ added in v0.2.0
func (r *WorkspaceLabelResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*WorkspaceLabelResource) ImportState ¶ added in v0.2.0
func (r *WorkspaceLabelResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*WorkspaceLabelResource) Metadata ¶ added in v0.2.0
func (r *WorkspaceLabelResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*WorkspaceLabelResource) Read ¶ added in v0.2.0
func (r *WorkspaceLabelResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*WorkspaceLabelResource) Schema ¶ added in v0.2.4
func (r *WorkspaceLabelResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*WorkspaceLabelResource) Update ¶ added in v0.2.0
func (r *WorkspaceLabelResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type WorkspaceLabelResourceModel ¶ added in v0.2.0
type WorkspaceSettingsResource ¶ added in v0.2.0
type WorkspaceSettingsResource struct {
// contains filtered or unexported fields
}
func (*WorkspaceSettingsResource) Configure ¶ added in v0.2.0
func (r *WorkspaceSettingsResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*WorkspaceSettingsResource) Create ¶ added in v0.2.0
func (r *WorkspaceSettingsResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*WorkspaceSettingsResource) Delete ¶ added in v0.2.0
func (r *WorkspaceSettingsResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*WorkspaceSettingsResource) ImportState ¶ added in v0.2.0
func (r *WorkspaceSettingsResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*WorkspaceSettingsResource) Metadata ¶ added in v0.2.0
func (r *WorkspaceSettingsResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*WorkspaceSettingsResource) Read ¶ added in v0.2.0
func (r *WorkspaceSettingsResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*WorkspaceSettingsResource) Schema ¶ added in v0.2.4
func (r *WorkspaceSettingsResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*WorkspaceSettingsResource) Update ¶ added in v0.2.0
func (r *WorkspaceSettingsResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type WorkspaceSettingsResourceModel ¶ added in v0.2.0
type WorkspaceSettingsResourceModel struct { Id types.String `tfsdk:"id"` AllowMembersToInvite types.Bool `tfsdk:"allow_members_to_invite"` EnableRoadmap types.Bool `tfsdk:"enable_roadmap"` EnableGitLinkbackMessages types.Bool `tfsdk:"enable_git_linkback_messages"` EnableGitLinkbackMessagesPublic types.Bool `tfsdk:"enable_git_linkback_messages_public"` }