/// <summary> /// Initializes a new instance of the <see cref="RevisionDto" /> class. /// </summary> /// <param name="version">version.</param> /// <param name="internalVersion">internalVersion.</param> /// <param name="vcsBranchName">vcsBranchName.</param> /// <param name="vcsRootInstance">vcsRootInstance.</param> /// <param name="checkoutRules">checkoutRules.</param> public RevisionDto(string version = default(string), string internalVersion = default(string), string vcsBranchName = default(string), VcsRootInstanceDto vcsRootInstance = default(VcsRootInstanceDto), string checkoutRules = default(string)) { this.Version = version; this.InternalVersion = internalVersion; this.VcsBranchName = vcsBranchName; this.VcsRootInstance = vcsRootInstance; this.CheckoutRules = checkoutRules; }
/// <summary> /// Initializes a new instance of the <see cref="ChangeDto" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="version">version.</param> /// <param name="internalVersion">internalVersion.</param> /// <param name="username">username.</param> /// <param name="date">date.</param> /// <param name="registrationDate">registrationDate.</param> /// <param name="personal">personal.</param> /// <param name="href">href.</param> /// <param name="webUrl">webUrl.</param> /// <param name="comment">comment.</param> /// <param name="user">user.</param> /// <param name="files">files.</param> /// <param name="vcsRootInstance">vcsRootInstance.</param> /// <param name="parentChanges">parentChanges.</param> /// <param name="parentRevisions">parentRevisions.</param> /// <param name="attributes">attributes.</param> /// <param name="storesProjectSettings">storesProjectSettings.</param> /// <param name="locator">locator.</param> public ChangeDto(long?id = default(long?), string version = default(string), string internalVersion = default(string), string username = default(string), string date = default(string), string registrationDate = default(string), bool?personal = default(bool?), string href = default(string), string webUrl = default(string), string comment = default(string), UserDto user = default(UserDto), FileChangesDto files = default(FileChangesDto), VcsRootInstanceDto vcsRootInstance = default(VcsRootInstanceDto), ChangesDto parentChanges = default(ChangesDto), ItemsDto parentRevisions = default(ItemsDto), PropertiesDto attributes = default(PropertiesDto), bool?storesProjectSettings = default(bool?), string locator = default(string)) { this.Id = id; this.Version = version; this.InternalVersion = internalVersion; this.Username = username; this.Date = date; this.RegistrationDate = registrationDate; this.Personal = personal; this.Href = href; this.WebUrl = webUrl; this.Comment = comment; this.User = user; this.Files = files; this.VcsRootInstance = vcsRootInstance; this.ParentChanges = parentChanges; this.ParentRevisions = parentRevisions; this.Attributes = attributes; this.StoresProjectSettings = storesProjectSettings; this.Locator = locator; }