export class Membership { constructor ( public readonly userId , public readonly userName ) { } } export class IssueStatus { constructor ( public readonly statusId , public readonly name ) { } } export class QuickUpdate { constructor ( public readonly issueId , public readonly message , public readonly assignee , public readonly status ) { } } export class QuickUpdateResult { public readonly differences : string [ ] = [ ] ; public isSuccessful ( ) { return this . differences . length == 0 ; } public addDifference ( difference ) { this . differences . push ( difference ) ; } }