Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR cognitiveservices/data-plane/NewsSearch] typo: cognitiveservices/data-plane/NewsSearch #4246

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions lib/services/newsSearch/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion lib/services/newsSearch/lib/models/answer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const models = require('./index');
class Answer extends models['Response'] {
/**
* Create a Answer.
* @member {array} [followUpQueries]
* @property {array} [followUpQueries]
*/
constructor() {
super();
Expand Down
2 changes: 1 addition & 1 deletion lib/services/newsSearch/lib/models/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const models = require('./index');
class Article extends models['CreativeWork'] {
/**
* Create a Article.
* @member {number} [wordCount] The number of words in the text of the
* @property {number} [wordCount] The number of words in the text of the
* Article.
*/
constructor() {
Expand Down
30 changes: 15 additions & 15 deletions lib/services/newsSearch/lib/models/creativeWork.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ const models = require('./index');
class CreativeWork extends models['Thing'] {
/**
* Create a CreativeWork.
* @member {string} [thumbnailUrl] The URL to a thumbnail of the item.
* @member {array} [provider] The source of the creative work.
* @member {string} [datePublished] The date on which the CreativeWork was
* @property {string} [thumbnailUrl] The URL to a thumbnail of the item.
* @property {array} [provider] The source of the creative work.
* @property {string} [datePublished] The date on which the CreativeWork was
* published.
* @member {object} [video] A video of the item.
* @member {string} [video.motionThumbnailUrl]
* @member {string} [video.motionThumbnailId]
* @member {string} [video.embedHtml]
* @member {boolean} [video.allowHttpsEmbed]
* @member {number} [video.viewCount]
* @member {object} [video.thumbnail]
* @member {object} [video.thumbnail.thumbnail] The URL to a thumbnail of the
* image
* @member {string} [video.videoId]
* @member {boolean} [video.allowMobileEmbed]
* @member {boolean} [video.isSuperfresh]
* @property {object} [video] A video of the item.
* @property {string} [video.motionThumbnailUrl]
* @property {string} [video.motionThumbnailId]
* @property {string} [video.embedHtml]
* @property {boolean} [video.allowHttpsEmbed]
* @property {number} [video.viewCount]
* @property {object} [video.thumbnail]
* @property {object} [video.thumbnail.thumbnail] The URL to a thumbnail of
* the image
* @property {string} [video.videoId]
* @property {boolean} [video.allowMobileEmbed]
* @property {boolean} [video.isSuperfresh]
*/
constructor() {
super();
Expand Down
16 changes: 8 additions & 8 deletions lib/services/newsSearch/lib/models/errorModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@
class ErrorModel {
/**
* Create a ErrorModel.
* @member {string} code The error code that identifies the category of
* @property {string} code The error code that identifies the category of
* error. Possible values include: 'None', 'ServerError', 'InvalidRequest',
* 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization'.
* Default value: 'None' .
* @member {string} [subCode] The error code that further helps to identify
* @property {string} [subCode] The error code that further helps to identify
* the error. Possible values include: 'UnexpectedError', 'ResourceError',
* 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue',
* 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing',
* 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired'
* @member {string} message A description of the error.
* @member {string} [moreDetails] A description that provides additional
* @property {string} message A description of the error.
* @property {string} [moreDetails] A description that provides additional
* information about the error.
* @member {string} [parameter] The parameter in the request that caused the
* error.
* @member {string} [value] The parameter's value in the request that was not
* valid.
* @property {string} [parameter] The parameter in the request that caused
* the error.
* @property {string} [value] The parameter's value in the request that was
* not valid.
*/
constructor() {
}
Expand Down
4 changes: 2 additions & 2 deletions lib/services/newsSearch/lib/models/errorResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const models = require('./index');
class ErrorResponse extends models['Response'] {
/**
* Create a ErrorResponse.
* @member {array} errors A list of errors that describe the reasons why the
* request failed.
* @property {array} errors A list of errors that describe the reasons why
* the request failed.
*/
constructor() {
super();
Expand Down
2 changes: 1 addition & 1 deletion lib/services/newsSearch/lib/models/identifiable.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const models = require('./index');
class Identifiable extends models['ResponseBase'] {
/**
* Create a Identifiable.
* @member {string} [id] A String identifier.
* @property {string} [id] A String identifier.
*/
constructor() {
super();
Expand Down
2 changes: 1 addition & 1 deletion lib/services/newsSearch/lib/models/imageObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const models = require('./index');
class ImageObject extends models['MediaObject'] {
/**
* Create a ImageObject.
* @member {object} [thumbnail] The URL to a thumbnail of the image
* @property {object} [thumbnail] The URL to a thumbnail of the image
*/
constructor() {
super();
Expand Down
Loading