1010# from dohq_teamcity.models.build_type import BuildType # noqa: F401,E501
1111# from dohq_teamcity.models.build_types import BuildTypes # noqa: F401,E501
1212# from dohq_teamcity.models.builds import Builds # noqa: F401,E501
13+ # from dohq_teamcity.models.comment import Comment # noqa: F401,E501
1314# from dohq_teamcity.models.features import Features # noqa: F401,E501
1415# from dohq_teamcity.models.investigations import Investigations # noqa: F401,E501
1516# from dohq_teamcity.models.links import Links # noqa: F401,E501
@@ -42,6 +43,7 @@ class BuildType(TeamCityObject):
4243 'template_flag' : 'bool' ,
4344 'type' : 'str' ,
4445 'paused' : 'bool' ,
46+ 'pause_comment' : 'Comment' ,
4547 'uuid' : 'str' ,
4648 'description' : 'str' ,
4749 'project_name' : 'str' ,
@@ -78,6 +80,7 @@ class BuildType(TeamCityObject):
7880 'template_flag' : 'templateFlag' ,
7981 'type' : 'type' ,
8082 'paused' : 'paused' ,
83+ 'pause_comment' : 'pauseComment' ,
8184 'uuid' : 'uuid' ,
8285 'description' : 'description' ,
8386 'project_name' : 'projectName' ,
@@ -107,7 +110,7 @@ class BuildType(TeamCityObject):
107110 'locator' : 'locator'
108111 }
109112
110- def __init__ (self , id = None , internal_id = None , name = None , template_flag = False , type = None , paused = False , uuid = None , description = None , project_name = None , project_id = None , project_internal_id = None , href = None , web_url = None , inherited = False , links = None , project = None , templates = None , template = None , vcs_root_entries = None , settings = None , parameters = None , steps = None , features = None , triggers = None , snapshot_dependencies = None , artifact_dependencies = None , agent_requirements = None , branches = None , builds = None , investigations = None , compatible_agents = None , vcs_root_instances = None , locator = None , teamcity = None ): # noqa: E501
113+ def __init__ (self , id = None , internal_id = None , name = None , template_flag = False , type = None , paused = False , pause_comment = None , uuid = None , description = None , project_name = None , project_id = None , project_internal_id = None , href = None , web_url = None , inherited = False , links = None , project = None , templates = None , template = None , vcs_root_entries = None , settings = None , parameters = None , steps = None , features = None , triggers = None , snapshot_dependencies = None , artifact_dependencies = None , agent_requirements = None , branches = None , builds = None , investigations = None , compatible_agents = None , vcs_root_instances = None , locator = None , teamcity = None ): # noqa: E501
111114 """BuildType - a model defined in Swagger""" # noqa: E501
112115
113116 self ._id = None
@@ -116,6 +119,7 @@ def __init__(self, id=None, internal_id=None, name=None, template_flag=False, ty
116119 self ._template_flag = None
117120 self ._type = None
118121 self ._paused = None
122+ self ._pause_comment = None
119123 self ._uuid = None
120124 self ._description = None
121125 self ._project_name = None
@@ -157,6 +161,8 @@ def __init__(self, id=None, internal_id=None, name=None, template_flag=False, ty
157161 self .type = type
158162 if paused is not None :
159163 self .paused = paused
164+ if pause_comment is not None :
165+ self .pause_comment = pause_comment
160166 if uuid is not None :
161167 self .uuid = uuid
162168 if description is not None :
@@ -339,6 +345,27 @@ def paused(self, paused):
339345
340346 self ._paused = paused
341347
348+ @property
349+ def pause_comment (self ):
350+ """Gets the pause_comment of this BuildType. # noqa: E501
351+
352+
353+ :return: The pause_comment of this BuildType. # noqa: E501
354+ :rtype: Comment
355+ """
356+ return self ._pause_comment
357+
358+ @pause_comment .setter
359+ def pause_comment (self , pause_comment ):
360+ """Sets the pause_comment of this BuildType.
361+
362+
363+ :param pause_comment: The pause_comment of this BuildType. # noqa: E501
364+ :type: Comment
365+ """
366+
367+ self ._pause_comment = pause_comment
368+
342369 @property
343370 def uuid (self ):
344371 """Gets the uuid of this BuildType. # noqa: E501
0 commit comments