/// <summary> /// Constructor /// </summary> /// <param name="storyType">The story type</param> /// <param name="name">Name of the story</param> /// <param name="description">Story description</param> /// <param name="labels">Labels for the story</param> public PivotalStory(PivotalStoryType storyType, string name, string description, string labels) : this(storyType, name, description) { Labels = labels; }
/// <summary> /// Constructor /// </summary> /// <param name="storyType">The story type</param> /// <param name="name">Name of the story</param> /// <param name="description">Story description</param> public PivotalStory(PivotalStoryType storyType, string name, string description) { StoryType = storyType; Name = name; Description = description; }
/// <summary> /// Creates a query string to use as a filter parameter (does not prepend the ampersand) /// </summary> /// <param name="storyType">The story type</param> /// <param name="baseFilter">the filter to extend. Leave blank or null to create a new filter base</param> /// <returns>A query string</returns> public static string BuildStoryTypeFilter(PivotalStoryType storyType, string baseFilter) { return(ConstructFilter(baseFilter, "type", storyType.ToString())); }
/// <summary> /// Creates a query string to use as a filter parameter (does not prepend the ampersand) /// </summary> /// <param name="storyType">The story type</param> /// <param name="baseFilter">the filter to extend. Leave blank or null to create a new filter base</param> /// <returns>A query string</returns> public static string BuildStoryTypeFilter(PivotalStoryType storyType, string baseFilter) { return ConstructFilter(baseFilter, "type", storyType.ToString()); }