示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Interaction" /> class.
 /// </summary>
 /// <param name="InteractionId">InteractionId.</param>
 /// <param name="InteractionTitle">InteractionTitle.</param>
 /// <param name="InteractionDescription">InteractionDescription.</param>
 /// <param name="InteractionType">InteractionType.</param>
 /// <param name="Issuer">Issuer.</param>
 /// <param name="NoOfResponses">NoOfResponses.</param>
 /// <param name="IsClosed">IsClosed (default to false).</param>
 /// <param name="CreatedDate">CreatedDate.</param>
 /// <param name="LastUpdatedDate">LastUpdatedDate.</param>
 /// <param name="Association">Association.</param>
 /// <param name="VideoId">VideoId.</param>
 /// <param name="FileURL">FileURL.</param>
 /// <param name="FileEntityName">FileEntityName.</param>
 /// <param name="IsSubscribed">IsSubscribed (default to false).</param>
 /// <param name="Sentiment">Sentiment.</param>
 /// <param name="SentimentDetails">SentimentDetails.</param>
 /// <param name="SentimentWeightage">SentimentWeightage.</param>
 /// <param name="Entity">Entity.</param>
 /// <param name="AttachmentList">AttachmentList.</param>
 /// <param name="CategoryId">CategoryId.</param>
 /// <param name="CategoryName">CategoryName.</param>
 /// <param name="Score">Score.</param>
 public Interaction(long?InteractionId = null, string InteractionTitle = null, string InteractionDescription = null, string InteractionType = null, User Issuer = null, int?NoOfResponses = null, bool?IsClosed = null, DateTime?CreatedDate = null, DateTime?LastUpdatedDate = null, string Association = null, string VideoId = null, string FileURL = null, string FileEntityName = null, bool?IsSubscribed = null, string Sentiment = null, Sentiment SentimentDetails = null, double?SentimentWeightage = null, List <NER> Entity = null, List <Multimedia> AttachmentList = null, long?CategoryId = null, string CategoryName = null, double?Score = null)
 {
     this.InteractionId          = InteractionId;
     this.InteractionTitle       = InteractionTitle;
     this.InteractionDescription = InteractionDescription;
     this.InteractionType        = InteractionType;
     this.Issuer        = Issuer;
     this.NoOfResponses = NoOfResponses;
     // use default value if no "IsClosed" provided
     if (IsClosed == null)
     {
         this.IsClosed = false;
     }
     else
     {
         this.IsClosed = IsClosed;
     }
     this.CreatedDate     = CreatedDate;
     this.LastUpdatedDate = LastUpdatedDate;
     this.Association     = Association;
     this.VideoId         = VideoId;
     this.FileURL         = FileURL;
     this.FileEntityName  = FileEntityName;
     // use default value if no "IsSubscribed" provided
     if (IsSubscribed == null)
     {
         this.IsSubscribed = false;
     }
     else
     {
         this.IsSubscribed = IsSubscribed;
     }
     this.Sentiment          = Sentiment;
     this.SentimentDetails   = SentimentDetails;
     this.SentimentWeightage = SentimentWeightage;
     this.Entity             = Entity;
     this.AttachmentList     = AttachmentList;
     this.CategoryId         = CategoryId;
     this.CategoryName       = CategoryName;
     this.Score = Score;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VerveResponseSentiment" /> class.
 /// </summary>
 /// <param name="StatusCode">StatusCode.</param>
 /// <param name="Message">Message.</param>
 /// <param name="Data">Data.</param>
 /// <param name="Records">Records.</param>
 public VerveResponseSentiment(string StatusCode = null, string Message = null, Sentiment Data = null, long?Records = null)
 {
     this.StatusCode = StatusCode;
     this.Message    = Message;
     this.Data       = Data;
     this.Records    = Records;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Blog" /> class.
 /// </summary>
 /// <param name="BlogId">BlogId.</param>
 /// <param name="Title">Title.</param>
 /// <param name="Description">Description.</param>
 /// <param name="User">User.</param>
 /// <param name="CreationTime">CreationTime.</param>
 /// <param name="Association">Association.</param>
 /// <param name="Sentiment">Sentiment.</param>
 /// <param name="SentimentDetails">SentimentDetails.</param>
 /// <param name="SentimentWeightage">SentimentWeightage.</param>
 /// <param name="Entity">Entity.</param>
 public Blog(long?BlogId = null, string Title = null, string Description = null, User User = null, DateTime?CreationTime = null, long?Association = null, string Sentiment = null, Sentiment SentimentDetails = null, double?SentimentWeightage = null, List <NER> Entity = null)
 {
     this.BlogId             = BlogId;
     this.Title              = Title;
     this.Description        = Description;
     this.User               = User;
     this.CreationTime       = CreationTime;
     this.Association        = Association;
     this.Sentiment          = Sentiment;
     this.SentimentDetails   = SentimentDetails;
     this.SentimentWeightage = SentimentWeightage;
     this.Entity             = Entity;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Discussion" /> class.
 /// </summary>
 /// <param name="DiscussionId">DiscussionId.</param>
 /// <param name="User">User.</param>
 /// <param name="Subject">Subject.</param>
 /// <param name="Description">Description.</param>
 /// <param name="CreationTime">CreationTime.</param>
 /// <param name="Sentiment">Sentiment.</param>
 /// <param name="SentimentDetails">SentimentDetails.</param>
 /// <param name="SentimentWeightage">SentimentWeightage.</param>
 /// <param name="Entity">Entity.</param>
 /// <param name="Association">Association.</param>
 public Discussion(long?DiscussionId = null, User User = null, string Subject = null, string Description = null, DateTime?CreationTime = null, string Sentiment = null, Sentiment SentimentDetails = null, double?SentimentWeightage = null, List <NER> Entity = null, long?Association = null)
 {
     this.DiscussionId       = DiscussionId;
     this.User               = User;
     this.Subject            = Subject;
     this.Description        = Description;
     this.CreationTime       = CreationTime;
     this.Sentiment          = Sentiment;
     this.SentimentDetails   = SentimentDetails;
     this.SentimentWeightage = SentimentWeightage;
     this.Entity             = Entity;
     this.Association        = Association;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Idea" /> class.
 /// </summary>
 /// <param name="IdeaId">IdeaId.</param>
 /// <param name="IdeaTitle">IdeaTitle.</param>
 /// <param name="Group">Group.</param>
 /// <param name="IdeaDescription">IdeaDescription.</param>
 /// <param name="Ideator">Ideator.</param>
 /// <param name="IdeaCreationDate">IdeaCreationDate.</param>
 /// <param name="LastModifiedDate">LastModifiedDate.</param>
 /// <param name="IdeaStage">IdeaStage.</param>
 /// <param name="Domain">Domain.</param>
 /// <param name="Technology">Technology.</param>
 /// <param name="AccessType">AccessType.</param>
 /// <param name="VideoId">VideoId.</param>
 /// <param name="ActiveStatus">ActiveStatus.</param>
 /// <param name="TeamStatus">TeamStatus.</param>
 /// <param name="ProjectStatus">ProjectStatus.</param>
 /// <param name="TotalFollowers">TotalFollowers.</param>
 /// <param name="TotalComments">TotalComments.</param>
 /// <param name="TotalBlogs">TotalBlogs.</param>
 /// <param name="AverageRatingScore">AverageRatingScore.</param>
 /// <param name="NumberOfRatings">NumberOfRatings.</param>
 /// <param name="CurrentUserFollowing">CurrentUserFollowing (default to false).</param>
 /// <param name="CurrentUserRating">CurrentUserRating.</param>
 /// <param name="IdeaFileURL">IdeaFileURL.</param>
 /// <param name="AttachmentList">AttachmentList.</param>
 /// <param name="Sentiment">Sentiment.</param>
 /// <param name="SentimentDetails">SentimentDetails.</param>
 /// <param name="SentimentWeightage">SentimentWeightage.</param>
 /// <param name="Entity">Entity.</param>
 public Idea(long?IdeaId = null, string IdeaTitle = null, Group Group = null, string IdeaDescription = null, User Ideator = null, DateTime?IdeaCreationDate = null, DateTime?LastModifiedDate = null, string IdeaStage = null, string Domain = null, string Technology = null, string AccessType = null, string VideoId = null, string ActiveStatus = null, string TeamStatus = null, string ProjectStatus = null, long?TotalFollowers = null, long?TotalComments = null, long?TotalBlogs = null, double?AverageRatingScore = null, long?NumberOfRatings = null, bool?CurrentUserFollowing = null, double?CurrentUserRating = null, string IdeaFileURL = null, List <Multimedia> AttachmentList = null, string Sentiment = null, Sentiment SentimentDetails = null, double?SentimentWeightage = null, List <NER> Entity = null)
 {
     this.IdeaId             = IdeaId;
     this.IdeaTitle          = IdeaTitle;
     this.Group              = Group;
     this.IdeaDescription    = IdeaDescription;
     this.Ideator            = Ideator;
     this.IdeaCreationDate   = IdeaCreationDate;
     this.LastModifiedDate   = LastModifiedDate;
     this.IdeaStage          = IdeaStage;
     this.Domain             = Domain;
     this.Technology         = Technology;
     this.AccessType         = AccessType;
     this.VideoId            = VideoId;
     this.ActiveStatus       = ActiveStatus;
     this.TeamStatus         = TeamStatus;
     this.ProjectStatus      = ProjectStatus;
     this.TotalFollowers     = TotalFollowers;
     this.TotalComments      = TotalComments;
     this.TotalBlogs         = TotalBlogs;
     this.AverageRatingScore = AverageRatingScore;
     this.NumberOfRatings    = NumberOfRatings;
     // use default value if no "CurrentUserFollowing" provided
     if (CurrentUserFollowing == null)
     {
         this.CurrentUserFollowing = false;
     }
     else
     {
         this.CurrentUserFollowing = CurrentUserFollowing;
     }
     this.CurrentUserRating  = CurrentUserRating;
     this.IdeaFileURL        = IdeaFileURL;
     this.AttachmentList     = AttachmentList;
     this.Sentiment          = Sentiment;
     this.SentimentDetails   = SentimentDetails;
     this.SentimentWeightage = SentimentWeightage;
     this.Entity             = Entity;
 }