# 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
[docs]class PolicySnippetContract(Model):
"""Policy snippet.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar name: Snippet name.
:vartype name: str
:ivar content: Snippet content.
:vartype content: str
:ivar tool_tip: Snippet toolTip.
:vartype tool_tip: str
:ivar scope: Binary OR value of the Snippet scope.
:vartype scope: int
"""
_validation = {
'name': {'readonly': True},
'content': {'readonly': True},
'tool_tip': {'readonly': True},
'scope': {'readonly': True},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'content': {'key': 'content', 'type': 'str'},
'tool_tip': {'key': 'toolTip', 'type': 'str'},
'scope': {'key': 'scope', 'type': 'int'},
}
def __init__(self, **kwargs) -> None:
super(PolicySnippetContract, self).__init__(**kwargs)
self.name = None
self.content = None
self.tool_tip = None
self.scope = None