Skip to content

Commit

Permalink
Add custom_test_description to SendableCase for issue 18
Browse files Browse the repository at this point in the history
  • Loading branch information
educlos committed May 18, 2019
1 parent 363fd95 commit 488f9e3
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions case.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,25 @@ type RequestFilterForCases struct {
// SendableCase represents a Test Case
// that can be created or updated via the api
type SendableCase struct {
Title string `json:"title"`
TypeID int `json:"type_id,omitempty"`
PriorityID int `json:"priority_id,omitempty"`
Estimate string `json:"estimate,omitempty"`
MilestoneID int `json:"milestone_id,omitempty"`
Refs string `json:"refs,omitempty"`
Checkbox bool `json:"custom_checkbox,omitempty"`
Date string `json:"custom_date,omitempty"`
Dropdown int `json:"custom_dropdown,omitempty"`
Integer int `json:"custom_integer,omitempty"`
Milestone int `json:"custom_milestone,omitempty"`
MultiSelect []int `json:"custom_multi-select,omitempty"`
Steps []CustomStep `json:"custom_steps,omitempty"`
String string `json:"custom_string,omitempty"`
TemplateId int `json:"template_id,omitempty"`
Text string `json:"custom_text,omitempty"`
URL string `json:"custom_url,omitempty"`
User int `json:"custom_user,omitempty"`
Title string `json:"title"`
TypeID int `json:"type_id,omitempty"`
PriorityID int `json:"priority_id,omitempty"`
Estimate string `json:"estimate,omitempty"`
MilestoneID int `json:"milestone_id,omitempty"`
Refs string `json:"refs,omitempty"`
Checkbox bool `json:"custom_checkbox,omitempty"`
Date string `json:"custom_date,omitempty"`
Dropdown int `json:"custom_dropdown,omitempty"`
Integer int `json:"custom_integer,omitempty"`
Milestone int `json:"custom_milestone,omitempty"`
MultiSelect []int `json:"custom_multi-select,omitempty"`
Steps []CustomStep `json:"custom_steps,omitempty"`
String string `json:"custom_string,omitempty"`
TemplateId int `json:"template_id,omitempty"`
TestDescription string `json:"custom_test_description,omitempty"`
Text string `json:"custom_text,omitempty"`
URL string `json:"custom_url,omitempty"`
User int `json:"custom_user,omitempty"`
}

// GetCase returns the existing Test Case caseID
Expand Down

0 comments on commit 488f9e3

Please sign in to comment.