|
6 | 6 | # Changes may cause incorrect behavior and will be lost if the code is regenerated. |
7 | 7 | # -------------------------------------------------------------------------------------------- |
8 | 8 |
|
9 | | -from .git_change import GitChange |
| 9 | +from msrest.serialization import Model |
10 | 10 |
|
11 | 11 |
|
12 | | -class GitPullRequestChange(GitChange): |
| 12 | +class GitPullRequestChange(Model): |
13 | 13 | """GitPullRequestChange. |
14 | 14 |
|
15 | | - :param change_id: Id of the change within the group. For example, within the iteration |
16 | | - :type change_id: int |
17 | | - :param new_content_template: New Content template to be used |
18 | | - :type new_content_template: :class:`GitTemplate <git.v4_0.models.GitTemplate>` |
19 | | - :param original_path: Original path of item if different from current path |
20 | | - :type original_path: str |
21 | 15 | :param change_tracking_id: Id used to track files through multiple changes |
22 | 16 | :type change_tracking_id: int |
23 | 17 | """ |
24 | 18 |
|
25 | 19 | _attribute_map = { |
26 | | - 'change_id': {'key': 'changeId', 'type': 'int'}, |
27 | | - 'new_content_template': {'key': 'newContentTemplate', 'type': 'GitTemplate'}, |
28 | | - 'original_path': {'key': 'originalPath', 'type': 'str'}, |
29 | 20 | 'change_tracking_id': {'key': 'changeTrackingId', 'type': 'int'} |
30 | 21 | } |
31 | 22 |
|
32 | | - def __init__(self, change_id=None, new_content_template=None, original_path=None, change_tracking_id=None): |
33 | | - super(GitPullRequestChange, self).__init__(change_id=change_id, new_content_template=new_content_template, original_path=original_path) |
| 23 | + def __init__(self, change_tracking_id=None): |
| 24 | + super(GitPullRequestChange, self).__init__() |
34 | 25 | self.change_tracking_id = change_tracking_id |
0 commit comments