@@ -37,6 +37,7 @@ class QueryAttackAnalysisTermsAggLbRequest(object):
3737 'end_time' : 'int' ,
3838 'host' : 'str' ,
3939 'plugins' : 'list[str]' ,
40+ 'project_name' : 'str' ,
4041 'start_time' : 'int'
4142 }
4243
@@ -45,10 +46,11 @@ class QueryAttackAnalysisTermsAggLbRequest(object):
4546 'end_time' : 'EndTime' ,
4647 'host' : 'Host' ,
4748 'plugins' : 'Plugins' ,
49+ 'project_name' : 'ProjectName' ,
4850 'start_time' : 'StartTime'
4951 }
5052
51- def __init__ (self , analysis_key = None , end_time = None , host = None , plugins = None , start_time = None , _configuration = None ): # noqa: E501
53+ def __init__ (self , analysis_key = None , end_time = None , host = None , plugins = None , project_name = None , start_time = None , _configuration = None ): # noqa: E501
5254 """QueryAttackAnalysisTermsAggLbRequest - a model defined in Swagger""" # noqa: E501
5355 if _configuration is None :
5456 _configuration = Configuration ()
@@ -58,16 +60,18 @@ def __init__(self, analysis_key=None, end_time=None, host=None, plugins=None, st
5860 self ._end_time = None
5961 self ._host = None
6062 self ._plugins = None
63+ self ._project_name = None
6164 self ._start_time = None
6265 self .discriminator = None
6366
64- if analysis_key is not None :
65- self .analysis_key = analysis_key
67+ self .analysis_key = analysis_key
6668 self .end_time = end_time
6769 if host is not None :
6870 self .host = host
6971 if plugins is not None :
7072 self .plugins = plugins
73+ if project_name is not None :
74+ self .project_name = project_name
7175 self .start_time = start_time
7276
7377 @property
@@ -88,6 +92,8 @@ def analysis_key(self, analysis_key):
8892 :param analysis_key: The analysis_key of this QueryAttackAnalysisTermsAggLbRequest. # noqa: E501
8993 :type: str
9094 """
95+ if self ._configuration .client_side_validation and analysis_key is None :
96+ raise ValueError ("Invalid value for `analysis_key`, must not be `None`" ) # noqa: E501
9197
9298 self ._analysis_key = analysis_key
9399
@@ -156,6 +162,27 @@ def plugins(self, plugins):
156162
157163 self ._plugins = plugins
158164
165+ @property
166+ def project_name (self ):
167+ """Gets the project_name of this QueryAttackAnalysisTermsAggLbRequest. # noqa: E501
168+
169+
170+ :return: The project_name of this QueryAttackAnalysisTermsAggLbRequest. # noqa: E501
171+ :rtype: str
172+ """
173+ return self ._project_name
174+
175+ @project_name .setter
176+ def project_name (self , project_name ):
177+ """Sets the project_name of this QueryAttackAnalysisTermsAggLbRequest.
178+
179+
180+ :param project_name: The project_name of this QueryAttackAnalysisTermsAggLbRequest. # noqa: E501
181+ :type: str
182+ """
183+
184+ self ._project_name = project_name
185+
159186 @property
160187 def start_time (self ):
161188 """Gets the start_time of this QueryAttackAnalysisTermsAggLbRequest. # noqa: E501
0 commit comments