diff --git a/StayWell.Interface/bin/Debug/StayWell.Interface.dll b/StayWell.Interface/bin/Debug/StayWell.Interface.dll index 22b5b01..74ec880 100644 Binary files a/StayWell.Interface/bin/Debug/StayWell.Interface.dll and b/StayWell.Interface/bin/Debug/StayWell.Interface.dll differ diff --git a/StayWell.Interface/bin/Debug/StayWell.Interface.pdb b/StayWell.Interface/bin/Debug/StayWell.Interface.pdb index 3870113..8ca7d35 100644 Binary files a/StayWell.Interface/bin/Debug/StayWell.Interface.pdb and b/StayWell.Interface/bin/Debug/StayWell.Interface.pdb differ diff --git a/StayWell.ServiceDefinitions/Content/Objects/ContentModificationItem.cs b/StayWell.ServiceDefinitions/Content/Objects/ContentModificationItem.cs new file mode 100644 index 0000000..ed97f1f --- /dev/null +++ b/StayWell.ServiceDefinitions/Content/Objects/ContentModificationItem.cs @@ -0,0 +1,16 @@ +namespace StayWell.ServiceDefinitions.Content.Objects { + /// + /// Reference used for added, updated, or deleted content + /// + public class ContentModificationItem { + /// + /// Content slug + /// + public string ContentSlug { get; set; } + + /// + /// Bucket slug + /// + public string BucketSlug { get; set; } + } +} diff --git a/StayWell.ServiceDefinitions/Content/Objects/ContentModifications.cs b/StayWell.ServiceDefinitions/Content/Objects/ContentModifications.cs new file mode 100644 index 0000000..a9ab35f --- /dev/null +++ b/StayWell.ServiceDefinitions/Content/Objects/ContentModifications.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Xml.Serialization; + +namespace StayWell.ServiceDefinitions.Content.Objects { + /// + /// List of added, updated, or deleted content + /// + [XmlType("ModifiedContentResponse")] + public class ContentModifications { + /// + /// Requested start time to return modifications from. + /// + public DateTime StartTime { get; set; } + + /// + /// List of content items that have been added + /// + public List Additions { get; set; } + + /// + /// List of content items that have been removed + /// + public List Removals { get; set; } + + /// + /// List of content items that have been updated + /// + public List Updates { get; set; } + } +} diff --git a/StayWell.ServiceDefinitions/StayWell.ServiceDefinitions.csproj b/StayWell.ServiceDefinitions/StayWell.ServiceDefinitions.csproj index d7e34b3..070debb 100644 --- a/StayWell.ServiceDefinitions/StayWell.ServiceDefinitions.csproj +++ b/StayWell.ServiceDefinitions/StayWell.ServiceDefinitions.csproj @@ -105,6 +105,8 @@ + +