Skip to content

Commit d7607bc

Browse files
Oct2018 update (#313)
* Updated base ad hoc functional to save the access token. * Added DriveItem preview functionality * Net framework targets should use the Net framework version of System.Net.Http. Fixes #312 * Updated models with updated doc comments * Bumped version.
1 parent 42fc1b8 commit d7607bc

File tree

192 files changed

+1123
-183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+1123
-183
lines changed

src/Microsoft.Graph.Core/Microsoft.Graph.Core.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@
33
<Description>Microsoft Graph Core Client Library implements core functionality used by Microsoft Graph Client Libraries.</Description>
44
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
55
<AssemblyTitle>Microsoft Graph Core Client Library</AssemblyTitle>
6-
<VersionPrefix>1.11.0</VersionPrefix>
7-
<FileVersion>1.11.0</FileVersion>
8-
<AssemblyVersion>1.11.0</AssemblyVersion>
6+
<VersionPrefix>1.12.0</VersionPrefix>
7+
<FileVersion>1.12.0</FileVersion>
8+
<AssemblyVersion>1.12.0</AssemblyVersion>
99
<Authors>Microsoft</Authors>
1010
<TargetFrameworks>netstandard1.1;net45</TargetFrameworks>
1111
<PreserveCompilationContext>false</PreserveCompilationContext>
1212
<AssemblyName>Microsoft.Graph.Core</AssemblyName>
1313
<PackageId>Microsoft.Graph.Core</PackageId>
1414
<PackageTags>Microsoft Office365;Graph;GraphServiceClient;Outlook;OneDrive;AzureAD;GraphAPI;Productivity;SharePoint;Intune;SDK</PackageTags>
1515
<PackageReleaseNotes>
16-
September 2018 Release Summary (version 1.11.0)
16+
October 2018 Release Summary (version 1.12.0)
1717

18-
- exposed the HttpProvider constructor
18+
- Retry handler added.
19+
- Added client factory.
20+
- Removed System.Net.Http package reference for .Net target.
1921
</PackageReleaseNotes>
2022
<PackageProjectUrl>https://developer.microsoft.com/graph</PackageProjectUrl>
2123
<PackageLicenseUrl>http://aka.ms/devservicesagreement</PackageLicenseUrl>
@@ -35,7 +37,7 @@ September 2018 Release Summary (version 1.11.0)
3537
<DelaySign>false</DelaySign>
3638
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
3739
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
38-
<Version>1.11.0</Version>
40+
<Version>1.12.0</Version>
3941
</PropertyGroup>
4042
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard1.1|AnyCPU'">
4143
<DocumentationFile>bin\Release\netstandard1.1\Microsoft.Graph.Core.xml</DocumentationFile>
@@ -58,8 +60,6 @@ September 2018 Release Summary (version 1.11.0)
5860
</ItemGroup>
5961
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' ">
6062
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
61-
</ItemGroup>
62-
<ItemGroup>
6363
<PackageReference Include="System.Net.Http" Version="4.3.3" />
6464
</ItemGroup>
6565
</Project>

src/Microsoft.Graph.Core/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
//
2525
// You can specify all the values or you can default the Build and Revision Numbers
2626
// by using the '*' as shown below:
27-
[assembly: AssemblyVersion("1.11.0")]
28-
[assembly: AssemblyFileVersion("1.11.0.0")]
27+
[assembly: AssemblyVersion("1.12.0")]
28+
[assembly: AssemblyFileVersion("1.12.0.0")]
2929

3030
#if DEBUG
3131
[assembly: InternalsVisibleTo("Microsoft.Graph.Core.Test")]

src/Microsoft.Graph/Microsoft.Graph.csproj

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
<Description>Microsoft Graph Client Library allows you to call Office 365, Azure AD and other Microsoft services through a single unified developer experience.</Description>
44
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
55
<AssemblyTitle>Microsoft Graph Client Library</AssemblyTitle>
6-
<VersionPrefix>1.11.0</VersionPrefix>
7-
<FileVersion>1.11.0</FileVersion>
8-
<AssemblyVersion>1.11.0</AssemblyVersion>
6+
<VersionPrefix>1.12.0</VersionPrefix>
7+
<FileVersion>1.12.0</FileVersion>
8+
<AssemblyVersion>1.12.0</AssemblyVersion>
99
<Authors>Microsoft</Authors>
1010
<TargetFrameworks>netstandard1.1;net45</TargetFrameworks>
1111
<PreserveCompilationContext>false</PreserveCompilationContext>
1212
<AssemblyName>Microsoft.Graph</AssemblyName>
1313
<PackageId>Microsoft.Graph</PackageId>
1414
<PackageTags>Microsoft Office365;Graph;GraphServiceClient;Outlook;OneDrive;AzureAD;GraphAPI;Productivity;SharePoint;Intune;SDK</PackageTags>
1515
<PackageReleaseNotes>
16-
September 2018 Release Summary (version 1.11.0)
16+
October 2018 Release Summary (version 1.12.0)
1717

18-
- Support the new Security Alerts API
19-
- Updates to the Intune API
20-
- Insights functionality updated for the user entity
21-
- MailTips are now enabled
22-
- Update to the subscription entity and additional documentation comments propagated to the IntelliSense file.
23-
- EducationClass entities now support adding reference navigation to the teachers and members entity collections.
18+
- New DriveItemPreviewRequestBody.cs is the request body content for the preview action bound to the driveItem entity.
19+
- New ItemPreviewInfo.cs is returned by the preview action.
20+
- Added odataType to base types.
21+
- New doc comments for IntelliSense.
22+
- New DriveItemPreviewRequest.cs and DriveItemPreviewRequestBuilder.cs requests. DriveItemRequestBuilder.cs updated to support the DriveItem preview functionality.
23+
- Removed System.Net.Http package reference for .Net target.
2424
</PackageReleaseNotes>
2525
<PackageProjectUrl>https://developer.microsoft.com/graph</PackageProjectUrl>
2626
<PackageLicenseUrl>http://aka.ms/devservicesagreement</PackageLicenseUrl>
@@ -40,7 +40,7 @@ September 2018 Release Summary (version 1.11.0)
4040
<DelaySign>false</DelaySign>
4141
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
4242
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
43-
<Version>1.11.0</Version>
43+
<Version>1.12.0</Version>
4444
</PropertyGroup>
4545
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard1.1|AnyCPU'">
4646
<DocumentationFile>bin\Release\Microsoft.Graph.xml</DocumentationFile>
@@ -49,11 +49,6 @@ September 2018 Release Summary (version 1.11.0)
4949
<ItemGroup>
5050
<ProjectReference Include="..\Microsoft.Graph.Core\Microsoft.Graph.Core.csproj" />
5151
</ItemGroup>
52-
<ItemGroup>
53-
<PackageReference Include="System.Net.Http" Version="4.3.3">
54-
<!--<ExcludeAssets>All</ExcludeAssets>-->
55-
</PackageReference>
56-
</ItemGroup>
5752
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
5853
<Reference Include="System" />
5954
<Reference Include="System.Net.Http" />
@@ -62,5 +57,6 @@ September 2018 Release Summary (version 1.11.0)
6257
</ItemGroup>
6358
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' ">
6459
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
60+
<PackageReference Include="System.Net.Http" Version="4.3.3" />
6561
</ItemGroup>
6662
</Project>

src/Microsoft.Graph/Models/Generated/ActivityHistoryItem.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,54 +23,63 @@ public partial class ActivityHistoryItem : Entity
2323

2424
/// <summary>
2525
/// Gets or sets status.
26+
/// Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored.
2627
/// </summary>
2728
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "status", Required = Newtonsoft.Json.Required.Default)]
2829
public Status? Status { get; set; }
2930

