Skip to content

Commit d61e4fb

Browse files
committed
feature: add group params
Add a new `param_groups` field to the `ResultCreate` model
1 parent 005d895 commit d61e4fb

File tree

2 files changed

+123
-29
lines changed

2 files changed

+123
-29
lines changed

qase-api-client/docs/ResultCreate.md

Lines changed: 82 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22

33
## Properties
44

5-
Name | Type | Description | Notes
6-
------------ | ------------- | ------------- | -------------
7-
**CaseId** | Pointer to **int64** | | [optional]
8-
**Case** | Pointer to [**ResultCreateCase**](ResultCreateCase.md) | | [optional]
9-
**Status** | **string** | Can have the following values `passed`, `failed`, `blocked`, `skipped`, `invalid` + custom statuses |
10-
**StartTime** | Pointer to **NullableInt32** | | [optional]
11-
**Time** | Pointer to **NullableInt64** | | [optional]
12-
**TimeMs** | Pointer to **NullableInt64** | | [optional]
13-
**Defect** | Pointer to **NullableBool** | | [optional]
14-
**Attachments** | Pointer to **[]string** | | [optional]
15-
**Stacktrace** | Pointer to **NullableString** | | [optional]
16-
**Comment** | Pointer to **NullableString** | | [optional]
17-
**Param** | Pointer to **map[string]string** | A map of parameters (name => value) | [optional]
18-
**Steps** | Pointer to [**[]TestStepResultCreate**](TestStepResultCreate.md) | | [optional]
19-
**AuthorId** | Pointer to **NullableInt64** | | [optional]
5+
Name | Type | Description | Notes
6+
-----------------|------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|------------
7+
**CaseId** | Pointer to **int64** | | [optional]
8+
**Case** | Pointer to [**ResultCreateCase**](ResultCreateCase.md) | | [optional]
9+
**Status** | **string** | Can have the following values `passed`, `failed`, `blocked`, `skipped`, `invalid` + custom statuses |
10+
**StartTime** | Pointer to **NullableInt32** | | [optional]
11+
**Time** | Pointer to **NullableInt64** | | [optional]
12+
**TimeMs** | Pointer to **NullableInt64** | | [optional]
13+
**Defect** | Pointer to **NullableBool** | | [optional]
14+
**Attachments** | Pointer to **[]string** | | [optional]
15+
**Stacktrace** | Pointer to **NullableString** | | [optional]
16+
**Comment** | Pointer to **NullableString** | | [optional]
17+
**Param** | Pointer to **map[string]string** | A map of parameters (name => value) | [optional]
18+
**ParamGroups** | Pointer to **[][]string** | A list of parameter groups | [optional]
19+
**Steps** | Pointer to [**[]TestStepResultCreate**](TestStepResultCreate.md) | | [optional]
20+
**AuthorId** | Pointer to **NullableInt64** | | [optional]
2021

2122
## Methods
2223

@@ -106,7 +107,6 @@ and a boolean to check if the value has been set.
106107

107108
SetStatus sets Status field to given value.
108109

109-
110110
### GetStartTime
111111

112112
`func (o *ResultCreate) GetStartTime() int32`
@@ -136,12 +136,14 @@ HasStartTime returns a boolean if a field has been set.
136136

137137
`func (o *ResultCreate) SetStartTimeNil(b bool)`
138138

139-
SetStartTimeNil sets the value for StartTime to be an explicit nil
139+
SetStartTimeNil sets the value for StartTime to be an explicit nil
140140

141141
### UnsetStartTime
142+
142143
`func (o *ResultCreate) UnsetStartTime()`
143144

144145
UnsetStartTime ensures that no value is present for StartTime, not even an explicit nil
146+
145147
### GetTime
146148

147149
`func (o *ResultCreate) GetTime() int64`
@@ -171,12 +173,14 @@ HasTime returns a boolean if a field has been set.
171173

172174
`func (o *ResultCreate) SetTimeNil(b bool)`
173175

174-
SetTimeNil sets the value for Time to be an explicit nil
176+
SetTimeNil sets the value for Time to be an explicit nil
175177

176178
### UnsetTime
179+
177180
`func (o *ResultCreate) UnsetTime()`
178181

179182
UnsetTime ensures that no value is present for Time, not even an explicit nil
183+
180184
### GetTimeMs
181185

182186
`func (o *ResultCreate) GetTimeMs() int64`
@@ -206,12 +210,14 @@ HasTimeMs returns a boolean if a field has been set.
206210

207211
`func (o *ResultCreate) SetTimeMsNil(b bool)`
208212

209-
SetTimeMsNil sets the value for TimeMs to be an explicit nil
213+
SetTimeMsNil sets the value for TimeMs to be an explicit nil
210214

211215
### UnsetTimeMs
216+
212217
`func (o *ResultCreate) UnsetTimeMs()`
213218

214219
UnsetTimeMs ensures that no value is present for TimeMs, not even an explicit nil
220+
215221
### GetDefect
216222

217223
`func (o *ResultCreate) GetDefect() bool`
@@ -241,12 +247,14 @@ HasDefect returns a boolean if a field has been set.
241247

242248
`func (o *ResultCreate) SetDefectNil(b bool)`
243249

244-
SetDefectNil sets the value for Defect to be an explicit nil
250+
SetDefectNil sets the value for Defect to be an explicit nil
245251

