Skip to content

Commit 5395aec

Browse files
Update Node.js dependencies, bump patch release to 0.39.3, and sync core submodule to latest main (#3290)
* Initial plan * Update Node.js dependencies and prepare patch release 0.39.3 Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com> * Restore typespec-tests generated source files Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com> * Update core submodule to latest main and sync tests Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com> * regen * fix moved swagger * a few other links too --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com> Co-authored-by: Weidong Xu <weidxu@microsoft.com>
1 parent 6fe994e commit 5395aec

78 files changed

Lines changed: 3097 additions & 1991 deletions

File tree

Some content is hidden

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

azure-dataplane-tests/src/main/java/com/azure/containers/containerregistry/implementation/models/ContainerRegistriesCreateManifestHeaders.java

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
*/
1515
@Fluent
1616
public final class ContainerRegistriesCreateManifestHeaders {
17-
/*
18-
* The Content-Length property.
19-
*/
20-
@Generated
21-
private Long contentLength;
22-
2317
/*
2418
* The Docker-Content-Digest property.
2519
*/
@@ -32,6 +26,12 @@ public final class ContainerRegistriesCreateManifestHeaders {
3226
@Generated
3327
private String location;
3428

29+
/*
30+
* The Content-Length property.
31+
*/
32+
@Generated
33+
private Long contentLength;
34+
3535
private static final HttpHeaderName DOCKER_CONTENT_DIGEST = HttpHeaderName.fromString("Docker-Content-Digest");
3636

3737
// HttpHeaders containing the raw property values.
@@ -41,36 +41,14 @@ public final class ContainerRegistriesCreateManifestHeaders {
4141
* @param rawHeaders The raw HttpHeaders that will be used to create the property values.
4242
*/
4343
public ContainerRegistriesCreateManifestHeaders(HttpHeaders rawHeaders) {
44+
this.dockerContentDigest = rawHeaders.getValue(DOCKER_CONTENT_DIGEST);
45+
this.location = rawHeaders.getValue(HttpHeaderName.LOCATION);
4446
String contentLength = rawHeaders.getValue(HttpHeaderName.CONTENT_LENGTH);
4547
if (contentLength != null) {
4648
this.contentLength = Long.parseLong(contentLength);
4749
} else {
4850
this.contentLength = null;
4951
}
50-
this.dockerContentDigest = rawHeaders.getValue(DOCKER_CONTENT_DIGEST);
51-
this.location = rawHeaders.getValue(HttpHeaderName.LOCATION);
52-
}
53-
54-
/**
55-
* Get the contentLength property: The Content-Length property.
56-
*
57-
* @return the contentLength value.
58-
*/
59-
@Generated
60-
public Long getContentLength() {
61-
return this.contentLength;
62-
}
63-
64-
/**
65-
* Set the contentLength property: The Content-Length property.
66-
*
67-
* @param contentLength the contentLength value to set.
68-
* @return the ContainerRegistriesCreateManifestHeaders object itself.
69-
*/
70-
@Generated
71-
public ContainerRegistriesCreateManifestHeaders setContentLength(Long contentLength) {
72-
this.contentLength = contentLength;
73-
return this;
7452
}
7553

7654
/**
@@ -116,4 +94,26 @@ public ContainerRegistriesCreateManifestHeaders setLocation(String location) {
11694
this.location = location;
11795
return this;
11896
}
97+
98+
/**
99+
* Get the contentLength property: The Content-Length property.
100+
*
101+
* @return the contentLength value.
102+
*/
103+
@Generated
104+
public Long getContentLength() {
105+
return this.contentLength;
106+
}
107+
108+
/**
109+
* Set the contentLength property: The Content-Length property.
110+
*
111+
* @param contentLength the contentLength value to set.
112+
* @return the ContainerRegistriesCreateManifestHeaders object itself.
113+
*/
114+
@Generated
115+
public ContainerRegistriesCreateManifestHeaders setContentLength(Long contentLength) {
116+
this.contentLength = contentLength;
117+
return this;
118+
}
119119
}

azure-dataplane-tests/src/main/java/com/azure/containers/containerregistry/implementation/models/ContainerRegistryBlobsCheckChunkExistsHeaders.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
@Fluent
1616
public final class ContainerRegistryBlobsCheckChunkExistsHeaders {
1717
/*
18-
* The Content-Range property.
18+
* The Content-Length property.
1919
*/
2020
@Generated
21-
private String contentRange;
21+
private Long contentLength;
2222

2323
/*
24-
* The Content-Length property.
24+
* The Content-Range property.
2525
*/
2626
@Generated
27-
private Long contentLength;
27+
private String contentRange;
2828

2929
// HttpHeaders containing the raw property values.
3030
/**
@@ -33,56 +33,56 @@ public final class ContainerRegistryBlobsCheckChunkExistsHeaders {
3333
* @param rawHeaders The raw HttpHeaders that will be used to create the property values.
3434
*/
3535
public ContainerRegistryBlobsCheckChunkExistsHeaders(HttpHeaders rawHeaders) {
36-
this.contentRange = rawHeaders.getValue(HttpHeaderName.CONTENT_RANGE);
3736
String contentLength = rawHeaders.getValue(HttpHeaderName.CONTENT_LENGTH);
3837
if (contentLength != null) {
3938
this.contentLength = Long.parseLong(contentLength);
4039
} else {
4140
this.contentLength = null;
4241
}
42+
this.contentRange = rawHeaders.getValue(HttpHeaderName.CONTENT_RANGE);
4343
}
4444

4545
/**
46-
* Get the contentRange property: The Content-Range property.
46+
* Get the contentLength property: The Content-Length property.
4747
*
48-
* @return the contentRange value.
48+
* @return the contentLength value.
4949
*/
5050
@Generated
51-
public String getContentRange() {
52-
return this.contentRange;
51+
public Long getContentLength() {
52+
return this.contentLength;
5353
}
5454

5555
/**
56-
* Set the contentRange property: The Content-Range property.
56+
* Set the contentLength property: The Content-Length property.
5757
*
58-
* @param contentRange the contentRange value to set.
58+
* @param contentLength the contentLength value to set.
5959
* @return the ContainerRegistryBlobsCheckChunkExistsHeaders object itself.
6060
*/
6161
@Generated
62-
public ContainerRegistryBlobsCheckChunkExistsHeaders setContentRange(String contentRange) {
63-
this.contentRange = contentRange;
62+
public ContainerRegistryBlobsCheckChunkExistsHeaders setContentLength(Long contentLength) {
63+
this.contentLength = contentLength;
6464
return this;
6565
}
6666

6767
/**
68-
* Get the contentLength property: The Content-Length property.
68+
* Get the contentRange property: The Content-Range property.
6969
*
70-
* @return the contentLength value.
70+
* @return the contentRange value.
7171
*/
7272
@Generated
73-
public Long getContentLength() {
74-
return this.contentLength;
73+
public String getContentRange() {
74+
return this.contentRange;
7575
}
7676

7777
/**
78-
* Set the contentLength property: The Content-Length property.
78+
* Set the contentRange property: The Content-Range property.
7979
*
80-
* @param contentLength the contentLength value to set.
80+
* @param contentRange the contentRange value to set.
8181
* @return the ContainerRegistryBlobsCheckChunkExistsHeaders object itself.
8282
*/
8383
@Generated
84-
public ContainerRegistryBlobsCheckChunkExistsHeaders setContentLength(Long contentLength) {
85-
this.contentLength = contentLength;
84+
public ContainerRegistryBlobsCheckChunkExistsHeaders setContentRange(String contentRange) {
85+
this.contentRange = contentRange;
8686
return this;
8787
}
8888
}

azure-dataplane-tests/src/main/java/com/azure/containers/containerregistry/implementation/models/ContainerRegistryBlobsCompleteUploadHeaders.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
@Fluent
1616
public final class ContainerRegistryBlobsCompleteUploadHeaders {
1717
/*
18-
* The Range property.
18+
* The Location property.
1919
*/
2020
@Generated
21-
private String range;
21+
private String location;
2222

2323
/*
24-
* The Location property.
24+
* The Range property.
2525
*/
2626
@Generated
27-
private String location;
27+
private String range;
2828

2929
/*
3030
* The Docker-Content-Digest property.
@@ -41,52 +41,52 @@ public final class ContainerRegistryBlobsCompleteUploadHeaders {
4141
* @param rawHeaders The raw HttpHeaders that will be used to create the property values.
4242
*/
4343
public ContainerRegistryBlobsCompleteUploadHeaders(HttpHeaders rawHeaders) {
44-
this.range = rawHeaders.getValue(HttpHeaderName.RANGE);
4544
this.location = rawHeaders.getValue(HttpHeaderName.LOCATION);
45+
this.range = rawHeaders.getValue(HttpHeaderName.RANGE);
4646
this.dockerContentDigest = rawHeaders.getValue(DOCKER_CONTENT_DIGEST);
4747
}
4848

4949
/**
50-
* Get the range property: The Range property.
50+
* Get the location property: The Location property.
5151
*
52-
* @return the range value.
52+
* @return the location value.
5353
*/
5454
@Generated
55-
public String getRange() {
56-
return this.range;
55+
public String getLocation() {
56+
return this.location;
5757
}
5858

5959
/**
60-
* Set the range property: The Range property.
60+
* Set the location property: The Location property.
6161
*
62-
* @param range the range value to set.
62+
* @param location the location value to set.
6363
* @return the ContainerRegistryBlobsCompleteUploadHeaders object itself.
6464
*/
6565
@Generated
66-
public ContainerRegistryBlobsCompleteUploadHeaders setRange(String range) {
67-
this.range = range;
66+
public ContainerRegistryBlobsCompleteUploadHeaders setLocation(String location) {
67+
this.location = location;
6868
return this;
6969
}
7070

7171
/**
72-
* Get the location property: The Location property.
72+
* Get the range property: The Range property.
7373
*
74-
* @return the location value.
74+
* @return the range value.
7575
*/
7676
@Generated
77-
public String getLocation() {
78-
return this.location;
77+
public String getRange() {
78+
return this.range;
7979
}
8080

8181
/**
82-
* Set the location property: The Location property.
82+
* Set the range property: The Range property.
8383
*
84-
* @param location the location value to set.
84+
* @param range the range value to set.
8585
* @return the ContainerRegistryBlobsCompleteUploadHeaders object itself.
8686
*/
8787
@Generated
88-
public ContainerRegistryBlobsCompleteUploadHeaders setLocation(String location) {
89-
this.location = location;
88+
public ContainerRegistryBlobsCompleteUploadHeaders setRange(String range) {
89+
this.range = range;
9090
return this;
9191
}
9292

azure-dataplane-tests/src/main/java/com/azure/containers/containerregistry/implementation/models/ContainerRegistryBlobsGetChunkHeaders.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
@Fluent
1616
public final class ContainerRegistryBlobsGetChunkHeaders {
1717
/*
18-
* The Content-Range property.
18+
* The Content-Length property.
1919
*/
2020
@Generated
21-
private String contentRange;
21+
private Long contentLength;
2222

2323
/*
24-
* The Content-Length property.
24+
* The Content-Range property.
2525
*/
2626
@Generated
27-
private Long contentLength;
27+
private String contentRange;
2828

2929
// HttpHeaders containing the raw property values.
3030
/**
@@ -33,56 +33,56 @@ public final class ContainerRegistryBlobsGetChunkHeaders {
3333
* @param rawHeaders The raw HttpHeaders that will be used to create the property values.
3434
*/
3535
public ContainerRegistryBlobsGetChunkHeaders(HttpHeaders rawHeaders) {
36-
this.contentRange = rawHeaders.getValue(HttpHeaderName.CONTENT_RANGE);
3736
String contentLength = rawHeaders.getValue(HttpHeaderName.CONTENT_LENGTH);
3837
if (contentLength != null) {
3938
this.contentLength = Long.parseLong(contentLength);
4039
} else {
4140
this.contentLength = null;
4241
}
42+
this.contentRange = rawHeaders.getValue(HttpHeaderName.CONTENT_RANGE);
4343
}
4444

4545
/**
46-
* Get the contentRange property: The Content-Range property.
46+
* Get the contentLength property: The Content-Length property.
4747
*
48-
* @return the contentRange value.
48+
* @return the contentLength value.
4949
*/
5050
@Generated
51-
public String getContentRange() {
52-
return this.contentRange;
51+
public Long getContentLength() {
52+
return this.contentLength;
5353
}
5454

5555
/**
56-
* Set the contentRange property: The Content-Range property.
56+
* Set the contentLength property: The Content-Length property.
5757
*
58-
* @param contentRange the contentRange value to set.
58+
* @param contentLength the contentLength value to set.
5959
* @return the ContainerRegistryBlobsGetChunkHeaders object itself.
6060
*/
6161
@Generated
62-
public ContainerRegistryBlobsGetChunkHeaders setContentRange(String contentRange) {
63-
this.contentRange = contentRange;
62+
public ContainerRegistryBlobsGetChunkHeaders setContentLength(Long contentLength) {
63+
this.contentLength = contentLength;
6464
return this;
6565
}
6666

6767
/**
68-
* Get the contentLength property: The Content-Length property.
68+
* Get the contentRange property: The Content-Range property.
6969
*
70-
* @return the contentLength value.
70+
* @return the contentRange value.
7171
*/
7272
@Generated
73-
public Long getContentLength() {
74-
return this.contentLength;
73+
public String getContentRange() {
74+
return this.contentRange;
7575
}
7676

7777
/**
78-
* Set the contentLength property: The Content-Length property.
78+
* Set the contentRange property: The Content-Range property.
7979
*
80-
* @param contentLength the contentLength value to set.
80+
* @param contentRange the contentRange value to set.
8181
* @return the ContainerRegistryBlobsGetChunkHeaders object itself.
8282
*/
8383
@Generated
84-
public ContainerRegistryBlobsGetChunkHeaders setContentLength(Long contentLength) {
85-
this.contentLength = contentLength;
84+
public ContainerRegistryBlobsGetChunkHeaders setContentRange(String contentRange) {
85+
this.contentRange = contentRange;
8686
return this;
8787
}
8888
}

0 commit comments

Comments
 (0)