This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR notificationhubs/resource-manager] Add missing debugsend and …
…patch operation for NotificationHub resource (#2977) * Generated from 01edec5fd7a2a02c2d9855146656bfef4c7f423f Add debugsend and NH patch operation * Generated from 0238c4239dec40fef6679fd36f8498b82c6157c8 Fix build error due to missing parameterId * Generated from 2f2ca999f5033c50ea6ad7ce9a493b9d1bd5c993 Fix more errors * Generated from 3b57f480cb371a58ae1c0feb24e6a0270c671acd Fix build errors due to mismatch parameters * Generated from edb81a4b9052ef17263836b0b079b7204c6a33ce Fix error with missing parameters value for DebugSend * Generated from 3e947825fd1f50e39862de452aa599a4e4bc74b1 Change DebugSendResult from string to object * Generated from 65b541d42b26f877d8ec658d93e103417c2db181 Fix DebugSend build errors
- Loading branch information
1 parent
f3f4799
commit f882556
Showing
8 changed files
with
2,117 additions
and
444 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
125 changes: 125 additions & 0 deletions
125
lib/services/notificationHubsManagement/lib/models/debugSendResponse.js
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,125 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const models = require('./index'); | ||
|
||
/** | ||
* Description of a NotificationHub Resource. | ||
* | ||
* @extends models['Resource'] | ||
*/ | ||
class DebugSendResponse extends models['Resource'] { | ||
/** | ||
* Create a DebugSendResponse. | ||
* @member {number} [success] successful send | ||
* @member {number} [failure] send failure | ||
* @member {object} [results] actual failure description | ||
*/ | ||
constructor() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Defines the metadata of DebugSendResponse | ||
* | ||
* @returns {object} metadata of DebugSendResponse | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'DebugSendResponse', | ||
type: { | ||
name: 'Composite', | ||
className: 'DebugSendResponse', | ||
modelProperties: { | ||
id: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'id', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
name: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'name', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
type: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'type', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
location: { | ||
required: false, | ||
serializedName: 'location', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
tags: { | ||
required: false, | ||
serializedName: 'tags', | ||
type: { | ||
name: 'Dictionary', | ||
value: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
}, | ||
sku: { | ||
required: false, | ||
serializedName: 'sku', | ||
type: { | ||
name: 'Composite', | ||
className: 'Sku' | ||
} | ||
}, | ||
success: { | ||
required: false, | ||
serializedName: 'properties.success', | ||
type: { | ||
name: 'Number' | ||
} | ||
}, | ||
failure: { | ||
required: false, | ||
serializedName: 'properties.failure', | ||
type: { | ||
name: 'Number' | ||
} | ||
}, | ||
results: { | ||
required: false, | ||
serializedName: 'properties.results', | ||
type: { | ||
name: 'Object' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = DebugSendResponse; |
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
Oops, something went wrong.