-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatic PR of restapi_auto_brjohnstmsft_update-search-mgmt-spec int…
…o master (#1757) * Generated from 6a31c5b2391c99143fb762d48d4ebc5120df358d * Update version.py
- Loading branch information
1 parent
aa1e025
commit 24ad9a2
Showing
22 changed files
with
1,195 additions
and
98 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class Operation(Model): | ||
"""Describes a REST API operation. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar name: The name of the operation. This name is of the form | ||
{provider}/{resource}/{operation}. | ||
:vartype name: str | ||
:ivar display: The object that describes the operation. | ||
:vartype display: ~azure.mgmt.search.models.OperationDisplay | ||
""" | ||
|
||
_validation = { | ||
'name': {'readonly': True}, | ||
'display': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'display': {'key': 'display', 'type': 'OperationDisplay'}, | ||
} | ||
|
||
def __init__(self): | ||
super(Operation, self).__init__() | ||
self.name = None | ||
self.display = None |
51 changes: 51 additions & 0 deletions
51
azure-mgmt-search/azure/mgmt/search/models/operation_display.py
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,51 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class OperationDisplay(Model): | ||
"""The object that describes the operation. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar provider: The friendly name of the resource provider. | ||
:vartype provider: str | ||
:ivar operation: The operation type: read, write, delete, listKeys/action, | ||
etc. | ||
:vartype operation: str | ||
:ivar resource: The resource type on which the operation is performed. | ||
:vartype resource: str | ||
:ivar description: The friendly name of the operation. | ||
:vartype description: str | ||
""" | ||
|
||
_validation = { | ||
'provider': {'readonly': True}, | ||
'operation': {'readonly': True}, | ||
'resource': {'readonly': True}, | ||
'description': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'provider': {'key': 'provider', 'type': 'str'}, | ||
'operation': {'key': 'operation', 'type': 'str'}, | ||
'resource': {'key': 'resource', 'type': 'str'}, | ||
'description': {'key': 'description', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self): | ||
super(OperationDisplay, self).__init__() | ||
self.provider = None | ||
self.operation = None | ||
self.resource = None | ||
self.description = None |
27 changes: 27 additions & 0 deletions
27
azure-mgmt-search/azure/mgmt/search/models/operation_paged.py
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,27 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.paging import Paged | ||
|
||
|
||
class OperationPaged(Paged): | ||
""" | ||
A paging container for iterating over a list of :class:`Operation <azure.mgmt.search.models.Operation>` object | ||
""" | ||
|
||
_attribute_map = { | ||
'next_link': {'key': 'nextLink', 'type': 'str'}, | ||
'current_page': {'key': 'value', 'type': '[Operation]'} | ||
} | ||
|
||
def __init__(self, *args, **kwargs): | ||
|
||
super(OperationPaged, self).__init__(*args, **kwargs) |
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 |
---|---|---|
|
@@ -36,5 +36,6 @@ class QueryKey(Model): | |
} | ||
|
||
def __init__(self): | ||
super(QueryKey, self).__init__() | ||
self.name = None | ||
self.key = None |
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
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
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.