Skip to content
Permalink
Browse files

Merge dev into pageiterator branch

  • Loading branch information
MIchaelMainer committed Aug 15, 2019
2 parents 36e9654 + 94906eb commit c338eb41f770b6fce4810c3c6270b1cb80ee2c86
Showing with 764 additions and 14 deletions.
  1. +14 −0 src/Microsoft.Graph/Models/Extensions/TeamsTabExtension.cs
  2. +1 −1 src/Microsoft.Graph/Models/Generated/DateTimeTimeZone.cs
  3. +50 −0 src/Microsoft.Graph/Models/Generated/DirectoryObjectValidatePropertiesRequestBody.cs
  4. +1 −1 src/Microsoft.Graph/Models/Generated/EducationUser.cs
  5. +2 −2 src/Microsoft.Graph/Models/Generated/Event.cs
  6. +1 −1 src/Microsoft.Graph/Models/Generated/FileEncryptionInfo.cs
  7. +44 −0 src/Microsoft.Graph/Models/Generated/GroupValidatePropertiesRequestBody.cs
  8. +1 −1 src/Microsoft.Graph/Models/Generated/IosGeneralDeviceConfiguration.cs
  9. +6 −6 src/Microsoft.Graph/Models/Generated/Organization.cs
  10. +1 −1 src/Microsoft.Graph/Models/Generated/VppToken.cs
  11. +1 −1 src/Microsoft.Graph/Models/Generated/Windows10EndpointProtectionConfiguration.cs
  12. +19 −0 src/Microsoft.Graph/Requests/Generated/DirectoryDeletedItemsCollectionRequestBuilder.cs
  13. +86 −0 src/Microsoft.Graph/Requests/Generated/DirectoryObjectValidatePropertiesRequest.cs
  14. +78 −0 src/Microsoft.Graph/Requests/Generated/DirectoryObjectValidatePropertiesRequestBuilder.cs
  15. +19 −0 src/Microsoft.Graph/Requests/Generated/GraphServiceDirectoryObjectsCollectionRequestBuilder.cs
  16. +19 −0 src/Microsoft.Graph/Requests/Generated/GroupAcceptedSendersCollectionRequestBuilder.cs
  17. +19 −0 src/Microsoft.Graph/Requests/Generated/GroupRejectedSendersCollectionRequestBuilder.cs
  18. +17 −0 src/Microsoft.Graph/Requests/Generated/GroupRequestBuilder.cs
  19. +86 −0 src/Microsoft.Graph/Requests/Generated/GroupValidatePropertiesRequest.cs
  20. +70 −0 src/Microsoft.Graph/Requests/Generated/GroupValidatePropertiesRequestBuilder.cs
  21. +10 −0 src/Microsoft.Graph/Requests/Generated/IDirectoryDeletedItemsCollectionRequestBuilder.cs
  22. +62 −0 src/Microsoft.Graph/Requests/Generated/IDirectoryObjectValidatePropertiesRequest.cs
  23. +28 −0 src/Microsoft.Graph/Requests/Generated/IDirectoryObjectValidatePropertiesRequestBuilder.cs
  24. +10 −0 src/Microsoft.Graph/Requests/Generated/IGraphServiceDirectoryObjectsCollectionRequestBuilder.cs
  25. +10 −0 src/Microsoft.Graph/Requests/Generated/IGroupAcceptedSendersCollectionRequestBuilder.cs
  26. +10 −0 src/Microsoft.Graph/Requests/Generated/IGroupRejectedSendersCollectionRequestBuilder.cs
  27. +9 −0 src/Microsoft.Graph/Requests/Generated/IGroupRequestBuilder.cs
  28. +62 −0 src/Microsoft.Graph/Requests/Generated/IGroupValidatePropertiesRequest.cs
  29. +28 −0 src/Microsoft.Graph/Requests/Generated/IGroupValidatePropertiesRequestBuilder.cs
@@ -0,0 +1,14 @@
using Newtonsoft.Json;

namespace Microsoft.Graph
{
public partial class TeamsTab
{
/// <summary>
/// Gets or sets an assiociated existing app with a teams tab.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "teamsApp@odata.bind", Required = Newtonsoft.Json.Required.Default)]
public string ODataBind { get; set; }

}
}
@@ -32,7 +32,7 @@ public partial class DateTimeTimeZone

