# 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 LinkProperties(Model):
"""Contains a sourceId and workbook resource id to link two resources.
:param source_id: The source Azure resource id
:type source_id: str
:param target_id: The workbook Azure resource id
:type target_id: str
:param category: The category of workbook
:type category: str
"""
_attribute_map = {
'source_id': {'key': 'sourceId', 'type': 'str'},
'target_id': {'key': 'targetId', 'type': 'str'},
'category': {'key': 'category', 'type': 'str'},
}
def __init__(self, *, source_id: str=None, target_id: str=None, category: str=None, **kwargs) -> None:
super(LinkProperties, self).__init__(**kwargs)
self.source_id = source_id
self.target_id = target_id
self.category = category