Skip to content

Commit

Permalink
🎨 Edited the ProjectPayloadScheme struct
Browse files Browse the repository at this point in the history
1. Added the possibility to set the structures schemes on the project creation.
  • Loading branch information
ctreminiom committed Aug 22, 2023
1 parent f420b22 commit 98a3a32
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions pkg/infra/models/jira_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,23 @@ const (
)

type ProjectPayloadScheme struct {
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"`
NotificationScheme int `json:"notificationScheme,omitempty"`
FieldConfigurationScheme int `json:"fieldConfigurationScheme,omitempty"`
IssueSecurityScheme int `json:"issueSecurityScheme,omitempty"`
PermissionScheme int `json:"permissionScheme,omitempty"`
IssueTypeScheme int `json:"issueTypeScheme,omitempty"`
IssueTypeScreenScheme int `json:"issueTypeScreenScheme,omitempty"`
WorkflowScheme int `json:"workflowScheme,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"`
Name string `json:"name,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 98a3a32

Please sign in to comment.