Skip to content

Commit 4cfe839

Browse files
authored
[AutoPR storagesync/resource-manager] Storage Sync Swagger preview version (prev PR #109 (#243)
* Generated from bdcb59fb848aad33d655434511e28992a9186eec Added NodeJS + Java code gen config * Generated from 3c0da5ba17ebd8d58d92118f5cd2137e7137f2bf extra comma extra comma in pauseWaitForSyncDrainTimePeriodInSeconds * Generated from dd8124f88a1bebfa7dbca3e881781b3c5ef82028 body to parameters body to parameters
1 parent e9b6d3f commit 4cfe839

File tree

97 files changed

+16680
-0
lines changed

Some content is hidden

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

97 files changed

+16680
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.storagesync;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Defines headers for Post operation.
15+
*/
16+
public class AbortWorkflowsPostHeaders {
17+
/**
18+
* request id.
19+
*/
20+
@JsonProperty(value = "x-ms-request-id")
21+
private String xMsRequestId;
22+
23+
/**
24+
* correlation request id.
25+
*/
26+
@JsonProperty(value = "x-ms-correlation-request-id")
27+
private String xMsCorrelationRequestId;
28+
29+
/**
30+
* Get request id.
31+
*
32+
* @return the xMsRequestId value
33+
*/
34+
public String xMsRequestId() {
35+
return this.xMsRequestId;
36+
}
37+
38+
/**
39+
* Set request id.
40+
*
41+
* @param xMsRequestId the xMsRequestId value to set
42+
* @return the AbortWorkflowsPostHeaders object itself.
43+
*/
44+
public AbortWorkflowsPostHeaders withXMsRequestId(String xMsRequestId) {
45+
this.xMsRequestId = xMsRequestId;
46+
return this;
47+
}
48+
49+
/**
50+
* Get correlation request id.
51+
*
52+
* @return the xMsCorrelationRequestId value
53+
*/
54+
public String xMsCorrelationRequestId() {
55+
return this.xMsCorrelationRequestId;
56+
}
57+
58+
/**
59+
* Set correlation request id.
60+
*
61+
* @param xMsCorrelationRequestId the xMsCorrelationRequestId value to set
62+
* @return the AbortWorkflowsPostHeaders object itself.
63+
*/
64+
public AbortWorkflowsPostHeaders withXMsCorrelationRequestId(String xMsCorrelationRequestId) {
65+
this.xMsCorrelationRequestId = xMsCorrelationRequestId;
66+
return this;
67+
}
68+
69+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.storagesync;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Backup request.
15+
*/
16+
public class BackupRequest {
17+
/**
18+
* Azure File Share.
19+
*/
20+
@JsonProperty(value = "azureFileShare")
21+
private String azureFileShare;
22+
23+
/**
24+
* Get azure File Share.
25+
*
26+
* @return the azureFileShare value
27+
*/
28+
public String azureFileShare() {
29+
return this.azureFileShare;
30+
}
31+
32+
/**
33+
* Set azure File Share.
34+
*
35+
* @param azureFileShare the azureFileShare value to set
36+
* @return the BackupRequest object itself.
37+
*/
38+
public BackupRequest withAzureFileShare(String azureFileShare) {
39+
this.azureFileShare = azureFileShare;
40+
return this;
41+
}
42+
43+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.storagesync;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Defines headers for Post operation.
15+
*/
16+
public class CloudEndpointPostBackupPostHeaders {
17+
/**
18+
* Operation Status Location URI.
19+
*/
20+
@JsonProperty(value = "Location")
21+
private String location;
22+
23+
/**
24+
* request id.
25+
*/
26+
@JsonProperty(value = "x-ms-request-id")
27+
private String xMsRequestId;
28+
29+
/**
30+
* correlation request id.
31+
*/
32+
@JsonProperty(value = "x-ms-correlation-request-id")
33+
private String xMsCorrelationRequestId;
34+
35+
/**
36+
* Get operation Status Location URI.
37+
*
38+
* @return the location value
39+
*/
40+
public String location() {
41+
return this.location;
42+
}
43+
44+
/**
45+
* Set operation Status Location URI.
46+
*
47+
* @param location the location value to set
48+
* @return the CloudEndpointPostBackupPostHeaders object itself.
49+
*/
50+
public CloudEndpointPostBackupPostHeaders withLocation(String location) {
51+
this.location = location;
52+
return this;
53+
}
54+
55+
/**
56+
* Get request id.
57+
*
58+
* @return the xMsRequestId value
59+
*/
60+
public String xMsRequestId() {
61+
return this.xMsRequestId;
62+
}
63+
64+
/**
65+
* Set request id.
66+
*
67+
* @param xMsRequestId the xMsRequestId value to set
68+
* @return the CloudEndpointPostBackupPostHeaders object itself.
69+
*/
70+
public CloudEndpointPostBackupPostHeaders withXMsRequestId(String xMsRequestId) {
71+
this.xMsRequestId = xMsRequestId;
72+
return this;
73+
}
74+
75+
/**
76+
* Get correlation request id.
77+
*
78+
* @return the xMsCorrelationRequestId value
79+
*/
80+
public String xMsCorrelationRequestId() {
81+
return this.xMsCorrelationRequestId;
82+
}
83+
84+
/**
85+
* Set correlation request id.
86+
*
87+
* @param xMsCorrelationRequestId the xMsCorrelationRequestId value to set
88+
* @return the CloudEndpointPostBackupPostHeaders object itself.
89+
*/
90+
public CloudEndpointPostBackupPostHeaders withXMsCorrelationRequestId(String xMsCorrelationRequestId) {
91+
this.xMsCorrelationRequestId = xMsCorrelationRequestId;
92+
return this;
93+
}
94+
95+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.storagesync;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Defines headers for Post operation.
15+
*/
16+
public class CloudEndpointPostRestorePostHeaders {
17+
/**
18+
* Operation Status Location URI.
19+
*/
20+
@JsonProperty(value = "Location")
21+
private String location;
22+
23+
/**
24+
* request id.
25+
*/
26+
@JsonProperty(value = "x-ms-request-id")
27+
private String xMsRequestId;
28+
29+
/**
30+
* correlation request id.
31+
*/
32+
@JsonProperty(value = "x-ms-correlation-request-id")
33+
private String xMsCorrelationRequestId;
34+
35+
/**
36+
* Get operation Status Location URI.
37+
*
38+
* @return the location value
39+
*/
40+
public String location() {
41+
return this.location;
42+
}
43+
44+
/**
45+
* Set operation Status Location URI.
46+
*
47+
* @param location the location value to set
48+
* @return the CloudEndpointPostRestorePostHeaders object itself.
49+
*/
50+
public CloudEndpointPostRestorePostHeaders withLocation(String location) {
51+
this.location = location;
52+
return this;
53+
}
54+
55+
/**
56+
* Get request id.
57+
*
58+
* @return the xMsRequestId value
59+
*/
60+
public String xMsRequestId() {
61+
return this.xMsRequestId;
62+
}
63+
64+
/**
65+
* Set request id.
66+
*
67+
* @param xMsRequestId the xMsRequestId value to set
68+
* @return the CloudEndpointPostRestorePostHeaders object itself.
69+
*/
70+
public CloudEndpointPostRestorePostHeaders withXMsRequestId(String xMsRequestId) {
71+
this.xMsRequestId = xMsRequestId;
72+
return this;
73+
}
74+
75+
/**
76+
* Get correlation request id.
77+
*
78+
* @return the xMsCorrelationRequestId value
79+
*/
80+
public String xMsCorrelationRequestId() {
81+
return this.xMsCorrelationRequestId;
82+
}
83+
84+
/**
85+
* Set correlation request id.
86+
*
87+
* @param xMsCorrelationRequestId the xMsCorrelationRequestId value to set
88+
* @return the CloudEndpointPostRestorePostHeaders object itself.
89+
*/
90+
public CloudEndpointPostRestorePostHeaders withXMsCorrelationRequestId(String xMsCorrelationRequestId) {
91+
this.xMsCorrelationRequestId = xMsCorrelationRequestId;
92+
return this;
93+
}
94+
95+
}

0 commit comments

Comments
 (0)