/// <summary>
/// Gets or sets timeZone.
/// One of the following time zone names.
/// Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "timeZone", Required = Newtonsoft.Json.Required.Default)]
public string TimeZone { get; set; }
@@ -0,0 +1,50 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: Templates\CSharp\Model\MethodRequestBody.cs.tt

namespace Microsoft.Graph
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;

/// <summary>
/// The type DirectoryObjectValidatePropertiesRequestBody.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class DirectoryObjectValidatePropertiesRequestBody
{

/// <summary>
/// Gets or sets EntityType.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "entityType", Required = Newtonsoft.Json.Required.Default)]
public string EntityType { get; set; }

/// <summary>
/// Gets or sets DisplayName.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets MailNickname.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "mailNickname", Required = Newtonsoft.Json.Required.Default)]
public string MailNickname { get; set; }

/// <summary>
/// Gets or sets OnBehalfOfUserId.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "onBehalfOfUserId", Required = Newtonsoft.Json.Required.Default)]
public Guid? OnBehalfOfUserId { get; set; }

}
}
@@ -66,7 +66,7 @@ public partial class EducationUser : Entity

/// <summary>
/// Gets or sets teacher.
/// If the primary role is teacher, this block will conatin teacher specific data.
/// If the primary role is teacher, this block will contain teacher specific data.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "teacher", Required = Newtonsoft.Json.Required.Default)]
public EducationTeacher Teacher { get; set; }
@@ -108,7 +108,7 @@ public partial class Event : OutlookItem

/// <summary>
/// Gets or sets start.
/// The date, time, and time zone that the event starts.
/// The date, time, and time zone that the event starts. By default, the start time is in UTC.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "start", Required = Newtonsoft.Json.Required.Default)]
public DateTimeTimeZone Start { get; set; }
@@ -122,7 +122,7 @@ public partial class Event : OutlookItem

/// <summary>
/// Gets or sets end.
/// The date, time, and time zone that the event ends.
/// The date, time, and time zone that the event ends. By default, the end time is in UTC.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "end", Required = Newtonsoft.Json.Required.Default)]
public DateTimeTimeZone End { get; set; }
@@ -53,7 +53,7 @@ public partial class FileEncryptionInfo

/// <summary>
/// Gets or sets profileIdentifier.
/// The the profile identifier.
/// The profile identifier.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "profileIdentifier", Required = Newtonsoft.Json.Required.Default)]
public string ProfileIdentifier { get; set; }
@@ -0,0 +1,44 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: Templates\CSharp\Model\MethodRequestBody.cs.tt

namespace Microsoft.Graph
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;

/// <summary>
/// The type GroupValidatePropertiesRequestBody.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class GroupValidatePropertiesRequestBody
{

/// <summary>
/// Gets or sets DisplayName.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets MailNickname.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "mailNickname", Required = Newtonsoft.Json.Required.Default)]
public string MailNickname { get; set; }

/// <summary>
/// Gets or sets OnBehalfOfUserId.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "onBehalfOfUserId", Required = Newtonsoft.Json.Required.Default)]
public Guid? OnBehalfOfUserId { get; set; }

}
}
@@ -360,7 +360,7 @@ public partial class IosGeneralDeviceConfiguration : DeviceConfiguration

/// <summary>
/// Gets or sets i cloud block activity continuation.
/// Indicates whether or not to block the the user from continuing work they started on iOS device to another iOS or macOS device.
/// Indicates whether or not to block the user from continuing work they started on iOS device to another iOS or macOS device.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "iCloudBlockActivityContinuation", Required = Newtonsoft.Json.Required.Default)]
public bool? ICloudBlockActivityContinuation { get; set; }
@@ -38,21 +38,21 @@ public partial class Organization : DirectoryObject

/// <summary>
/// Gets or sets city.
/// City name of the address for the organization
/// City name of the address for the organization.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "city", Required = Newtonsoft.Json.Required.Default)]
public string City { get; set; }

/// <summary>
/// Gets or sets country.
/// Country/region name of the address for the organization
/// Country/region name of the address for the organization.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "country", Required = Newtonsoft.Json.Required.Default)]
public string Country { get; set; }

/// <summary>
/// Gets or sets country letter code.
/// Country/region abbreviation for the organization
/// Country/region abbreviation for the organization.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "countryLetterCode", Required = Newtonsoft.Json.Required.Default)]
public string CountryLetterCode { get; set; }
@@ -94,7 +94,7 @@ public partial class Organization : DirectoryObject

