forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from b725e34d8c7e980e9f515f794637ef8ea75da0b4
fix path in readme
- Loading branch information
SDK Automation
committed
Dec 6, 2019
1 parent
e1bafbe
commit 221554f
Showing
10 changed files
with
3,547 additions
and
326 deletions.
There are no files selected for viewing
181 changes: 168 additions & 13 deletions
181
...sights/Microsoft.Azure.Management.PolicyInsights/src/Generated/IPolicyEventsOperations.cs
Large diffs are not rendered by default.
Oops, something went wrong.
194 changes: 186 additions & 8 deletions
194
...sights/Microsoft.Azure.Management.PolicyInsights/src/Generated/IPolicyStatesOperations.cs
Large diffs are not rendered by default.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
sdk/policyinsights/Microsoft.Azure.Management.PolicyInsights/src/Generated/Models/Page1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// <auto-generated> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.PolicyInsights.Models | ||
{ | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Newtonsoft.Json; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
|
||
/// <summary> | ||
/// Defines a page in Azure responses. | ||
/// </summary> | ||
/// <typeparam name="T">Type of the page content items</typeparam> | ||
[JsonObject] | ||
public class Page1<T> : IPage<T> | ||
{ | ||
/// <summary> | ||
/// Gets the link to the next page. | ||
/// </summary> | ||
[JsonProperty("@odata.nextLink")] | ||
public string NextPageLink { get; private set; } | ||
|
||
[JsonProperty("value")] | ||
private IList<T> Items{ get; set; } | ||
|
||
/// <summary> | ||
/// Returns an enumerator that iterates through the collection. | ||
/// </summary> | ||
/// <returns>A an enumerator that can be used to iterate through the collection.</returns> | ||
public IEnumerator<T> GetEnumerator() | ||
{ | ||
return Items == null ? System.Linq.Enumerable.Empty<T>().GetEnumerator() : Items.GetEnumerator(); | ||
} | ||
|
||
/// <summary> | ||
/// Returns an enumerator that iterates through the collection. | ||
/// </summary> | ||
/// <returns>A an enumerator that can be used to iterate through the collection.</returns> | ||
IEnumerator IEnumerable.GetEnumerator() | ||
{ | ||
return GetEnumerator(); | ||
} | ||
} | ||
} |
87 changes: 0 additions & 87 deletions
87
...icrosoft.Azure.Management.PolicyInsights/src/Generated/Models/PolicyEventsQueryResults.cs
This file was deleted.
Oops, something went wrong.
87 changes: 0 additions & 87 deletions
87
...icrosoft.Azure.Management.PolicyInsights/src/Generated/Models/PolicyStatesQueryResults.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.