246252
### UnsetDefect
253+
247254
`func (o *ResultCreate) UnsetDefect()`
248255

249256
UnsetDefect ensures that no value is present for Defect, not even an explicit nil
257+
250258
### GetAttachments
251259

252260
`func (o *ResultCreate) GetAttachments() []string`
@@ -276,12 +284,14 @@ HasAttachments returns a boolean if a field has been set.
276284

277285
`func (o *ResultCreate) SetAttachmentsNil(b bool)`
278286

279-
SetAttachmentsNil sets the value for Attachments to be an explicit nil
287+
SetAttachmentsNil sets the value for Attachments to be an explicit nil
280288

281289
### UnsetAttachments
290+
282291
`func (o *ResultCreate) UnsetAttachments()`
283292

284293
UnsetAttachments ensures that no value is present for Attachments, not even an explicit nil
294+
285295
### GetStacktrace
286296

287297
`func (o *ResultCreate) GetStacktrace() string`
@@ -311,12 +321,14 @@ HasStacktrace returns a boolean if a field has been set.
311321

312322
`func (o *ResultCreate) SetStacktraceNil(b bool)`
313323

314-
SetStacktraceNil sets the value for Stacktrace to be an explicit nil
324+
SetStacktraceNil sets the value for Stacktrace to be an explicit nil
315325

316326
### UnsetStacktrace
327+
317328
`func (o *ResultCreate) UnsetStacktrace()`
318329

319330
UnsetStacktrace ensures that no value is present for Stacktrace, not even an explicit nil
331+
320332
### GetComment
321333

322334
`func (o *ResultCreate) GetComment() string`
@@ -346,12 +358,14 @@ HasComment returns a boolean if a field has been set.
346358

347359
`func (o *ResultCreate) SetCommentNil(b bool)`
348360

349-
SetCommentNil sets the value for Comment to be an explicit nil
361+
SetCommentNil sets the value for Comment to be an explicit nil
350362

351363
### UnsetComment
364+
352365
`func (o *ResultCreate) UnsetComment()`
353366

354367
UnsetComment ensures that no value is present for Comment, not even an explicit nil
368+
355369
### GetParam
356370

357371
`func (o *ResultCreate) GetParam() map[string]string`
@@ -381,12 +395,51 @@ HasParam returns a boolean if a field has been set.
381395

382396
`func (o *ResultCreate) SetParamNil(b bool)`
383397

384-
SetParamNil sets the value for Param to be an explicit nil
398+
SetParamNil sets the value for Param to be an explicit nil
385399

386400
### UnsetParam
401+
387402
`func (o *ResultCreate) UnsetParam()`
388403

389404
UnsetParam ensures that no value is present for Param, not even an explicit nil
405+
406+
### GetParamGroups
407+
408+
`func (o *ResultCreate) GetParamGroups() [][]string`
409+
410+
GetParamGroups returns the ParamGroups field if non-nil, zero value otherwise.
411+
412+
### GetParamGroupsOk
413+
414+
`func (o *ResultCreate) GetParamGroupsOk() (*[][]string, bool)`
415+
416+
GetParamGroupsOk returns a tuple with the ParamGroups field if it's non-nil, zero value otherwise
417+
and a boolean to check if the value has been set.
418+
419+
### SetParamGroups
420+
421+
`func (o *ResultCreate) SetParamGroups(v [][]string)`
422+
423+
SetParamGroups sets ParamGroups field to given value.
424+
425+
### HasParamGroups
426+
427+
`func (o *ResultCreate) HasParamGroups() bool`
428+
429+
HasParamGroups returns a boolean if a field has been set.
430+
431+
### SetParamGroupsNil
432+
433+
`func (o *ResultCreate) SetParamGroupsNil(b bool)`
434+
435+
SetParamGroupsNil sets the value for ParamGroups to be an explicit nil
436+
437+
### UnsetParamGroups
438+
439+
`func (o *ResultCreate) UnsetParamGroups()`
440+
441+
UnsetParamGroups ensures that no value is present for ParamGroups, not even an explicit nil
442+
390443
### GetSteps
391444

392445
`func (o *ResultCreate) GetSteps() []TestStepResultCreate`
@@ -416,12 +469,14 @@ HasSteps returns a boolean if a field has been set.
416469

417470
`func (o *ResultCreate) SetStepsNil(b bool)`
418471

419-
SetStepsNil sets the value for Steps to be an explicit nil
472+
SetStepsNil sets the value for Steps to be an explicit nil
420473

421474
### UnsetSteps
475+
422476
`func (o *ResultCreate) UnsetSteps()`
423477

424478
UnsetSteps ensures that no value is present for Steps, not even an explicit nil
479+
425480
### GetAuthorId
426481

427482
`func (o *ResultCreate) GetAuthorId() int64`
@@ -451,9 +506,10 @@ HasAuthorId returns a boolean if a field has been set.
451506

452507
`func (o *ResultCreate) SetAuthorIdNil(b bool)`
453508

454-
SetAuthorIdNil sets the value for AuthorId to be an explicit nil
509+
SetAuthorIdNil sets the value for AuthorId to be an explicit nil
455510

456511
### UnsetAuthorId
512+
457513
`func (o *ResultCreate) UnsetAuthorId()`
458514

459515
UnsetAuthorId ensures that no value is present for AuthorId, not even an explicit nil

qase-api-client/model_result_create.go

Lines changed: 41 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)