/// <summary> /// Add Changeset model. /// <param name="changeset">Changeset></param> /// <returns>ChangesetListMergeRequest</returns> /// </summary> public ChangesetListMergeRequest AddChangeset(Changeset changeset) { if (changeset.Id > 0) { SourceChangesetIds.Add(changeset.Id); } return(this); }
/// <summary> /// Add Source_Changeset_IDs. /// - sourceChangesetId: Int /// - Returns: Self /// </summary> public ChangesetListMergeRequest AddSourceChangesetID(int sourceChangesetId) { SourceChangesetIds.Add(sourceChangesetId); return(this); }