Version class

Details about a project version.

Constructors

Version({bool? archived, String? description, String? expand, String? id, VersionIssuesStatus? issuesStatusForFixVersion, String? moveUnfixedIssuesTo, String? name, List<SimpleLink>? operations, bool? overdue, String? project, int? projectId, String? releaseDate, bool? released, String? self, String? startDate, String? userReleaseDate, String? userStartDate})
Version.fromJson(Map<String, Object?> json)
factory

Properties

archived bool
Indicates that the version is archived. Optional when creating or updating a version.
final
description String?
The description of the version. Optional when creating or updating a version.
final
expand String?
Use expand to include additional information about version in the response. This parameter accepts a comma-separated list. Expand options include:
final
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the version.
final
issuesStatusForFixVersion VersionIssuesStatus?
If the expand option issuesstatus is used, returns the count of issues in this version for each of the status categories to do, in progress, done, and unmapped. The unmapped property contains a count of issues with a status other than to do, in progress, and done.
final
moveUnfixedIssuesTo String?
The URL of the self link to the version to which all unfixed issues are moved when a version is released. Not applicable when creating a version. Optional when updating a version.
final
name String?
The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters.
final
operations List<SimpleLink>
If the expand option operations is used, returns the list of operations available for this version.
final
overdue bool
Indicates that the version is overdue.
final
project String?
Deprecated. Use projectId.
final
projectId int?
The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version.
final
released bool
Indicates that the version is released. If the version is released a request to release again is ignored. Not applicable when creating a version. Optional when updating a version.
final
releaseDate String?
The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self String?
The URL of the version.
final
startDate String?
The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.
final
userReleaseDate String?
The date on which work on this version is expected to finish, expressed in the instance's Day/Month/Year Format date format.
final
userStartDate String?
The date on which work on this version is expected to start, expressed in the instance's Day/Month/Year Format date format.
final

Methods

copyWith({bool? archived, String? description, String? expand, String? id, VersionIssuesStatus? issuesStatusForFixVersion, String? moveUnfixedIssuesTo, String? name, List<SimpleLink>? operations, bool? overdue, String? project, int? projectId, String? releaseDate, bool? released, String? self, String? startDate, String? userReleaseDate, String? userStartDate}) Version
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