/// <summary> /// Initializes a new instance of the <see cref="UpdateFollowUpRequest" /> class. /// </summary> /// <param name="id">id (required).</param> /// <param name="content">content.</param> /// <param name="name">name.</param> /// <param name="followUpHints">followUpHints.</param> /// <param name="childContentContainer">childContentContainer.</param> /// <param name="fallbackMessageId">fallbackMessageId.</param> /// <param name="helpMessageId">helpMessageId.</param> public UpdateFollowUpRequest(string id = default(string), string content = default(string), string name = default(string), List <UpdateFollowUpHintRequest> followUpHints = default(List <UpdateFollowUpHintRequest>), UpdateChildContentContainerRequest childContentContainer = default(UpdateChildContentContainerRequest), string fallbackMessageId = default(string), string helpMessageId = default(string)) { // to ensure "id" is required (not null) if (id == null) { throw new InvalidDataException("id is a required property for UpdateFollowUpRequest and cannot be null"); } else { this.Id = id; } this.Content = content; this.Name = name; this.FollowUpHints = followUpHints; this.ChildContentContainer = childContentContainer; this.FallbackMessageId = fallbackMessageId; this.HelpMessageId = helpMessageId; }
/// <summary> /// Initializes a new instance of the <see cref="CreateFollowUpRequest" /> class. /// </summary> /// <param name="content">content.</param> /// <param name="name">name.</param> /// <param name="followUpHints">followUpHints.</param> /// <param name="childContentContainer">childContentContainer.</param> /// <param name="fallbackMessageId">fallbackMessageId.</param> /// <param name="helpMessageId">helpMessageId.</param> public CreateFollowUpRequest(string content = default(string), string name = default(string), List <CreateFollowUpHintRequest> followUpHints = default(List <CreateFollowUpHintRequest>), UpdateChildContentContainerRequest childContentContainer = default(UpdateChildContentContainerRequest), string fallbackMessageId = default(string), string helpMessageId = default(string)) { this.Content = content; this.Name = name; this.FollowUpHints = followUpHints; this.ChildContentContainer = childContentContainer; this.FallbackMessageId = fallbackMessageId; this.HelpMessageId = helpMessageId; }