/// <summary> /// Convert the <see cref="TestMerge"/> to it's API form /// </summary> /// <returns>A new <see cref="Api.Models.TestMerge"/></returns> public Api.Models.TestMerge ToApi() => new Api.Models.TestMerge { Author = Author, BodyAtMerge = BodyAtMerge, MergedAt = MergedAt, TitleAtMerge = TitleAtMerge, Comment = Comment, Id = Id, MergedBy = MergedBy.ToApi(false), Number = Number, PullRequestRevision = PullRequestRevision, Url = Url };
/// <inheritdoc /> public Api.Models.TestMerge ToApi() => new Api.Models.TestMerge { Author = Author, BodyAtMerge = BodyAtMerge, MergedAt = MergedAt, TitleAtMerge = TitleAtMerge, Comment = Comment, Id = Id, MergedBy = MergedBy.ToApi(false), Number = Number, TargetCommitSha = TargetCommitSha, Url = Url };