Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RecipeModel" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="applicationId">applicationId.</param>
 /// <param name="applicationFeatureId">applicationFeatureId.</param>
 /// <param name="title">title.</param>
 /// <param name="hits">hits.</param>
 /// <param name="isLive">isLive.</param>
 /// <param name="applicationModuleId">applicationModuleId.</param>
 /// <param name="recipeName">recipeName.</param>
 /// <param name="keywords">keywords.</param>
 /// <param name="description">description.</param>
 /// <param name="mealType">mealType.</param>
 /// <param name="servings">servings.</param>
 /// <param name="totalTime">totalTime.</param>
 /// <param name="calories">calories.</param>
 /// <param name="createdDate">createdDate.</param>
 /// <param name="modifiedDate">modifiedDate.</param>
 /// <param name="smallImage">smallImage.</param>
 /// <param name="largeImage">largeImage.</param>
 /// <param name="backgroundImage">backgroundImage.</param>
 /// <param name="audio">audio.</param>
 /// <param name="video">video.</param>
 /// <param name="mediaResponseContainer">mediaResponseContainer.</param>
 /// <param name="content">content.</param>
 /// <param name="ingredients">ingredients.</param>
 /// <param name="steps">steps.</param>
 /// <param name="recipeWebhooks">recipeWebhooks.</param>
 /// <param name="displayTextOverride">displayTextOverride.</param>
 /// <param name="displayTitleOverride">displayTitleOverride.</param>
 /// <param name="mediaResponseContainerId">mediaResponseContainerId.</param>
 /// <param name="requiresParent">requiresParent.</param>
 /// <param name="isComplete">isComplete.</param>
 /// <param name="createdFromId">createdFromId.</param>
 /// <param name="languages">languages.</param>
 /// <param name="shouldNotSync">shouldNotSync.</param>
 /// <param name="webhookChainingType">webhookChainingType.</param>
 /// <param name="appliedApplicationTemplateFormId">appliedApplicationTemplateFormId.</param>
 public RecipeModel(string id = default(string), string applicationId = default(string), string applicationFeatureId = default(string), string title = default(string), int?hits = default(int?), bool?isLive = default(bool?), string applicationModuleId = default(string), string recipeName = default(string), string keywords = default(string), string description = default(string), string mealType = default(string), string servings = default(string), string totalTime = default(string), int?calories = default(int?), DateTime?createdDate = default(DateTime?), DateTime?modifiedDate = default(DateTime?), MediaItemModel smallImage = default(MediaItemModel), MediaItemModel largeImage = default(MediaItemModel), MediaItemModel backgroundImage = default(MediaItemModel), MediaItemModel audio = default(MediaItemModel), MediaItemModel video = default(MediaItemModel), MediaResponseContainerModel mediaResponseContainer = default(MediaResponseContainerModel), string content = default(string), List <RecipeIngredientModel> ingredients = default(List <RecipeIngredientModel>), List <RecipeStepModel> steps = default(List <RecipeStepModel>), List <RecipeWebhookModel> recipeWebhooks = default(List <RecipeWebhookModel>), string displayTextOverride = default(string), string displayTitleOverride = default(string), string mediaResponseContainerId = default(string), bool?requiresParent = default(bool?), bool?isComplete = default(bool?), string createdFromId = default(string), List <LanguageModel> languages = default(List <LanguageModel>), bool?shouldNotSync = default(bool?), WebhookChainingType?webhookChainingType = default(WebhookChainingType?), string appliedApplicationTemplateFormId = default(string))
 {
     this.Id                               = id;
     this.ApplicationId                    = applicationId;
     this.ApplicationFeatureId             = applicationFeatureId;
     this.Title                            = title;
     this.Hits                             = hits;
     this.IsLive                           = isLive;
     this.ApplicationModuleId              = applicationModuleId;
     this.RecipeName                       = recipeName;
     this.Keywords                         = keywords;
     this.Description                      = description;
     this.MealType                         = mealType;
     this.Servings                         = servings;
     this.TotalTime                        = totalTime;
     this.Calories                         = calories;
     this.CreatedDate                      = createdDate;
     this.ModifiedDate                     = modifiedDate;
     this.SmallImage                       = smallImage;
     this.LargeImage                       = largeImage;
     this.BackgroundImage                  = backgroundImage;
     this.Audio                            = audio;
     this.Video                            = video;
     this.MediaResponseContainer           = mediaResponseContainer;
     this.Content                          = content;
     this.Ingredients                      = ingredients;
     this.Steps                            = steps;
     this.RecipeWebhooks                   = recipeWebhooks;
     this.DisplayTextOverride              = displayTextOverride;
     this.DisplayTitleOverride             = displayTitleOverride;
     this.MediaResponseContainerId         = mediaResponseContainerId;
     this.RequiresParent                   = requiresParent;
     this.IsComplete                       = isComplete;
     this.CreatedFromId                    = createdFromId;
     this.Languages                        = languages;
     this.ShouldNotSync                    = shouldNotSync;
     this.WebhookChainingType              = webhookChainingType;
     this.AppliedApplicationTemplateFormId = appliedApplicationTemplateFormId;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FallbackMessageModel" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="applicationId">applicationId.</param>
 /// <param name="applicationFeatureId">applicationFeatureId.</param>
 /// <param name="title">title.</param>
 /// <param name="isLive">isLive.</param>
 /// <param name="startDate">startDate.</param>
 /// <param name="endDate">endDate.</param>
 /// <param name="content">content.</param>
 /// <param name="smallImage">smallImage.</param>
 /// <param name="largeImage">largeImage.</param>
 /// <param name="backgroundImage">backgroundImage.</param>
 /// <param name="audio">audio.</param>
 /// <param name="video">video.</param>
 /// <param name="hits">hits.</param>
 /// <param name="category">category.</param>
 /// <param name="reprompt">reprompt.</param>
 /// <param name="repromptId">repromptId.</param>
 /// <param name="fallbackMessageWebhooks">fallbackMessageWebhooks.</param>
 /// <param name="createdDate">createdDate.</param>
 /// <param name="modifiedDate">modifiedDate.</param>
 /// <param name="mediaResponseContainerId">mediaResponseContainerId.</param>
 /// <param name="createdFromId">createdFromId.</param>
 /// <param name="displayTextOverride">displayTextOverride.</param>
 /// <param name="displayTitleOverride">displayTitleOverride.</param>
 /// <param name="followUpId">followUpId.</param>
 /// <param name="followUp">followUp.</param>
 /// <param name="mediaResponseContainer">mediaResponseContainer.</param>
 /// <param name="requiresParent">requiresParent.</param>
 /// <param name="isComplete">isComplete.</param>
 /// <param name="languages">languages.</param>
 /// <param name="shouldNotSync">shouldNotSync.</param>
 /// <param name="responseId">responseId.</param>
 /// <param name="responses">responses.</param>
 /// <param name="webhookChainingType">webhookChainingType.</param>
 /// <param name="appliedApplicationTemplateFormId">appliedApplicationTemplateFormId.</param>
 public FallbackMessageModel(string id = default(string), string applicationId = default(string), string applicationFeatureId = default(string), string title = default(string), bool?isLive = default(bool?), DateTime?startDate = default(DateTime?), DateTime?endDate = default(DateTime?), string content = default(string), MediaItemModel smallImage = default(MediaItemModel), MediaItemModel largeImage = default(MediaItemModel), MediaItemModel backgroundImage = default(MediaItemModel), MediaItemModel audio = default(MediaItemModel), MediaItemModel video = default(MediaItemModel), int?hits = default(int?), FallbackMessageCategoryModel category = default(FallbackMessageCategoryModel), RepromptModel reprompt = default(RepromptModel), string repromptId = default(string), List <FallbackMessageWebhookModel> fallbackMessageWebhooks = default(List <FallbackMessageWebhookModel>), DateTime?createdDate = default(DateTime?), DateTime?modifiedDate = default(DateTime?), string mediaResponseContainerId = default(string), string createdFromId = default(string), string displayTextOverride = default(string), string displayTitleOverride = default(string), string followUpId = default(string), FollowUpModel followUp = default(FollowUpModel), MediaResponseContainerModel mediaResponseContainer = default(MediaResponseContainerModel), bool?requiresParent = default(bool?), bool?isComplete = default(bool?), List <LanguageModel> languages = default(List <LanguageModel>), bool?shouldNotSync = default(bool?), string responseId = default(string), List <FallbackMessageResponseModel> responses = default(List <FallbackMessageResponseModel>), WebhookChainingType?webhookChainingType = default(WebhookChainingType?), string appliedApplicationTemplateFormId = default(string))
 {
     this.Id                               = id;
     this.ApplicationId                    = applicationId;
     this.ApplicationFeatureId             = applicationFeatureId;
     this.Title                            = title;
     this.IsLive                           = isLive;
     this.StartDate                        = startDate;
     this.EndDate                          = endDate;
     this.Content                          = content;
     this.SmallImage                       = smallImage;
     this.LargeImage                       = largeImage;
     this.BackgroundImage                  = backgroundImage;
     this.Audio                            = audio;
     this.Video                            = video;
     this.Hits                             = hits;
     this.Category                         = category;
     this.Reprompt                         = reprompt;
     this.RepromptId                       = repromptId;
     this.FallbackMessageWebhooks          = fallbackMessageWebhooks;
     this.CreatedDate                      = createdDate;
     this.ModifiedDate                     = modifiedDate;
     this.MediaResponseContainerId         = mediaResponseContainerId;
     this.CreatedFromId                    = createdFromId;
     this.DisplayTextOverride              = displayTextOverride;
     this.DisplayTitleOverride             = displayTitleOverride;
     this.FollowUpId                       = followUpId;
     this.FollowUp                         = followUp;
     this.MediaResponseContainer           = mediaResponseContainer;
     this.RequiresParent                   = requiresParent;
     this.IsComplete                       = isComplete;
     this.Languages                        = languages;
     this.ShouldNotSync                    = shouldNotSync;
     this.ResponseId                       = responseId;
     this.Responses                        = responses;
     this.WebhookChainingType              = webhookChainingType;
     this.AppliedApplicationTemplateFormId = appliedApplicationTemplateFormId;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExitMessageResponseModel" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="content">content.</param>
 /// <param name="exitMessageId">exitMessageId.</param>
 /// <param name="smallImage">smallImage.</param>
 /// <param name="largeImage">largeImage.</param>
 /// <param name="backgroundImage">backgroundImage.</param>
 /// <param name="audio">audio.</param>
 /// <param name="video">video.</param>
 /// <param name="reprompt">reprompt.</param>
 /// <param name="repromptId">repromptId.</param>
 /// <param name="mediaResponseContainer">mediaResponseContainer.</param>
 /// <param name="followUp">followUp.</param>
 /// <param name="createdDate">createdDate.</param>
 /// <param name="modifiedDate">modifiedDate.</param>
 /// <param name="mediaResponseContainerId">mediaResponseContainerId.</param>
 /// <param name="displayTextOverride">displayTextOverride.</param>
 /// <param name="displayTitleOverride">displayTitleOverride.</param>
 /// <param name="followUpId">followUpId.</param>
 /// <param name="responseId">responseId.</param>
 /// <param name="conditions">conditions.</param>
 /// <param name="flagRules">flagRules.</param>
 public ExitMessageResponseModel(string id = default(string), string content = default(string), string exitMessageId = default(string), MediaItemModel smallImage = default(MediaItemModel), MediaItemModel largeImage = default(MediaItemModel), MediaItemModel backgroundImage = default(MediaItemModel), MediaItemModel audio = default(MediaItemModel), MediaItemModel video = default(MediaItemModel), RepromptModel reprompt = default(RepromptModel), string repromptId = default(string), MediaResponseContainerModel mediaResponseContainer = default(MediaResponseContainerModel), FollowUpModel followUp = default(FollowUpModel), DateTime?createdDate = default(DateTime?), DateTime?modifiedDate = default(DateTime?), string mediaResponseContainerId = default(string), string displayTextOverride = default(string), string displayTitleOverride = default(string), string followUpId = default(string), string responseId = default(string), List <ConditionInstanceModel> conditions = default(List <ConditionInstanceModel>), List <ResponseFlagRuleModel> flagRules = default(List <ResponseFlagRuleModel>))
 {
     this.Id                       = id;
     this.Content                  = content;
     this.ExitMessageId            = exitMessageId;
     this.SmallImage               = smallImage;
     this.LargeImage               = largeImage;
     this.BackgroundImage          = backgroundImage;
     this.Audio                    = audio;
     this.Video                    = video;
     this.Reprompt                 = reprompt;
     this.RepromptId               = repromptId;
     this.MediaResponseContainer   = mediaResponseContainer;
     this.FollowUp                 = followUp;
     this.CreatedDate              = createdDate;
     this.ModifiedDate             = modifiedDate;
     this.MediaResponseContainerId = mediaResponseContainerId;
     this.DisplayTextOverride      = displayTextOverride;
     this.DisplayTitleOverride     = displayTitleOverride;
     this.FollowUpId               = followUpId;
     this.ResponseId               = responseId;
     this.Conditions               = conditions;
     this.FlagRules                = flagRules;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RecipeStepModel" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="smallImage">smallImage.</param>
 /// <param name="largeImage">largeImage.</param>
 /// <param name="backgroundImage">backgroundImage.</param>
 /// <param name="audio">audio.</param>
 /// <param name="video">video.</param>
 /// <param name="mediaResponseContainer">mediaResponseContainer.</param>
 /// <param name="content">content.</param>
 /// <param name="recipeId">recipeId.</param>
 /// <param name="stepNumber">stepNumber.</param>
 /// <param name="reprompt">reprompt.</param>
 /// <param name="createdDate">createdDate.</param>
 /// <param name="modifiedDate">modifiedDate.</param>
 /// <param name="mediaResponseContainerId">mediaResponseContainerId.</param>
 /// <param name="repromptId">repromptId.</param>
 /// <param name="displayTextOverride">displayTextOverride.</param>
 /// <param name="displayTitleOverride">displayTitleOverride.</param>
 /// <param name="followUpId">followUpId.</param>
 /// <param name="responseId">responseId.</param>
 public RecipeStepModel(string id = default(string), MediaItemModel smallImage = default(MediaItemModel), MediaItemModel largeImage = default(MediaItemModel), MediaItemModel backgroundImage = default(MediaItemModel), MediaItemModel audio = default(MediaItemModel), MediaItemModel video = default(MediaItemModel), MediaResponseContainerModel mediaResponseContainer = default(MediaResponseContainerModel), string content = default(string), string recipeId = default(string), int?stepNumber = default(int?), RepromptModel reprompt = default(RepromptModel), DateTime?createdDate = default(DateTime?), DateTime?modifiedDate = default(DateTime?), string mediaResponseContainerId = default(string), string repromptId = default(string), string displayTextOverride = default(string), string displayTitleOverride = default(string), string followUpId = default(string), string responseId = default(string))
 {
     this.Id                       = id;
     this.SmallImage               = smallImage;
     this.LargeImage               = largeImage;
     this.BackgroundImage          = backgroundImage;
     this.Audio                    = audio;
     this.Video                    = video;
     this.MediaResponseContainer   = mediaResponseContainer;
     this.Content                  = content;
     this.RecipeId                 = recipeId;
     this.StepNumber               = stepNumber;
     this.Reprompt                 = reprompt;
     this.CreatedDate              = createdDate;
     this.ModifiedDate             = modifiedDate;
     this.MediaResponseContainerId = mediaResponseContainerId;
     this.RepromptId               = repromptId;
     this.DisplayTextOverride      = displayTextOverride;
     this.DisplayTitleOverride     = displayTitleOverride;
     this.FollowUpId               = followUpId;
     this.ResponseId               = responseId;
 }