3031
/// <summary>
3132
/// Gets or sets active duration seconds.
33+
/// Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime.
3234
/// </summary>
3335
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "activeDurationSeconds", Required = Newtonsoft.Json.Required.Default)]
3436
public Int32? ActiveDurationSeconds { get; set; }
3537

3638
/// <summary>
3739
/// Gets or sets created date time.
40+
/// Set by the server. DateTime in UTC when the object was created on the server.
3841
/// </summary>
3942
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "createdDateTime", Required = Newtonsoft.Json.Required.Default)]
4043
public DateTimeOffset? CreatedDateTime { get; set; }
4144

4245
/// <summary>
4346
/// Gets or sets last active date time.
47+
/// Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing.
4448
/// </summary>
4549
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastActiveDateTime", Required = Newtonsoft.Json.Required.Default)]
4650
public DateTimeOffset? LastActiveDateTime { get; set; }
4751

4852
/// <summary>
4953
/// Gets or sets last modified date time.
54+
/// Set by the server. DateTime in UTC when the object was modified on the server.
5055
/// </summary>
5156
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedDateTime", Required = Newtonsoft.Json.Required.Default)]
5257
public DateTimeOffset? LastModifiedDateTime { get; set; }
5358

5459
/// <summary>
5560
/// Gets or sets expiration date time.
61+
/// Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client.
5662
/// </summary>
5763
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "expirationDateTime", Required = Newtonsoft.Json.Required.Default)]
5864
public DateTimeOffset? ExpirationDateTime { get; set; }
5965

6066
/// <summary>
6167
/// Gets or sets started date time.
68+
/// Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history.
6269
/// </summary>
6370
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "startedDateTime", Required = Newtonsoft.Json.Required.Default)]
6471
public DateTimeOffset? StartedDateTime { get; set; }
6572

6673
/// <summary>
6774
/// Gets or sets user timezone.
75+
/// Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation.
6876
/// </summary>
6977
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userTimezone", Required = Newtonsoft.Json.Required.Default)]
7078
public string UserTimezone { get; set; }
7179

7280
/// <summary>
7381
/// Gets or sets activity.
82+
/// Optional. NavigationProperty/Containment; navigation property to the associated activity.
7483
/// </summary>
7584
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "activity", Required = Newtonsoft.Json.Required.Default)]
7685
public UserActivity Activity { get; set; }

0 commit comments

Comments
 (0)