-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes
Copy-PnPList
throwing unauthorized exception when used with a…
- Loading branch information
1 parent
c8c9f86
commit d0cbcc3
Showing
6 changed files
with
48 additions
and
22 deletions.
There are no files selected for viewing
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
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
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
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,13 @@ | ||
namespace PnP.PowerShell.Commands.Model.SharePoint | ||
{ | ||
/// <summary> | ||
/// Contains the information regarding a site script which was generated from an existing list | ||
/// </summary> | ||
public class SiteScriptFromList | ||
{ | ||
/// <summary> | ||
/// The site script | ||
/// </summary> | ||
public string GetSiteScriptFromList { get; set; } | ||
} | ||
} |
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
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,17 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace PnP.PowerShell.Commands.Utilities.REST | ||
{ | ||
/// <summary> | ||
/// Contains a single result | ||
/// </summary> | ||
/// <typeparam name="T">Model type to map the content to</typeparam> | ||
public class RestResult<T> | ||
{ | ||
/// <summary> | ||
/// The content contained in the results | ||
/// </summary> | ||
[JsonPropertyName("value")] | ||
public T Content { get; set; } | ||
} | ||
} |