Class ComponentWithIssueCount
java.lang.Object
io.github.primelib.jira4j.restv2.model.ComponentWithIssueCount
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ComponentWithIssueCount
extends Object
ComponentWithIssueCount
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe nominal user type used to determine the assignee for issues created with this component.static classstatic enumThe type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Userprotected ComponentWithIssueCount.AssigneeTypeEnumThe nominal user type used to determine the assignee for issues created with this component.protected StringThe description for the component.protected StringThe unique identifier for the component.protected BooleanWhether a user is associated withassigneeType.protected LongCount of issues for the component.protected Userprotected StringThe name for the component.protected StringThe key of the project to which the component is assigned.protected LongNot used.protected UserThe type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType.protected URIThe URL for this count of the issues contained in the component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedComponentWithIssueCount(User assignee, ComponentWithIssueCount.AssigneeTypeEnum assigneeType, String description, String id, Boolean isAssigneeTypeValid, Long issueCount, User lead, String name, String project, Long projectId, User realAssignee, ComponentWithIssueCount.RealAssigneeTypeEnum realAssigneeType, URI self) Constructs a validated instance ofComponentWithIssueCount.Constructs a validated instance ofComponentWithIssueCount. -
Method Summary
Modifier and TypeMethodDescriptionassignee()The nominal user type used to determine the assignee for issues created with this component.assigneeType(ComponentWithIssueCount.AssigneeTypeEnum assigneeType) The nominal user type used to determine the assignee for issues created with this component.builder()protected booleanThe description for the component.description(String description) The description for the component.booleaninthashCode()id()The unique identifier for the component.The unique identifier for the component.Whether a user is associated withassigneeType.isAssigneeTypeValid(Boolean isAssigneeTypeValid) Whether a user is associated withassigneeType.Count of issues for the component.issueCount(Long issueCount) Count of issues for the component.lead()name()The name for the component.The name for the component.project()The key of the project to which the component is assigned.The key of the project to which the component is assigned.Not used.Not used.realAssignee(User realAssignee) The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType.realAssigneeType(ComponentWithIssueCount.RealAssigneeTypeEnum realAssigneeType) The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType.self()The URL for this count of the issues contained in the component.The URL for this count of the issues contained in the component.toString()
-
Field Details
-
assignee
-
assigneeType
The nominal user type used to determine the assignee for issues created with this component. SeerealAssigneeTypefor details on how the type of the user, and hence the user, assigned to issues is determined. Takes the following values: *PROJECT_LEADthe assignee to any issues created with this component is nominally the lead for the project the component is in. *COMPONENT_LEADthe assignee to any issues created with this component is nominally the lead for the component. *UNASSIGNEDan assignee is not set for issues created with this component. *PROJECT_DEFAULTthe assignee to any issues created with this component is nominally the default assignee for the project that the component is in. -
description
The description for the component. -
id
The unique identifier for the component. -
isAssigneeTypeValid
Whether a user is associated withassigneeType. For example, if theassigneeTypeis set toCOMPONENT_LEADbut the component lead is not set, thenfalseis returned. -
issueCount
Count of issues for the component. -
lead
-
name
The name for the component. -
project
The key of the project to which the component is assigned. -
projectId
Not used. -
realAssignee
-
realAssigneeType
The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType. For example,assigneeTypeis set toCOMPONENT_LEADbut no component lead is set. This property is set to one of the following values: *PROJECT_LEADwhenassigneeTypeisPROJECT_LEADand the project lead has permission to be assigned issues in the project that the component is in. *COMPONENT_LEADwhenassigneeType isCOMPONENT_LEADand the component lead has permission to be assigned issues in the project that the component is in. *UNASSIGNEDwhenassigneeTypeisUNASSIGNEDand Jira is configured to allow unassigned issues. *PROJECT_DEFAULTwhen none of the preceding cases are true. -
self
The URL for this count of the issues contained in the component.
-
-
Constructor Details
-
ComponentWithIssueCount
Constructs a validated instance ofComponentWithIssueCount.- Parameters:
spec- the specification to process
-
ComponentWithIssueCount
@Internal public ComponentWithIssueCount(User assignee, ComponentWithIssueCount.AssigneeTypeEnum assigneeType, String description, String id, Boolean isAssigneeTypeValid, Long issueCount, User lead, String name, String project, Long projectId, User realAssignee, ComponentWithIssueCount.RealAssigneeTypeEnum realAssigneeType, URI self) Constructs a validated instance ofComponentWithIssueCount.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ComponentWithIssueCount(Consumer)instead.- Parameters:
assignee- assigneeassigneeType- The nominal user type used to determine the assignee for issues created with this component. SeerealAssigneeTypefor details on how the type of the user, and hence the user, assigned to issues is determined. Takes the following values: *PROJECT_LEADthe assignee to any issues created with this component is nominally the lead for the project the component is in. *COMPONENT_LEADthe assignee to any issues created with this component is nominally the lead for the component. *UNASSIGNEDan assignee is not set for issues created with this component. *PROJECT_DEFAULTthe assignee to any issues created with this component is nominally the default assignee for the project that the component is in.description- The description for the component.id- The unique identifier for the component.isAssigneeTypeValid- Whether a user is associated withassigneeType. For example, if theassigneeTypeis set toCOMPONENT_LEADbut the component lead is not set, thenfalseis returned.issueCount- Count of issues for the component.lead- leadname- The name for the component.project- The key of the project to which the component is assigned.projectId- Not used.realAssignee- realAssigneerealAssigneeType- The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType. For example,assigneeTypeis set toCOMPONENT_LEADbut no component lead is set. This property is set to one of the following values: *PROJECT_LEADwhenassigneeTypeisPROJECT_LEADand the project lead has permission to be assigned issues in the project that the component is in. *COMPONENT_LEADwhenassigneeType isCOMPONENT_LEADand the component lead has permission to be assigned issues in the project that the component is in. *UNASSIGNEDwhenassigneeTypeisUNASSIGNEDand Jira is configured to allow unassigned issues. *PROJECT_DEFAULTwhen none of the preceding cases are true.self- The URL for this count of the issues contained in the component.
-
ComponentWithIssueCount
protected ComponentWithIssueCount()
-
-
Method Details
-
builder
-
assignee
-
assigneeType
The nominal user type used to determine the assignee for issues created with this component. SeerealAssigneeTypefor details on how the type of the user, and hence the user, assigned to issues is determined. Takes the following values: *PROJECT_LEADthe assignee to any issues created with this component is nominally the lead for the project the component is in. *COMPONENT_LEADthe assignee to any issues created with this component is nominally the lead for the component. *UNASSIGNEDan assignee is not set for issues created with this component. *PROJECT_DEFAULTthe assignee to any issues created with this component is nominally the default assignee for the project that the component is in. -
description
The description for the component. -
id
The unique identifier for the component. -
isAssigneeTypeValid
Whether a user is associated withassigneeType. For example, if theassigneeTypeis set toCOMPONENT_LEADbut the component lead is not set, thenfalseis returned. -
issueCount
Count of issues for the component. -
lead
-
name
The name for the component. -
project
The key of the project to which the component is assigned. -
projectId
Not used. -
realAssignee
-
realAssigneeType
The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType. For example,assigneeTypeis set toCOMPONENT_LEADbut no component lead is set. This property is set to one of the following values: *PROJECT_LEADwhenassigneeTypeisPROJECT_LEADand the project lead has permission to be assigned issues in the project that the component is in. *COMPONENT_LEADwhenassigneeType isCOMPONENT_LEADand the component lead has permission to be assigned issues in the project that the component is in. *UNASSIGNEDwhenassigneeTypeisUNASSIGNEDand Jira is configured to allow unassigned issues. *PROJECT_DEFAULTwhen none of the preceding cases are true. -
self
The URL for this count of the issues contained in the component. -
assignee
- Returns:
this.
-
assigneeType
The nominal user type used to determine the assignee for issues created with this component. SeerealAssigneeTypefor details on how the type of the user, and hence the user, assigned to issues is determined. Takes the following values: *PROJECT_LEADthe assignee to any issues created with this component is nominally the lead for the project the component is in. *COMPONENT_LEADthe assignee to any issues created with this component is nominally the lead for the component. *UNASSIGNEDan assignee is not set for issues created with this component. *PROJECT_DEFAULTthe assignee to any issues created with this component is nominally the default assignee for the project that the component is in.- Returns:
this.
-
description
The description for the component.- Returns:
this.
-
id
The unique identifier for the component.- Returns:
this.
-
isAssigneeTypeValid
Whether a user is associated withassigneeType. For example, if theassigneeTypeis set toCOMPONENT_LEADbut the component lead is not set, thenfalseis returned.- Returns:
this.
-
issueCount
Count of issues for the component.- Returns:
this.
-
lead
- Returns:
this.
-
name
The name for the component.- Returns:
this.
-
project
The key of the project to which the component is assigned.- Returns:
this.
-
projectId
Not used.- Returns:
this.
-
realAssignee
- Returns:
this.
-
realAssigneeType
public ComponentWithIssueCount realAssigneeType(ComponentWithIssueCount.RealAssigneeTypeEnum realAssigneeType) The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from theassigneeType. For example,assigneeTypeis set toCOMPONENT_LEADbut no component lead is set. This property is set to one of the following values: *PROJECT_LEADwhenassigneeTypeisPROJECT_LEADand the project lead has permission to be assigned issues in the project that the component is in. *COMPONENT_LEADwhenassigneeType isCOMPONENT_LEADand the component lead has permission to be assigned issues in the project that the component is in. *UNASSIGNEDwhenassigneeTypeisUNASSIGNEDand Jira is configured to allow unassigned issues. *PROJECT_DEFAULTwhen none of the preceding cases are true.- Returns:
this.
-
self
The URL for this count of the issues contained in the component.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-