@@ -42,9 +42,14 @@ class AnyLike:
4242 "Worklog" ,
4343 "IssueLink" ,
4444 "IssueLinkType" ,
45+ "IssueSecurityLevelScheme" ,
4546 "IssueType" ,
47+ "IssueTypeScheme" ,
48+ "NotificationScheme" ,
4649 "Priority" ,
50+ "PriorityScheme" ,
4751 "Version" ,
52+ "WorkflowScheme" ,
4853 "Role" ,
4954 "Resolution" ,
5055 "SecurityLevel" ,
@@ -820,6 +825,40 @@ def __init__(
820825 self .raw : Dict [str , Any ] = cast (Dict [str , Any ], self .raw )
821826
822827
828+ class IssueTypeScheme (Resource ):
829+ """An issue type scheme."""
830+
831+ def __init__ (self , options , session , raw = None ):
832+ Resource .__init__ (self , "issuetypescheme" , options , session )
833+ if raw :
834+ self ._parse_raw (raw )
835+ self .raw : Dict [str , Any ] = cast (Dict [str , Any ], self .raw )
836+
837+
838+ class IssueSecurityLevelScheme (Resource ):
839+ """IssueSecurityLevelScheme information on an project."""
840+
841+ def __init__ (self , options , session , raw = None ):
842+ Resource .__init__ (
843+ self , "project/{0}/issuesecuritylevelscheme?expand=user" , options , session
844+ )
845+ if raw :
846+ self ._parse_raw (raw )
847+ self .raw : Dict [str , Any ] = cast (Dict [str , Any ], self .raw )
848+
849+
850+ class NotificationScheme (Resource ):
851+ """NotificationScheme information on an project."""
852+
853+ def __init__ (self , options , session , raw = None ):
854+ Resource .__init__ (
855+ self , "project/{0}/notificationscheme?expand=user" , options , session
856+ )
857+ if raw :
858+ self ._parse_raw (raw )
859+ self .raw : Dict [str , Any ] = cast (Dict [str , Any ], self .raw )
860+
861+
823862class PermissionScheme (Resource ):
824863 """Permissionscheme information on an project."""
825864
@@ -832,6 +871,30 @@ def __init__(self, options, session, raw=None):
832871 self .raw : Dict [str , Any ] = cast (Dict [str , Any ], self .raw )
833872
834873
874+ class PriorityScheme (Resource ):
875+ """PriorityScheme information on an project."""
876+
877+ def __init__ (self , options , session , raw = None ):
878+ Resource .__init__ (
879+ self , "project/{0}/priorityscheme?expand=user" , options , session
880+ )
881+ if raw :
882+ self ._parse_raw (raw )
883+ self .raw : Dict [str , Any ] = cast (Dict [str , Any ], self .raw )
884+
885+
886+ class WorkflowScheme (Resource ):
887+ """WorkflowScheme information on an project."""
888+
889+ def __init__ (self , options , session , raw = None ):
890+ Resource .__init__ (
891+ self , "project/{0}/workflowscheme?expand=user" , options , session
892+ )
893+ if raw :
894+ self ._parse_raw (raw )
895+ self .raw : Dict [str , Any ] = cast (Dict [str , Any ], self .raw )
896+
897+
835898class Watchers (Resource ):
836899 """Watcher information on an issue."""
837900
@@ -1428,10 +1491,15 @@ def dict2resource(
14281491 r"issueLink/[^/]+$" : IssueLink ,
14291492 r"issueLinkType/[^/]+$" : IssueLinkType ,
14301493 r"issuetype/[^/]+$" : IssueType ,
1494+ r"issuetypescheme/[^/]+$" : IssueTypeScheme ,
1495+ r"project/[^/]+/issuesecuritylevelscheme[^/]+$" : IssueSecurityLevelScheme ,
1496+ r"project/[^/]+/notificationscheme[^/]+$" : NotificationScheme ,
1497+ r"project/[^/]+/priorityscheme[^/]+$" : PriorityScheme ,
14311498 r"priority/[^/]+$" : Priority ,
14321499 r"project/[^/]+$" : Project ,
14331500 r"project/[^/]+/role/[^/]+$" : Role ,
14341501 r"project/[^/]+/permissionscheme[^/]+$" : PermissionScheme ,
1502+ r"project/[^/]+/workflowscheme[^/]+$" : WorkflowScheme ,
14351503 r"resolution/[^/]+$" : Resolution ,
14361504 r"securitylevel/[^/]+$" : SecurityLevel ,
14371505 r"status/[^/]+$" : Status ,
0 commit comments