ProjectComponent class
Details about a project component.
Constructors
- ProjectComponent({User? assignee, ProjectComponentAssigneeType? assigneeType, String? description, String? id, bool? isAssigneeTypeValid, User? lead, String? leadAccountId, String? leadUserName, String? name, String? project, int? projectId, User? realAssignee, ProjectComponentRealAssigneeType? realAssigneeType, String? self})
-
ProjectComponent.fromJson(Map<
String, Object?> json) -
factory
Properties
- assignee → User?
-
The details of the user associated with
assigneeType
, if any. SeerealAssignee
for details of the user assigned to issues created with this component.final - assigneeType → ProjectComponentAssigneeType?
-
The nominal user type used to determine the assignee for issues created
with this component. See
realAssigneeType
for details on how the type of the user, and hence the user, assigned to issues is determined. Can take the following values:final - description → String?
-
The description for the component. Optional when creating or updating a
component.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The unique identifier for the component.
final
- isAssigneeTypeValid → bool
-
Whether a user is associated with
assigneeType
. For example, if theassigneeType
is set toCOMPONENT_LEAD
but the component lead is not set, thenfalse
is returned.final - lead → User?
-
The user details for the component's lead user.
final
- leadAccountId → String?
-
The accountId of the component's lead user. The accountId uniquely
identifies the user across all Atlassian products. For example,
5b10ac8d82e05b22cc7d4ef5.
final
- leadUserName → String?
-
This property is no longer available and will be removed from the
documentation soon. See the
deprecation notice
for details.
final
- name → String?
-
The unique name for the component in the project. Required when creating a
component. Optional when updating a component. The maximum length is 255
characters.
final
- project → String?
-
The key of the project the component is assigned to. Required when
creating a component. Can't be updated.
final
- projectId → int?
-
The ID of the project the component is assigned to.
final
- realAssignee → User?
-
The user assigned to issues created with this component, when
assigneeType
does not identify a valid assignee.final - realAssigneeType → ProjectComponentRealAssigneeType?
-
The type of the assignee that is assigned to issues created with this
component, when an assignee cannot be set from the
assigneeType
. For example,assigneeType
is set toCOMPONENT_LEAD
but no component lead is set. This property is set to one of the following values:final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → String?
-
The URL of the component.
final
Methods
-
copyWith(
{User? assignee, ProjectComponentAssigneeType? assigneeType, String? description, String? id, bool? isAssigneeTypeValid, User? lead, String? leadAccountId, String? leadUserName, String? name, String? project, int? projectId, User? realAssignee, ProjectComponentRealAssigneeType? realAssigneeType, String? self}) → ProjectComponent -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited