/// <summary>
 /// Initializes a new instance of the <see cref="RoutePathResponse" /> class.
 /// </summary>
 /// <param name="Queue">The ID of the queue associated with the route path.</param>
 /// <param name="MediaType">The media type of the given queue associated with the route path.</param>
 /// <param name="Language">The ID of the language associated with the route path.</param>
 /// <param name="Skills">The set of skills associated with the route path.</param>
 public RoutePathResponse(QueueReference Queue = null, MediaTypeEnum?MediaType = null, LanguageReference Language = null, List <RoutingSkillReference> Skills = null)
 {
     this.Queue     = Queue;
     this.MediaType = MediaType;
     this.Language  = Language;
     this.Skills    = Skills;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RouteGroupAttributes" /> class.
 /// </summary>
 /// <param name="Queue">The queue to which the associated route group applies (required).</param>
 /// <param name="MediaType">The media type to which the associated route group applies (required).</param>
 /// <param name="Language">The language to which the associated route group applies.</param>
 /// <param name="Skills">The skill set to which the associated route group applies.</param>
 public RouteGroupAttributes(QueueReference Queue = null, MediaTypeEnum?MediaType = null, LanguageReference Language = null, List <RoutingSkillReference> Skills = null)
 {
     this.Queue     = Queue;
     this.MediaType = MediaType;
     this.Language  = Language;
     this.Skills    = Skills;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateQueueMediaAssociationRequest" /> class.
 /// </summary>
 /// <param name="Queue">The queue to associate with the service goal group.</param>
 /// <param name="MediaTypes">The media types of the given queue to associate with the service goal group.</param>
 public CreateQueueMediaAssociationRequest(QueueReference Queue = null, List <MediaTypesEnum> MediaTypes = null)
 {
     this.Queue      = Queue;
     this.MediaTypes = MediaTypes;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Survey" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="Conversation">Conversation.</param>
 /// <param name="SurveyForm">Survey form used for this survey..</param>
 /// <param name="Agent">Agent.</param>
 /// <param name="Status">Status.</param>
 /// <param name="Queue">Queue.</param>
 /// <param name="Answers">Answers.</param>
 /// <param name="CompletedDate">Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ.</param>
 /// <param name="SurveyErrorDetails">Additional information about what happened when the survey is in Error status..</param>
 public Survey(string Name = null, Conversation Conversation = null, SurveyForm SurveyForm = null, DomainEntityRef Agent = null, StatusEnum?Status = null, QueueReference Queue = null, SurveyScoringSet Answers = null, DateTime?CompletedDate = null, SurveyErrorDetails SurveyErrorDetails = null)
 {
     this.Name               = Name;
     this.Conversation       = Conversation;
     this.SurveyForm         = SurveyForm;
     this.Agent              = Agent;
     this.Status             = Status;
     this.Queue              = Queue;
     this.Answers            = Answers;
     this.CompletedDate      = CompletedDate;
     this.SurveyErrorDetails = SurveyErrorDetails;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="QueueMediaAssociation" /> class.
 /// </summary>
 /// <param name="Queue">The queue to associate with the service goal group.</param>
 /// <param name="MediaTypes">The media types of the given queue to associate with the service goal group.</param>
 /// <param name="Delete">If marked true on a PATCH, this QueueMediaAssociation will be permanently deleted.</param>
 public QueueMediaAssociation(QueueReference Queue = null, List <MediaTypesEnum> MediaTypes = null, bool?Delete = null)
 {
     this.Queue      = Queue;
     this.MediaTypes = MediaTypes;
     this.Delete     = Delete;
 }