@@ -42,9 +42,14 @@ class AnyLike:
42
42
"Worklog" ,
43
43
"IssueLink" ,
44
44
"IssueLinkType" ,
45
+ "IssueSecurityLevelScheme" ,
45
46
"IssueType" ,
47
+ "IssueTypeScheme" ,
48
+ "NotificationScheme" ,
46
49
"Priority" ,
50
+ "PriorityScheme" ,
47
51
"Version" ,
52
+ "WorkflowScheme" ,
48
53
"Role" ,
49
54
"Resolution" ,
50
55
"SecurityLevel" ,
@@ -820,6 +825,40 @@ def __init__(
820
825
self .raw : Dict [str , Any ] = cast (Dict [str , Any ], self .raw )
821
826
822
827
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
+
823
862
class PermissionScheme (Resource ):
824
863
"""Permissionscheme information on an project."""
825
864
@@ -832,6 +871,30 @@ def __init__(self, options, session, raw=None):
832
871
self .raw : Dict [str , Any ] = cast (Dict [str , Any ], self .raw )
833
872
834
873
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
+
835
898
class Watchers (Resource ):
836
899
"""Watcher information on an issue."""
837
900
@@ -1428,10 +1491,15 @@ def dict2resource(
1428
1491
r"issueLink/[^/]+$" : IssueLink ,
1429
1492
r"issueLinkType/[^/]+$" : IssueLinkType ,
1430
1493
r"issuetype/[^/]+$" : IssueType ,
1494
+ r"issuetypescheme/[^/]+$" : IssueTypeScheme ,
1495
+ r"project/[^/]+/issuesecuritylevelscheme[^/]+$" : IssueSecurityLevelScheme ,
1496
+ r"project/[^/]+/notificationscheme[^/]+$" : NotificationScheme ,
1497
+ r"project/[^/]+/priorityscheme[^/]+$" : PriorityScheme ,
1431
1498
r"priority/[^/]+$" : Priority ,
1432
1499
r"project/[^/]+$" : Project ,
1433
1500
r"project/[^/]+/role/[^/]+$" : Role ,
1434
1501
r"project/[^/]+/permissionscheme[^/]+$" : PermissionScheme ,
1502
+ r"project/[^/]+/workflowscheme[^/]+$" : WorkflowScheme ,
1435
1503
r"resolution/[^/]+$" : Resolution ,
1436
1504
r"securitylevel/[^/]+$" : SecurityLevel ,
1437
1505
r"status/[^/]+$" : Status ,
0 commit comments