Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified StayWell.Interface/bin/Debug/StayWell.Interface.dll
Binary file not shown.
Binary file modified StayWell.Interface/bin/Debug/StayWell.Interface.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace StayWell.ServiceDefinitions.Content.Objects {
/// <summary>
/// Reference used for added, updated, or deleted content
/// </summary>
public class ContentModificationItem {
/// <summary>
/// Content slug
/// </summary>
public string ContentSlug { get; set; }

/// <summary>
/// Bucket slug
/// </summary>
public string BucketSlug { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Xml.Serialization;

namespace StayWell.ServiceDefinitions.Content.Objects {
/// <summary>
/// List of added, updated, or deleted content
/// </summary>
[XmlType("ModifiedContentResponse")]
public class ContentModifications {
/// <summary>
/// Requested start time to return modifications from.
/// </summary>
public DateTime StartTime { get; set; }

/// <summary>
/// List of content items that have been added
/// </summary>
public List<ContentModificationItem> Additions { get; set; }

/// <summary>
/// List of content items that have been removed
/// </summary>
public List<ContentModificationItem> Removals { get; set; }

/// <summary>
/// List of content items that have been updated
/// </summary>
public List<ContentModificationItem> Updates { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@
<Compile Include="Content\Objects\ContentHistoryResponse.cs" />
<Compile Include="Content\Objects\ContentList.cs" />
<Compile Include="Content\Objects\ContentMetadataResponse.cs" />
<Compile Include="Content\Objects\ContentModificationItem.cs" />
<Compile Include="Content\Objects\ContentModifications.cs" />
<Compile Include="Content\Objects\ContentOriginType.cs" />
<Compile Include="Content\Objects\ContentRatingResponse.cs" />
<Compile Include="Content\Objects\ContentResponse.cs" />
Expand Down