@microsoft/msgraph-sdk 1.0.0-preview.12 → 1.0.0-preview.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/graphServiceClient.js +1 -1
- package/models/callRecords/index.d.ts +44 -44
- package/models/callRecords/index.js +44 -44
- package/models/externalConnectors/index.d.ts +54 -54
- package/models/externalConnectors/index.js +54 -54
- package/models/identityGovernance/index.d.ts +72 -72
- package/models/identityGovernance/index.js +72 -72
- package/models/index.d.ts +4411 -4080
- package/models/index.d.ts.map +1 -1
- package/models/index.js +4540 -4210
- package/models/oDataErrors/index.d.ts +8 -8
- package/models/oDataErrors/index.js +8 -8
- package/models/partners/billing/index.d.ts +339 -0
- package/models/partners/billing/index.d.ts.map +1 -0
- package/models/partners/billing/index.js +365 -0
- package/models/partners/index.d.ts +2 -0
- package/models/partners/index.d.ts.map +1 -0
- package/models/partners/index.js +7 -0
- package/models/security/index.d.ts +388 -328
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +399 -339
- package/models/termStore/index.d.ts +26 -26
- package/models/termStore/index.js +26 -26
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BillingPeriodObject = exports.AttributeSetObject = exports.serializeUnbilledUsage = exports.serializeRunningOperation = exports.serializeOperationCollectionResponse = exports.serializeOperation = exports.serializeManifestCollectionResponse = exports.serializeManifest = exports.serializeFailedOperation = exports.serializeExportSuccessOperation = exports.serializeBlob = exports.serializeBilling = exports.serializeBilledUsage = exports.serializeAzureUsage = exports.deserializeIntoUnbilledUsage = exports.deserializeIntoRunningOperation = exports.deserializeIntoOperationCollectionResponse = exports.deserializeIntoOperation = exports.deserializeIntoManifestCollectionResponse = exports.deserializeIntoManifest = exports.deserializeIntoFailedOperation = exports.deserializeIntoExportSuccessOperation = exports.deserializeIntoBlob = exports.deserializeIntoBilling = exports.deserializeIntoBilledUsage = exports.deserializeIntoAzureUsage = exports.createUnbilledUsageFromDiscriminatorValue = exports.createRunningOperationFromDiscriminatorValue = exports.createOperationFromDiscriminatorValue = exports.createOperationCollectionResponseFromDiscriminatorValue = exports.createManifestFromDiscriminatorValue = exports.createManifestCollectionResponseFromDiscriminatorValue = exports.createFailedOperationFromDiscriminatorValue = exports.createExportSuccessOperationFromDiscriminatorValue = exports.createBlobFromDiscriminatorValue = exports.createBillingFromDiscriminatorValue = exports.createBilledUsageFromDiscriminatorValue = exports.createAzureUsageFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const __1 = require("../../");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {AzureUsage}
|
|
12
|
+
*/
|
|
13
|
+
function createAzureUsageFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoAzureUsage;
|
|
15
|
+
}
|
|
16
|
+
exports.createAzureUsageFromDiscriminatorValue = createAzureUsageFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
+
* @returns {BilledUsage}
|
|
21
|
+
*/
|
|
22
|
+
function createBilledUsageFromDiscriminatorValue(parseNode) {
|
|
23
|
+
return deserializeIntoBilledUsage;
|
|
24
|
+
}
|
|
25
|
+
exports.createBilledUsageFromDiscriminatorValue = createBilledUsageFromDiscriminatorValue;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
28
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
29
|
+
* @returns {Billing}
|
|
30
|
+
*/
|
|
31
|
+
function createBillingFromDiscriminatorValue(parseNode) {
|
|
32
|
+
return deserializeIntoBilling;
|
|
33
|
+
}
|
|
34
|
+
exports.createBillingFromDiscriminatorValue = createBillingFromDiscriminatorValue;
|
|
35
|
+
/**
|
|
36
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
37
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
38
|
+
* @returns {Blob}
|
|
39
|
+
*/
|
|
40
|
+
function createBlobFromDiscriminatorValue(parseNode) {
|
|
41
|
+
return deserializeIntoBlob;
|
|
42
|
+
}
|
|
43
|
+
exports.createBlobFromDiscriminatorValue = createBlobFromDiscriminatorValue;
|
|
44
|
+
/**
|
|
45
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
46
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
47
|
+
* @returns {ExportSuccessOperation}
|
|
48
|
+
*/
|
|
49
|
+
function createExportSuccessOperationFromDiscriminatorValue(parseNode) {
|
|
50
|
+
return deserializeIntoExportSuccessOperation;
|
|
51
|
+
}
|
|
52
|
+
exports.createExportSuccessOperationFromDiscriminatorValue = createExportSuccessOperationFromDiscriminatorValue;
|
|
53
|
+
/**
|
|
54
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
55
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
56
|
+
* @returns {FailedOperation}
|
|
57
|
+
*/
|
|
58
|
+
function createFailedOperationFromDiscriminatorValue(parseNode) {
|
|
59
|
+
return deserializeIntoFailedOperation;
|
|
60
|
+
}
|
|
61
|
+
exports.createFailedOperationFromDiscriminatorValue = createFailedOperationFromDiscriminatorValue;
|
|
62
|
+
/**
|
|
63
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
64
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
65
|
+
* @returns {ManifestCollectionResponse}
|
|
66
|
+
*/
|
|
67
|
+
function createManifestCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
68
|
+
return deserializeIntoManifestCollectionResponse;
|
|
69
|
+
}
|
|
70
|
+
exports.createManifestCollectionResponseFromDiscriminatorValue = createManifestCollectionResponseFromDiscriminatorValue;
|
|
71
|
+
/**
|
|
72
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
73
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
74
|
+
* @returns {Manifest}
|
|
75
|
+
*/
|
|
76
|
+
function createManifestFromDiscriminatorValue(parseNode) {
|
|
77
|
+
return deserializeIntoManifest;
|
|
78
|
+
}
|
|
79
|
+
exports.createManifestFromDiscriminatorValue = createManifestFromDiscriminatorValue;
|
|
80
|
+
/**
|
|
81
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
82
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
83
|
+
* @returns {OperationCollectionResponse}
|
|
84
|
+
*/
|
|
85
|
+
function createOperationCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
86
|
+
return deserializeIntoOperationCollectionResponse;
|
|
87
|
+
}
|
|
88
|
+
exports.createOperationCollectionResponseFromDiscriminatorValue = createOperationCollectionResponseFromDiscriminatorValue;
|
|
89
|
+
/**
|
|
90
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
91
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
92
|
+
* @returns {Operation}
|
|
93
|
+
*/
|
|
94
|
+
function createOperationFromDiscriminatorValue(parseNode) {
|
|
95
|
+
if (!parseNode)
|
|
96
|
+
throw new Error("parseNode cannot be undefined");
|
|
97
|
+
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
98
|
+
if (mappingValueNode) {
|
|
99
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
100
|
+
if (mappingValue) {
|
|
101
|
+
switch (mappingValue) {
|
|
102
|
+
case "#microsoft.graph.partners.billing.exportSuccessOperation":
|
|
103
|
+
return deserializeIntoExportSuccessOperation;
|
|
104
|
+
case "#microsoft.graph.partners.billing.failedOperation":
|
|
105
|
+
return deserializeIntoFailedOperation;
|
|
106
|
+
case "#microsoft.graph.partners.billing.runningOperation":
|
|
107
|
+
return deserializeIntoRunningOperation;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return deserializeIntoOperation;
|
|
112
|
+
}
|
|
113
|
+
exports.createOperationFromDiscriminatorValue = createOperationFromDiscriminatorValue;
|
|
114
|
+
/**
|
|
115
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
116
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
117
|
+
* @returns {RunningOperation}
|
|
118
|
+
*/
|
|
119
|
+
function createRunningOperationFromDiscriminatorValue(parseNode) {
|
|
120
|
+
return deserializeIntoRunningOperation;
|
|
121
|
+
}
|
|
122
|
+
exports.createRunningOperationFromDiscriminatorValue = createRunningOperationFromDiscriminatorValue;
|
|
123
|
+
/**
|
|
124
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
125
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
126
|
+
* @returns {UnbilledUsage}
|
|
127
|
+
*/
|
|
128
|
+
function createUnbilledUsageFromDiscriminatorValue(parseNode) {
|
|
129
|
+
return deserializeIntoUnbilledUsage;
|
|
130
|
+
}
|
|
131
|
+
exports.createUnbilledUsageFromDiscriminatorValue = createUnbilledUsageFromDiscriminatorValue;
|
|
132
|
+
/**
|
|
133
|
+
* The deserialization information for the current model
|
|
134
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
135
|
+
*/
|
|
136
|
+
function deserializeIntoAzureUsage(azureUsage = {}) {
|
|
137
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(azureUsage)), { "billed": n => { azureUsage.billed = n.getObjectValue(createBilledUsageFromDiscriminatorValue); }, "unbilled": n => { azureUsage.unbilled = n.getObjectValue(createUnbilledUsageFromDiscriminatorValue); } });
|
|
138
|
+
}
|
|
139
|
+
exports.deserializeIntoAzureUsage = deserializeIntoAzureUsage;
|
|
140
|
+
/**
|
|
141
|
+
* The deserialization information for the current model
|
|
142
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
143
|
+
*/
|
|
144
|
+
function deserializeIntoBilledUsage(billedUsage = {}) {
|
|
145
|
+
return Object.assign({}, (0, __1.deserializeIntoEntity)(billedUsage));
|
|
146
|
+
}
|
|
147
|
+
exports.deserializeIntoBilledUsage = deserializeIntoBilledUsage;
|
|
148
|
+
/**
|
|
149
|
+
* The deserialization information for the current model
|
|
150
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
151
|
+
*/
|
|
152
|
+
function deserializeIntoBilling(billing = {}) {
|
|
153
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(billing)), { "manifests": n => { billing.manifests = n.getCollectionOfObjectValues(createManifestFromDiscriminatorValue); }, "operations": n => { billing.operations = n.getCollectionOfObjectValues(createOperationFromDiscriminatorValue); }, "usage": n => { billing.usage = n.getObjectValue(createAzureUsageFromDiscriminatorValue); } });
|
|
154
|
+
}
|
|
155
|
+
exports.deserializeIntoBilling = deserializeIntoBilling;
|
|
156
|
+
/**
|
|
157
|
+
* The deserialization information for the current model
|
|
158
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
159
|
+
*/
|
|
160
|
+
function deserializeIntoBlob(blob = {}) {
|
|
161
|
+
return {
|
|
162
|
+
"backingStoreEnabled": n => { blob.backingStoreEnabled = true; },
|
|
163
|
+
"name": n => { blob.name = n.getStringValue(); },
|
|
164
|
+
"@odata.type": n => { blob.odataType = n.getStringValue(); },
|
|
165
|
+
"partitionValue": n => { blob.partitionValue = n.getStringValue(); },
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
exports.deserializeIntoBlob = deserializeIntoBlob;
|
|
169
|
+
/**
|
|
170
|
+
* The deserialization information for the current model
|
|
171
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
172
|
+
*/
|
|
173
|
+
function deserializeIntoExportSuccessOperation(exportSuccessOperation = {}) {
|
|
174
|
+
return Object.assign(Object.assign({}, deserializeIntoOperation(exportSuccessOperation)), { "resourceLocation": n => { exportSuccessOperation.resourceLocation = n.getObjectValue(createManifestFromDiscriminatorValue); } });
|
|
175
|
+
}
|
|
176
|
+
exports.deserializeIntoExportSuccessOperation = deserializeIntoExportSuccessOperation;
|
|
177
|
+
/**
|
|
178
|
+
* The deserialization information for the current model
|
|
179
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
180
|
+
*/
|
|
181
|
+
function deserializeIntoFailedOperation(failedOperation = {}) {
|
|
182
|
+
return Object.assign(Object.assign({}, deserializeIntoOperation(failedOperation)), { "error": n => { failedOperation.errorEscaped = n.getObjectValue(__1.createPublicErrorFromDiscriminatorValue); } });
|
|
183
|
+
}
|
|
184
|
+
exports.deserializeIntoFailedOperation = deserializeIntoFailedOperation;
|
|
185
|
+
/**
|
|
186
|
+
* The deserialization information for the current model
|
|
187
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
188
|
+
*/
|
|
189
|
+
function deserializeIntoManifest(manifest = {}) {
|
|
190
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(manifest)), { "blobCount": n => { manifest.blobCount = n.getNumberValue(); }, "blobs": n => { manifest.blobs = n.getCollectionOfObjectValues(createBlobFromDiscriminatorValue); }, "createdDateTime": n => { manifest.createdDateTime = n.getDateValue(); }, "dataFormat": n => { manifest.dataFormat = n.getStringValue(); }, "eTag": n => { manifest.eTag = n.getStringValue(); }, "partitionType": n => { manifest.partitionType = n.getStringValue(); }, "partnerTenantId": n => { manifest.partnerTenantId = n.getStringValue(); }, "rootDirectory": n => { manifest.rootDirectory = n.getStringValue(); }, "sasToken": n => { manifest.sasToken = n.getStringValue(); }, "schemaVersion": n => { manifest.schemaVersion = n.getStringValue(); } });
|
|
191
|
+
}
|
|
192
|
+
exports.deserializeIntoManifest = deserializeIntoManifest;
|
|
193
|
+
/**
|
|
194
|
+
* The deserialization information for the current model
|
|
195
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
196
|
+
*/
|
|
197
|
+
function deserializeIntoManifestCollectionResponse(manifestCollectionResponse = {}) {
|
|
198
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(manifestCollectionResponse)), { "value": n => { manifestCollectionResponse.value = n.getCollectionOfObjectValues(createManifestFromDiscriminatorValue); } });
|
|
199
|
+
}
|
|
200
|
+
exports.deserializeIntoManifestCollectionResponse = deserializeIntoManifestCollectionResponse;
|
|
201
|
+
/**
|
|
202
|
+
* The deserialization information for the current model
|
|
203
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
204
|
+
*/
|
|
205
|
+
function deserializeIntoOperation(operation = {}) {
|
|
206
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(operation)), { "createdDateTime": n => { operation.createdDateTime = n.getDateValue(); }, "lastActionDateTime": n => { operation.lastActionDateTime = n.getDateValue(); }, "status": n => { operation.status = n.getEnumValue(__1.LongRunningOperationStatusObject); } });
|
|
207
|
+
}
|
|
208
|
+
exports.deserializeIntoOperation = deserializeIntoOperation;
|
|
209
|
+
/**
|
|
210
|
+
* The deserialization information for the current model
|
|
211
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
212
|
+
*/
|
|
213
|
+
function deserializeIntoOperationCollectionResponse(operationCollectionResponse = {}) {
|
|
214
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(operationCollectionResponse)), { "value": n => { operationCollectionResponse.value = n.getCollectionOfObjectValues(createOperationFromDiscriminatorValue); } });
|
|
215
|
+
}
|
|
216
|
+
exports.deserializeIntoOperationCollectionResponse = deserializeIntoOperationCollectionResponse;
|
|
217
|
+
/**
|
|
218
|
+
* The deserialization information for the current model
|
|
219
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
220
|
+
*/
|
|
221
|
+
function deserializeIntoRunningOperation(runningOperation = {}) {
|
|
222
|
+
return Object.assign({}, deserializeIntoOperation(runningOperation));
|
|
223
|
+
}
|
|
224
|
+
exports.deserializeIntoRunningOperation = deserializeIntoRunningOperation;
|
|
225
|
+
/**
|
|
226
|
+
* The deserialization information for the current model
|
|
227
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
228
|
+
*/
|
|
229
|
+
function deserializeIntoUnbilledUsage(unbilledUsage = {}) {
|
|
230
|
+
return Object.assign({}, (0, __1.deserializeIntoEntity)(unbilledUsage));
|
|
231
|
+
}
|
|
232
|
+
exports.deserializeIntoUnbilledUsage = deserializeIntoUnbilledUsage;
|
|
233
|
+
/**
|
|
234
|
+
* Serializes information the current object
|
|
235
|
+
* @param writer Serialization writer to use to serialize this model
|
|
236
|
+
*/
|
|
237
|
+
function serializeAzureUsage(writer, azureUsage = {}) {
|
|
238
|
+
(0, __1.serializeEntity)(writer, azureUsage);
|
|
239
|
+
writer.writeObjectValue("billed", azureUsage.billed, serializeBilledUsage);
|
|
240
|
+
writer.writeObjectValue("unbilled", azureUsage.unbilled, serializeUnbilledUsage);
|
|
241
|
+
}
|
|
242
|
+
exports.serializeAzureUsage = serializeAzureUsage;
|
|
243
|
+
/**
|
|
244
|
+
* Serializes information the current object
|
|
245
|
+
* @param writer Serialization writer to use to serialize this model
|
|
246
|
+
*/
|
|
247
|
+
function serializeBilledUsage(writer, billedUsage = {}) {
|
|
248
|
+
(0, __1.serializeEntity)(writer, billedUsage);
|
|
249
|
+
}
|
|
250
|
+
exports.serializeBilledUsage = serializeBilledUsage;
|
|
251
|
+
/**
|
|
252
|
+
* Serializes information the current object
|
|
253
|
+
* @param writer Serialization writer to use to serialize this model
|
|
254
|
+
*/
|
|
255
|
+
function serializeBilling(writer, billing = {}) {
|
|
256
|
+
(0, __1.serializeEntity)(writer, billing);
|
|
257
|
+
writer.writeCollectionOfObjectValues("manifests", billing.manifests, serializeManifest);
|
|
258
|
+
writer.writeCollectionOfObjectValues("operations", billing.operations, serializeOperation);
|
|
259
|
+
writer.writeObjectValue("usage", billing.usage, serializeAzureUsage);
|
|
260
|
+
}
|
|
261
|
+
exports.serializeBilling = serializeBilling;
|
|
262
|
+
/**
|
|
263
|
+
* Serializes information the current object
|
|
264
|
+
* @param writer Serialization writer to use to serialize this model
|
|
265
|
+
*/
|
|
266
|
+
function serializeBlob(writer, blob = {}) {
|
|
267
|
+
writer.writeStringValue("name", blob.name);
|
|
268
|
+
writer.writeStringValue("@odata.type", blob.odataType);
|
|
269
|
+
writer.writeStringValue("partitionValue", blob.partitionValue);
|
|
270
|
+
writer.writeAdditionalData(blob.additionalData);
|
|
271
|
+
}
|
|
272
|
+
exports.serializeBlob = serializeBlob;
|
|
273
|
+
/**
|
|
274
|
+
* Serializes information the current object
|
|
275
|
+
* @param writer Serialization writer to use to serialize this model
|
|
276
|
+
*/
|
|
277
|
+
function serializeExportSuccessOperation(writer, exportSuccessOperation = {}) {
|
|
278
|
+
serializeOperation(writer, exportSuccessOperation);
|
|
279
|
+
writer.writeObjectValue("resourceLocation", exportSuccessOperation.resourceLocation, serializeManifest);
|
|
280
|
+
}
|
|
281
|
+
exports.serializeExportSuccessOperation = serializeExportSuccessOperation;
|
|
282
|
+
/**
|
|
283
|
+
* Serializes information the current object
|
|
284
|
+
* @param writer Serialization writer to use to serialize this model
|
|
285
|
+
*/
|
|
286
|
+
function serializeFailedOperation(writer, failedOperation = {}) {
|
|
287
|
+
serializeOperation(writer, failedOperation);
|
|
288
|
+
writer.writeObjectValue("error", failedOperation.errorEscaped, __1.serializePublicError);
|
|
289
|
+
}
|
|
290
|
+
exports.serializeFailedOperation = serializeFailedOperation;
|
|
291
|
+
/**
|
|
292
|
+
* Serializes information the current object
|
|
293
|
+
* @param writer Serialization writer to use to serialize this model
|
|
294
|
+
*/
|
|
295
|
+
function serializeManifest(writer, manifest = {}) {
|
|
296
|
+
(0, __1.serializeEntity)(writer, manifest);
|
|
297
|
+
writer.writeNumberValue("blobCount", manifest.blobCount);
|
|
298
|
+
writer.writeCollectionOfObjectValues("blobs", manifest.blobs, serializeBlob);
|
|
299
|
+
writer.writeDateValue("createdDateTime", manifest.createdDateTime);
|
|
300
|
+
writer.writeStringValue("dataFormat", manifest.dataFormat);
|
|
301
|
+
writer.writeStringValue("eTag", manifest.eTag);
|
|
302
|
+
writer.writeStringValue("partitionType", manifest.partitionType);
|
|
303
|
+
writer.writeStringValue("partnerTenantId", manifest.partnerTenantId);
|
|
304
|
+
writer.writeStringValue("rootDirectory", manifest.rootDirectory);
|
|
305
|
+
writer.writeStringValue("sasToken", manifest.sasToken);
|
|
306
|
+
writer.writeStringValue("schemaVersion", manifest.schemaVersion);
|
|
307
|
+
}
|
|
308
|
+
exports.serializeManifest = serializeManifest;
|
|
309
|
+
/**
|
|
310
|
+
* Serializes information the current object
|
|
311
|
+
* @param writer Serialization writer to use to serialize this model
|
|
312
|
+
*/
|
|
313
|
+
function serializeManifestCollectionResponse(writer, manifestCollectionResponse = {}) {
|
|
314
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, manifestCollectionResponse);
|
|
315
|
+
writer.writeCollectionOfObjectValues("value", manifestCollectionResponse.value, serializeManifest);
|
|
316
|
+
}
|
|
317
|
+
exports.serializeManifestCollectionResponse = serializeManifestCollectionResponse;
|
|
318
|
+
/**
|
|
319
|
+
* Serializes information the current object
|
|
320
|
+
* @param writer Serialization writer to use to serialize this model
|
|
321
|
+
*/
|
|
322
|
+
function serializeOperation(writer, operation = {}) {
|
|
323
|
+
(0, __1.serializeEntity)(writer, operation);
|
|
324
|
+
writer.writeDateValue("createdDateTime", operation.createdDateTime);
|
|
325
|
+
writer.writeDateValue("lastActionDateTime", operation.lastActionDateTime);
|
|
326
|
+
writer.writeEnumValue("status", operation.status);
|
|
327
|
+
}
|
|
328
|
+
exports.serializeOperation = serializeOperation;
|
|
329
|
+
/**
|
|
330
|
+
* Serializes information the current object
|
|
331
|
+
* @param writer Serialization writer to use to serialize this model
|
|
332
|
+
*/
|
|
333
|
+
function serializeOperationCollectionResponse(writer, operationCollectionResponse = {}) {
|
|
334
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, operationCollectionResponse);
|
|
335
|
+
writer.writeCollectionOfObjectValues("value", operationCollectionResponse.value, serializeOperation);
|
|
336
|
+
}
|
|
337
|
+
exports.serializeOperationCollectionResponse = serializeOperationCollectionResponse;
|
|
338
|
+
/**
|
|
339
|
+
* Serializes information the current object
|
|
340
|
+
* @param writer Serialization writer to use to serialize this model
|
|
341
|
+
*/
|
|
342
|
+
function serializeRunningOperation(writer, runningOperation = {}) {
|
|
343
|
+
serializeOperation(writer, runningOperation);
|
|
344
|
+
}
|
|
345
|
+
exports.serializeRunningOperation = serializeRunningOperation;
|
|
346
|
+
/**
|
|
347
|
+
* Serializes information the current object
|
|
348
|
+
* @param writer Serialization writer to use to serialize this model
|
|
349
|
+
*/
|
|
350
|
+
function serializeUnbilledUsage(writer, unbilledUsage = {}) {
|
|
351
|
+
(0, __1.serializeEntity)(writer, unbilledUsage);
|
|
352
|
+
}
|
|
353
|
+
exports.serializeUnbilledUsage = serializeUnbilledUsage;
|
|
354
|
+
exports.AttributeSetObject = {
|
|
355
|
+
Full: "full",
|
|
356
|
+
Basic: "basic",
|
|
357
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
358
|
+
};
|
|
359
|
+
exports.BillingPeriodObject = {
|
|
360
|
+
Current: "current",
|
|
361
|
+
Last: "last",
|
|
362
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
363
|
+
};
|
|
364
|
+
/* tslint:enable */
|
|
365
|
+
/* eslint-enable */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":""}
|