コード例 #1
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;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MediaResponseModel" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="responseTemplateTypeId">responseTemplateTypeId.</param>
 /// <param name="applicationId">applicationId.</param>
 /// <param name="displayTitle">displayTitle.</param>
 /// <param name="displayText">displayText.</param>
 /// <param name="readoutOverride">readoutOverride.</param>
 /// <param name="foregroundImageItemId">foregroundImageItemId.</param>
 /// <param name="backgroundImageItemId">backgroundImageItemId.</param>
 /// <param name="audioItemId">audioItemId.</param>
 /// <param name="videoItemId">videoItemId.</param>
 /// <param name="deviceTargetId">deviceTargetId.</param>
 /// <param name="customMarkup">customMarkup.</param>
 /// <param name="createdFromId">createdFromId.</param>
 /// <param name="responseTemplateType">responseTemplateType.</param>
 /// <param name="foregroundImageItem">foregroundImageItem.</param>
 /// <param name="backgroundImageItem">backgroundImageItem.</param>
 /// <param name="audioItem">audioItem.</param>
 /// <param name="videoItem">videoItem.</param>
 /// <param name="deviceTarget">deviceTarget.</param>
 /// <param name="appliedApplicationTemplateFormId">appliedApplicationTemplateFormId.</param>
 public MediaResponseModel(string id = default(string), string responseTemplateTypeId = default(string), string applicationId = default(string), string displayTitle = default(string), string displayText = default(string), string readoutOverride = default(string), string foregroundImageItemId = default(string), string backgroundImageItemId = default(string), string audioItemId = default(string), string videoItemId = default(string), string deviceTargetId = default(string), string customMarkup = default(string), string createdFromId = default(string), ResponseTemplateTypeModel responseTemplateType = default(ResponseTemplateTypeModel), MediaItemModel foregroundImageItem = default(MediaItemModel), MediaItemModel backgroundImageItem = default(MediaItemModel), MediaItemModel audioItem = default(MediaItemModel), MediaItemModel videoItem = default(MediaItemModel), BasicDeviceTargetModel deviceTarget = default(BasicDeviceTargetModel), string appliedApplicationTemplateFormId = default(string))
 {
     this.Id = id;
     this.ResponseTemplateTypeId = responseTemplateTypeId;
     this.ApplicationId          = applicationId;
     this.DisplayTitle           = displayTitle;
     this.DisplayText            = displayText;
     this.ReadoutOverride        = readoutOverride;
     this.ForegroundImageItemId  = foregroundImageItemId;
     this.BackgroundImageItemId  = backgroundImageItemId;
     this.AudioItemId            = audioItemId;
     this.VideoItemId            = videoItemId;
     this.DeviceTargetId         = deviceTargetId;
     this.CustomMarkup           = customMarkup;
     this.CreatedFromId          = createdFromId;
     this.ResponseTemplateType   = responseTemplateType;
     this.ForegroundImageItem    = foregroundImageItem;
     this.BackgroundImageItem    = backgroundImageItem;
     this.AudioItem    = audioItem;
     this.VideoItem    = videoItem;
     this.DeviceTarget = deviceTarget;
     this.AppliedApplicationTemplateFormId = appliedApplicationTemplateFormId;
 }
コード例 #3
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;
 }
コード例 #4
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;
 }
コード例 #5
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;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BixbyResponse" /> class.
 /// </summary>
 /// <param name="responseId">responseId.</param>
 /// <param name="ssml">ssml.</param>
 /// <param name="outputSpeech">outputSpeech.</param>
 /// <param name="displayText">displayText.</param>
 /// <param name="displayTitle">displayTitle.</param>
 /// <param name="responseTemplate">responseTemplate.</param>
 /// <param name="foregroundImage">foregroundImage.</param>
 /// <param name="backgroundImage">backgroundImage.</param>
 /// <param name="audioFile">audioFile.</param>
 /// <param name="videoFile">videoFile.</param>
 /// <param name="sessionAttributes">sessionAttributes.</param>
 /// <param name="hints">hints.</param>
 /// <param name="listItems">listItems.</param>
 public BixbyResponse(string responseId = default(string), string ssml = default(string), string outputSpeech = default(string), string displayText = default(string), string displayTitle = default(string), string responseTemplate = default(string), MediaItemModel foregroundImage = default(MediaItemModel), MediaItemModel backgroundImage = default(MediaItemModel), MediaItemModel audioFile = default(MediaItemModel), MediaItemModel videoFile = default(MediaItemModel), Dictionary <string, Object> sessionAttributes = default(Dictionary <string, Object>), List <string> hints = default(List <string>), List <BixbyListItem> listItems = default(List <BixbyListItem>))
 {
     this.ResponseId        = responseId;
     this.Ssml              = ssml;
     this.OutputSpeech      = outputSpeech;
     this.DisplayText       = displayText;
     this.DisplayTitle      = displayTitle;
     this.ResponseTemplate  = responseTemplate;
     this.ForegroundImage   = foregroundImage;
     this.BackgroundImage   = backgroundImage;
     this.AudioFile         = audioFile;
     this.VideoFile         = videoFile;
     this.SessionAttributes = sessionAttributes;
     this.Hints             = hints;
     this.ListItems         = listItems;
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BixbyListItem" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="title">title.</param>
 /// <param name="description">description.</param>
 /// <param name="image">image.</param>
 public BixbyListItem(string id = default(string), string title = default(string), string description = default(string), MediaItemModel image = default(MediaItemModel))
 {
     this.Id          = id;
     this.Title       = title;
     this.Description = description;
     this.Image       = image;
 }