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 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR apimanagement/resource-manager] Added missing PATCH operation…
… to Api Issue resource (#4070) * Generated from 73c3ebb5e203fc53ce5cdb52d31170729775848f Added missing PATCH operation to Api Issue resource * Generated from dcb5eb7ef83a50275a7d92747baaad3a850286a4 Added missing PATCH operation to Api Issue resource * Generated from ccc27d4c2f7026867aa2bcf3e67b6359c3ec0f11 Added missing PATCH operation to Api Issue resource
- Loading branch information
1 parent
1d33f60
commit 6715ac2
Showing
7 changed files
with
758 additions
and
62 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
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
70 changes: 70 additions & 0 deletions
70
lib/services/apimanagement/lib/models/issueContractBaseProperties.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,70 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* Issue contract Base Properties. | ||
* | ||
*/ | ||
class IssueContractBaseProperties { | ||
/** | ||
* Create a IssueContractBaseProperties. | ||
* @member {date} [createdDate] Date and time when the issue was created. | ||
* @member {string} [state] Status of the issue. Possible values include: | ||
* 'proposed', 'open', 'removed', 'resolved', 'closed' | ||
* @member {string} [apiId] A resource identifier for the API the issue was | ||
* created for. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of IssueContractBaseProperties | ||
* | ||
* @returns {object} metadata of IssueContractBaseProperties | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'IssueContractBaseProperties', | ||
type: { | ||
name: 'Composite', | ||
className: 'IssueContractBaseProperties', | ||
modelProperties: { | ||
createdDate: { | ||
required: false, | ||
serializedName: 'createdDate', | ||
type: { | ||
name: 'DateTime' | ||
} | ||
}, | ||
state: { | ||
required: false, | ||
serializedName: 'state', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
apiId: { | ||
required: false, | ||
serializedName: 'apiId', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = IssueContractBaseProperties; |
95 changes: 95 additions & 0 deletions
95
lib/services/apimanagement/lib/models/issueUpdateContract.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,95 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* Issue update Parameters. | ||
* | ||
*/ | ||
class IssueUpdateContract { | ||
/** | ||
* Create a IssueUpdateContract. | ||
* @member {date} [createdDate] Date and time when the issue was created. | ||
* @member {string} [state] Status of the issue. Possible values include: | ||
* 'proposed', 'open', 'removed', 'resolved', 'closed' | ||
* @member {string} [apiId] A resource identifier for the API the issue was | ||
* created for. | ||
* @member {string} [title] The issue title. | ||
* @member {string} [description] Text describing the issue. | ||
* @member {string} [userId] A resource identifier for the user created the | ||
* issue. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of IssueUpdateContract | ||
* | ||
* @returns {object} metadata of IssueUpdateContract | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'IssueUpdateContract', | ||
type: { | ||
name: 'Composite', | ||
className: 'IssueUpdateContract', | ||
modelProperties: { | ||
createdDate: { | ||
required: false, | ||
serializedName: 'properties.createdDate', | ||
type: { | ||
name: 'DateTime' | ||
} | ||
}, | ||
state: { | ||
required: false, | ||
serializedName: 'properties.state', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
apiId: { | ||
required: false, | ||
serializedName: 'properties.apiId', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
title: { | ||
required: false, | ||
serializedName: 'properties.title', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
description: { | ||
required: false, | ||
serializedName: 'properties.description', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
userId: { | ||
required: false, | ||
serializedName: 'properties.userId', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = IssueUpdateContract; |
Oops, something went wrong.