-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc3fb8b
commit 9c49a79
Showing
5 changed files
with
51 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using SauceLabs.Visual.GraphQL; | ||
|
||
namespace SauceLabs.Visual | ||
{ | ||
public class FullPageConfig | ||
{ | ||
public int? DelayAfterScrollMs { get; set; } | ||
public string[]? HideAfterFirstScroll { get; set; } | ||
|
||
internal FullPageConfigIn ToFullPageConfigIn() | ||
{ | ||
return new FullPageConfigIn() | ||
{ | ||
DelayAfterScrollMs = DelayAfterScrollMs, | ||
HideAfterFirstScroll = HideAfterFirstScroll | ||
}; | ||
} | ||
} | ||
} |
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
12 changes: 12 additions & 0 deletions
12
visual-dotnet/SauceLabs.Visual/GraphQL/FullPageConfigIn.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,12 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace SauceLabs.Visual.GraphQL | ||
{ | ||
internal class FullPageConfigIn | ||
{ | ||
[JsonProperty("delayAfterScrollMs")] | ||
public int? DelayAfterScrollMs { get; set; } | ||
[JsonProperty("hideAfterFirstScroll")] | ||
public string[]? HideAfterFirstScroll { 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