|
| 1 | +# coding=utf-8 |
| 2 | +# -------------------------------------------------------------------------- |
| 3 | +# Copyright (c) Microsoft Corporation. All rights reserved. |
| 4 | +# Licensed under the MIT License. See License.txt in the project root for |
| 5 | +# license information. |
| 6 | +# |
| 7 | +# Code generated by Microsoft (R) AutoRest Code Generator. |
| 8 | +# Changes may cause incorrect behavior and will be lost if the code is |
| 9 | +# regenerated. |
| 10 | +# -------------------------------------------------------------------------- |
| 11 | + |
| 12 | +from msrest.serialization import Model |
| 13 | + |
| 14 | + |
| 15 | +class Display(Model): |
| 16 | + """Detailed HANA operation information. |
| 17 | +
|
| 18 | + Variables are only populated by the server, and will be ignored when |
| 19 | + sending a request. |
| 20 | +
|
| 21 | + :ivar provider: The localized friendly form of the resource provider name. |
| 22 | + This form is also expected to include the publisher/company responsible. |
| 23 | + Use Title Casing. Begin with "Microsoft" for 1st party services. |
| 24 | + :vartype provider: str |
| 25 | + :ivar resource: The localized friendly form of the resource type related |
| 26 | + to this action/operation. This form should match the public documentation |
| 27 | + for the resource provider. Use Title Casing. For examples, refer to the |
| 28 | + “name” section. |
| 29 | + :vartype resource: str |
| 30 | + :ivar operation: The localized friendly name for the operation as shown to |
| 31 | + the user. This name should be concise (to fit in drop downs), but clear |
| 32 | + (self-documenting). Use Title Casing and include the entity/resource to |
| 33 | + which it applies. |
| 34 | + :vartype operation: str |
| 35 | + :ivar description: The localized friendly description for the operation as |
| 36 | + shown to the user. This description should be thorough, yet concise. It |
| 37 | + will be used in tool-tips and detailed views. |
| 38 | + :vartype description: str |
| 39 | + :ivar origin: The intended executor of the operation; governs the display |
| 40 | + of the operation in the RBAC UX and the audit logs UX. Default value is |
| 41 | + 'user,system' |
| 42 | + :vartype origin: str |
| 43 | + """ |
| 44 | + |
| 45 | + _validation = { |
| 46 | + 'provider': {'readonly': True}, |
| 47 | + 'resource': {'readonly': True}, |
| 48 | + 'operation': {'readonly': True}, |
| 49 | + 'description': {'readonly': True}, |
| 50 | + 'origin': {'readonly': True}, |
| 51 | + } |
| 52 | + |
| 53 | + _attribute_map = { |
| 54 | + 'provider': {'key': 'provider', 'type': 'str'}, |
| 55 | + 'resource': {'key': 'resource', 'type': 'str'}, |
| 56 | + 'operation': {'key': 'operation', 'type': 'str'}, |
| 57 | + 'description': {'key': 'description', 'type': 'str'}, |
| 58 | + 'origin': {'key': 'origin', 'type': 'str'}, |
| 59 | + } |
| 60 | + |
| 61 | + def __init__(self, **kwargs) -> None: |
| 62 | + super(Display, self).__init__(**kwargs) |
| 63 | + self.provider = None |
| 64 | + self.resource = None |
| 65 | + self.operation = None |
| 66 | + self.description = None |
| 67 | + self.origin = None |
0 commit comments