/// <summary>
/// Gets or sets postal code.
/// Postal code of the address for the organization
/// Postal code of the address for the organization.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "postalCode", Required = Newtonsoft.Json.Required.Default)]
public string PostalCode { get; set; }
@@ -134,14 +134,14 @@ public partial class Organization : DirectoryObject

/// <summary>
/// Gets or sets state.
/// State name of the address for the organization
/// State name of the address for the organization.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "state", Required = Newtonsoft.Json.Required.Default)]
public string State { get; set; }

/// <summary>
/// Gets or sets street.
/// Street name of the address for organization
/// Street name of the address for organization.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "street", Required = Newtonsoft.Json.Required.Default)]
public string Street { get; set; }
@@ -52,7 +52,7 @@ public partial class VppToken : Entity

/// <summary>
/// Gets or sets last sync date time.
/// The last time when an application sync was done with the Apple volume purchase program service using the the Apple Volume Purchase Program Token.
/// The last time when an application sync was done with the Apple volume purchase program service using the Apple Volume Purchase Program Token.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastSyncDateTime", Required = Newtonsoft.Json.Required.Default)]
public DateTimeOffset? LastSyncDateTime { get; set; }
@@ -171,7 +171,7 @@ public partial class Windows10EndpointProtectionConfiguration : DeviceConfigurat

/// <summary>
/// Gets or sets smart screen block override for files.
/// Allows IT Admins to control whether users can can ignore SmartScreen warnings and run malicious files.
/// Allows IT Admins to control whether users can ignore SmartScreen warnings and run malicious files.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "smartScreenBlockOverrideForFiles", Required = Newtonsoft.Json.Required.Default)]
public bool? SmartScreenBlockOverrideForFiles { get; set; }
@@ -74,5 +74,24 @@ public IDirectoryDeletedItemsCollectionRequest Request(IEnumerable<Option> optio
ids,
types);
}

/// <summary>
/// Gets the request builder for DirectoryObjectValidateProperties.
/// </summary>
/// <returns>The <see cref="IDirectoryObjectValidatePropertiesRequestBuilder"/>.</returns>
public IDirectoryObjectValidatePropertiesRequestBuilder ValidateProperties(
string entityType = null,
string displayName = null,
string mailNickname = null,
Guid? onBehalfOfUserId = null)
{
return new DirectoryObjectValidatePropertiesRequestBuilder(
this.AppendSegmentToRequestUrl("microsoft.graph.validateProperties"),
this.Client,
entityType,
displayName,
mailNickname,
onBehalfOfUserId);
}
}
}
@@ -0,0 +1,86 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: Templates\CSharp\Requests\MethodRequest.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading;

/// <summary>
/// The type DirectoryObjectValidatePropertiesRequest.
/// </summary>
public partial class DirectoryObjectValidatePropertiesRequest : BaseRequest, IDirectoryObjectValidatePropertiesRequest
{
/// <summary>
/// Constructs a new DirectoryObjectValidatePropertiesRequest.
/// </summary>
public DirectoryObjectValidatePropertiesRequest(
string requestUrl,
IBaseClient client,
IEnumerable<Option> options)
: base(requestUrl, client, options)
{
this.ContentType = "application/json";
this.RequestBody = new DirectoryObjectValidatePropertiesRequestBody();
}

/// <summary>
/// Gets the request body.
/// </summary>
public DirectoryObjectValidatePropertiesRequestBody RequestBody { get; private set; }

/// <summary>
/// Issues the POST request.
/// </summary>
public System.Threading.Tasks.Task PostAsync()
{
return this.PostAsync(CancellationToken.None);
}

/// <summary>
/// Issues the POST request.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
public System.Threading.Tasks.Task PostAsync(
CancellationToken cancellationToken)
{
this.Method = "POST";
return this.SendAsync(this.RequestBody, cancellationToken);
}




/// <summary>
/// Adds the specified expand value to the request.
/// </summary>
/// <param name="value">The expand value.</param>
/// <returns>The request object to send.</returns>
public IDirectoryObjectValidatePropertiesRequest Expand(string value)
{
this.QueryOptions.Add(new QueryOption("$expand", value));
return this;
}

/// <summary>
/// Adds the specified select value to the request.
/// </summary>
/// <param name="value">The select value.</param>
/// <returns>The request object to send.</returns>
public IDirectoryObjectValidatePropertiesRequest Select(string value)
{
this.QueryOptions.Add(new QueryOption("$select", value));
return this;
}
}
}

0 comments on commit c338eb4

Please sign in to comment.
You can’t perform that action at this time.