Skip to content

Commit

Permalink
Merge pull request ctreminiom#238 from ctreminiom/feature/project-cre…
Browse files Browse the repository at this point in the history
…ate-payload

🎨 Edited the ProjectPayloadScheme struct
  • Loading branch information
ctreminiom authored Aug 23, 2023
2 parents f420b22 + 98a3a32 commit 737307d
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 737307d

Please sign in to comment.