Skip to content

Commit 62dbc4e

Browse files
authored
chore: re-render transport types (#3177)
1 parent fbbc4f2 commit 62dbc4e

46 files changed

Lines changed: 134 additions & 134 deletions

Some content is hidden

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

src/Playwright/Transport/Protocol/Generated/APIRequestContextInitializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ namespace Microsoft.Playwright.Transport.Protocol;
2929
internal class APIRequestContextInitializer
3030
{
3131
[JsonPropertyName("tracing")]
32-
public Core.Tracing Tracing { get; set; }
32+
public Core.Tracing Tracing { get; set; } = null!;
3333
}

src/Playwright/Transport/Protocol/Generated/APIResponse.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ namespace Microsoft.Playwright.Transport.Protocol;
3030
internal class APIResponse
3131
{
3232
[JsonPropertyName("fetchUid")]
33-
public string FetchUid { get; set; }
33+
public string FetchUid { get; set; } = null!;
3434

3535
[JsonPropertyName("url")]
36-
public string Url { get; set; }
36+
public string Url { get; set; } = null!;
3737

3838
[JsonPropertyName("status")]
3939
public int Status { get; set; }
4040

4141
[JsonPropertyName("statusText")]
42-
public string StatusText { get; set; }
42+
public string StatusText { get; set; } = null!;
4343

4444
[JsonPropertyName("headers")]
45-
public List<NameValue> Headers { get; set; }
45+
public List<NameValue> Headers { get; set; } = null!;
4646
}

src/Playwright/Transport/Protocol/Generated/AndroidDeviceInitializer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ namespace Microsoft.Playwright.Transport.Protocol;
2929
internal class AndroidDeviceInitializer : EventTargetInitializer
3030
{
3131
[JsonPropertyName("model")]
32-
public string Model { get; set; }
32+
public string Model { get; set; } = null!;
3333

3434
[JsonPropertyName("serial")]
35-
public string Serial { get; set; }
35+
public string Serial { get; set; } = null!;
3636
}

src/Playwright/Transport/Protocol/Generated/AndroidElementInfo.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,25 @@ namespace Microsoft.Playwright.Transport.Protocol;
3030
internal class AndroidElementInfo
3131
{
3232
[JsonPropertyName("children")]
33-
public List<AndroidElementInfo> Children { get; set; }
33+
public List<AndroidElementInfo> Children { get; set; } = null!;
3434

3535
[JsonPropertyName("clazz")]
36-
public string Clazz { get; set; }
36+
public string Clazz { get; set; } = null!;
3737

3838
[JsonPropertyName("desc")]
39-
public string Desc { get; set; }
39+
public string Desc { get; set; } = null!;
4040

4141
[JsonPropertyName("res")]
42-
public string Res { get; set; }
42+
public string Res { get; set; } = null!;
4343

4444
[JsonPropertyName("pkg")]
45-
public string Pkg { get; set; }
45+
public string Pkg { get; set; } = null!;
4646

4747
[JsonPropertyName("text")]
48-
public string Text { get; set; }
48+
public string Text { get; set; } = null!;
4949

5050
[JsonPropertyName("bounds")]
51-
public Rect Bounds { get; set; }
51+
public Rect Bounds { get; set; } = null!;
5252

5353
[JsonPropertyName("checkable")]
5454
public bool Checkable { get; set; }

src/Playwright/Transport/Protocol/Generated/AndroidSelector.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ internal class AndroidSelector
3535
public bool? Checked { get; set; }
3636

3737
[JsonPropertyName("clazz")]
38-
public string Clazz { get; set; }
38+
public string Clazz { get; set; } = null!;
3939

4040
[JsonPropertyName("clickable")]
4141
public bool? Clickable { get; set; }
@@ -44,7 +44,7 @@ internal class AndroidSelector
4444
public int? Depth { get; set; }
4545

4646
[JsonPropertyName("desc")]
47-
public string Desc { get; set; }
47+
public string Desc { get; set; } = null!;
4848

4949
[JsonPropertyName("enabled")]
5050
public bool? Enabled { get; set; }
@@ -56,19 +56,19 @@ internal class AndroidSelector
5656
public bool? Focused { get; set; }
5757

5858
[JsonPropertyName("hasChild")]
59-
public AndroidSelectorHasChild HasChild { get; set; }
59+
public AndroidSelectorHasChild HasChild { get; set; } = null!;
6060

6161
[JsonPropertyName("hasDescendant")]
62-
public AndroidSelectorHasDescendant HasDescendant { get; set; }
62+
public AndroidSelectorHasDescendant HasDescendant { get; set; } = null!;
6363

6464
[JsonPropertyName("longClickable")]
6565
public bool? LongClickable { get; set; }
6666

6767
[JsonPropertyName("pkg")]
68-
public string Pkg { get; set; }
68+
public string Pkg { get; set; } = null!;
6969

7070
[JsonPropertyName("res")]
71-
public string Res { get; set; }
71+
public string Res { get; set; } = null!;
7272

7373
[JsonPropertyName("scrollable")]
7474
public bool? Scrollable { get; set; }
@@ -77,5 +77,5 @@ internal class AndroidSelector
7777
public bool? Selected { get; set; }
7878

7979
[JsonPropertyName("text")]
80-
public string Text { get; set; }
80+
public string Text { get; set; } = null!;
8181
}

src/Playwright/Transport/Protocol/Generated/AndroidSelectorHasChild.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ namespace Microsoft.Playwright.Transport.Protocol;
2929
internal class AndroidSelectorHasChild
3030
{
3131
[JsonPropertyName("selector")]
32-
public AndroidSelector Selector { get; set; }
32+
public AndroidSelector Selector { get; set; } = null!;
3333
}

src/Playwright/Transport/Protocol/Generated/AndroidSelectorHasDescendant.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Microsoft.Playwright.Transport.Protocol;
2929
internal class AndroidSelectorHasDescendant
3030
{
3131
[JsonPropertyName("selector")]
32-
public AndroidSelector Selector { get; set; }
32+
public AndroidSelector Selector { get; set; } = null!;
3333

3434
[JsonPropertyName("maxDepth")]
3535
public int? MaxDepth { get; set; }

src/Playwright/Transport/Protocol/Generated/AndroidWebView.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ internal class AndroidWebView
3232
public int Pid { get; set; }
3333

3434
[JsonPropertyName("pkg")]
35-
public string Pkg { get; set; }
35+
public string Pkg { get; set; } = null!;
3636

3737
[JsonPropertyName("socketName")]
38-
public string SocketName { get; set; }
38+
public string SocketName { get; set; } = null!;
3939
}

src/Playwright/Transport/Protocol/Generated/ArtifactInitializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ namespace Microsoft.Playwright.Transport.Protocol;
2929
internal class ArtifactInitializer
3030
{
3131
[JsonPropertyName("absolutePath")]
32-
public string AbsolutePath { get; set; }
32+
public string AbsolutePath { get; set; } = null!;
3333
}

src/Playwright/Transport/Protocol/Generated/BindingCallInitializer.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ namespace Microsoft.Playwright.Transport.Protocol;
3030
internal class BindingCallInitializer
3131
{
3232
[JsonPropertyName("frame")]
33-
public Core.Frame Frame { get; set; }
33+
public Core.Frame Frame { get; set; } = null!;
3434

3535
[JsonPropertyName("name")]
36-
public string Name { get; set; }
36+
public string Name { get; set; } = null!;
3737

3838
[JsonPropertyName("args")]
39-
public List<System.Text.Json.JsonElement> Args { get; set; }
39+
public List<System.Text.Json.JsonElement> Args { get; set; } = null!;
4040

4141
[JsonPropertyName("handle")]
42-
public Core.JSHandle Handle { get; set; }
42+
public Core.JSHandle Handle { get; set; } = null!;
4343
}

0 commit comments

Comments
 (0)