/// <summary>
 /// Initializes a new instance of the <see cref="MuteDto" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="href">href.</param>
 /// <param name="assignment">assignment.</param>
 /// <param name="scope">scope.</param>
 /// <param name="target">target.</param>
 /// <param name="resolution">resolution.</param>
 public MuteDto(int?id = default(int?), string href = default(string), CommentDto assignment = default(CommentDto), ProblemScopeDto scope = default(ProblemScopeDto), ProblemTargetDto target = default(ProblemTargetDto), ResolutionDto resolution = default(ResolutionDto))
 {
     this.Id         = id;
     this.Href       = href;
     this.Assignment = assignment;
     this.Scope      = scope;
     this.Target     = target;
     this.Resolution = resolution;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InvestigationDto" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="state">state.</param>
 /// <param name="href">href.</param>
 /// <param name="assignee">assignee.</param>
 /// <param name="assignment">assignment.</param>
 /// <param name="scope">scope.</param>
 /// <param name="target">target.</param>
 /// <param name="resolution">resolution.</param>
 /// <param name="responsible">responsible.</param>
 public InvestigationDto(string id = default(string), string state = default(string), string href = default(string), UserDto assignee = default(UserDto), CommentDto assignment = default(CommentDto), ProblemScopeDto scope = default(ProblemScopeDto), ProblemTargetDto target = default(ProblemTargetDto), ResolutionDto resolution = default(ResolutionDto), UserDto responsible = default(UserDto))
 {
     this.Id          = id;
     this.State       = state;
     this.Href        = href;
     this.Assignee    = assignee;
     this.Assignment  = assignment;
     this.Scope       = scope;
     this.Target      = target;
     this.Resolution  = resolution;
     this.Responsible = responsible;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PinInfoDto" /> class.
 /// </summary>
 /// <param name="status">status.</param>
 /// <param name="comment">comment.</param>
 public PinInfoDto(bool?status = default(bool?), CommentDto comment = default(CommentDto))
 {
     this.Status  = status;
     this.Comment = comment;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EnabledInfoDto" /> class.
 /// </summary>
 /// <param name="status">status.</param>
 /// <param name="comment">comment.</param>
 /// <param name="statusSwitchTime">statusSwitchTime.</param>
 public EnabledInfoDto(bool?status = default(bool?), CommentDto comment = default(CommentDto), string statusSwitchTime = default(string))
 {
     this.Status           = status;
     this.Comment          = comment;
     this.StatusSwitchTime = statusSwitchTime;
 }