/// <summary> /// Initializes a new instance of the <see cref="FileDto" /> class. /// </summary> /// <param name="name">name.</param> /// <param name="fullName">fullName.</param> /// <param name="size">size.</param> /// <param name="modificationTime">modificationTime.</param> /// <param name="href">href.</param> /// <param name="parent">parent.</param> /// <param name="content">content.</param> /// <param name="children">children.</param> public FileDto(string name = default(string), string fullName = default(string), long?size = default(long?), string modificationTime = default(string), string href = default(string), System.IO.Stream parent = default(System.IO.Stream), HrefDto content = default(HrefDto), FilesDto children = default(FilesDto)) { this.Name = name; this.FullName = fullName; this.Size = size; this.ModificationTime = modificationTime; this.Href = href; this.Parent = parent; this.Content = content; this.Children = children; }
/// <summary> /// Initializes a new instance of the <see cref="ServerDto" /> class. /// </summary> /// <param name="version">version.</param> /// <param name="versionMajor">versionMajor.</param> /// <param name="versionMinor">versionMinor.</param> /// <param name="startTime">startTime.</param> /// <param name="currentTime">currentTime.</param> /// <param name="buildNumber">buildNumber.</param> /// <param name="buildDate">buildDate.</param> /// <param name="internalId">internalId.</param> /// <param name="role">role.</param> /// <param name="webUrl">webUrl.</param> /// <param name="projects">projects.</param> /// <param name="vcsRoots">vcsRoots.</param> /// <param name="builds">builds.</param> /// <param name="users">users.</param> /// <param name="userGroups">userGroups.</param> /// <param name="agents">agents.</param> /// <param name="buildQueue">buildQueue.</param> /// <param name="agentPools">agentPools.</param> /// <param name="investigations">investigations.</param> /// <param name="mutes">mutes.</param> public ServerDto(string version = default(string), int?versionMajor = default(int?), int?versionMinor = default(int?), string startTime = default(string), string currentTime = default(string), string buildNumber = default(string), string buildDate = default(string), string internalId = default(string), string role = default(string), string webUrl = default(string), HrefDto projects = default(HrefDto), HrefDto vcsRoots = default(HrefDto), HrefDto builds = default(HrefDto), HrefDto users = default(HrefDto), HrefDto userGroups = default(HrefDto), HrefDto agents = default(HrefDto), HrefDto buildQueue = default(HrefDto), HrefDto agentPools = default(HrefDto), HrefDto investigations = default(HrefDto), HrefDto mutes = default(HrefDto)) { this.Version = version; this.VersionMajor = versionMajor; this.VersionMinor = versionMinor; this.StartTime = startTime; this.CurrentTime = currentTime; this.BuildNumber = buildNumber; this.BuildDate = buildDate; this.InternalId = internalId; this.Role = role; this.WebUrl = webUrl; this.Projects = projects; this.VcsRoots = vcsRoots; this.Builds = builds; this.Users = users; this.UserGroups = userGroups; this.Agents = agents; this.BuildQueue = buildQueue; this.AgentPools = agentPools; this.Investigations = investigations; this.Mutes = mutes; }