Skip to content

Commit

Permalink
Merge pull request #195 from ctreminiom/feature/project-create-payload
Browse files Browse the repository at this point in the history
🎨 Added the omitempty tag on the ProjectPayloadScheme payload sch…
  • Loading branch information
ctreminiom authored May 8, 2023
2 parents b63ab70 + 1a1b75e commit a5f1d85
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions pkg/infra/models/jira_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ const (
)

type ProjectPayloadScheme struct {
NotificationScheme int `json:"notificationScheme"`
Description string `json:"description"`
LeadAccountID string `json:"leadAccountId"`
URL string `json:"url"`
ProjectTemplateKey string `json:"projectTemplateKey"`
AvatarID int `json:"avatarId"`
IssueSecurityScheme int `json:"issueSecurityScheme"`
Name string `json:"name"`
PermissionScheme int `json:"permissionScheme"`
AssigneeType string `json:"assigneeType"`
ProjectTypeKey string `json:"projectTypeKey"`
Key string `json:"key"`
CategoryID int `json:"categoryId"`
NotificationScheme int `json:"notificationScheme,omitempty"`
Description string `json:"description,omitempty"`
LeadAccountID string `json:"leadAccountId,omitempty"`
URL string `json:"url,omitempty"`
ProjectTemplateKey string `json:"projectTemplateKey,omitempty"`
AvatarID int `json:"avatarId,omitempty"`
IssueSecurityScheme int `json:"issueSecurityScheme,omitempty"`
Name string `json:"name,omitempty"`
PermissionScheme int `json:"permissionScheme,omitempty"`
AssigneeType string `json:"assigneeType,omitempty"`
ProjectTypeKey string `json:"projectTypeKey,omitempty"`
Key string `json:"key,omitempty"`
CategoryID int `json:"categoryId,omitempty"`
}

type NewProjectCreatedScheme struct {
Expand Down

0 comments on commit a5f1d85

Please sign in to comment.