@@ -1835,6 +1835,20 @@ def patch_email_template(self, email_template_id, request):
1835
1835
.patch () \
1836
1836
.go ()
1837
1837
1838
+ def patch_entity (self , entity_id , request ):
1839
+ """
1840
+ Updates, via PATCH, the Entity with the given Id.
1841
+
1842
+ Attributes:
1843
+ entity_id: The Id of the Entity Type to update.
1844
+ request: The request that contains just the new Entity information.
1845
+ """
1846
+ return self .start ().uri ('/api/entity' ) \
1847
+ .url_segment (entity_id ) \
1848
+ .body_handler (JSONBodyHandler (request )) \
1849
+ .patch () \
1850
+ .go ()
1851
+
1838
1852
def patch_entity_type (self , entity_type_id , request ):
1839
1853
"""
1840
1854
Updates, via PATCH, the Entity Type with the given Id.
@@ -1849,6 +1863,51 @@ def patch_entity_type(self, entity_type_id, request):
1849
1863
.patch () \
1850
1864
.go ()
1851
1865
1866
+ def patch_entity_type_permission (self , entity_type_id , permission_id , request ):
1867
+ """
1868
+ Patches the permission with the given Id for the entity type.
1869
+
1870
+ Attributes:
1871
+ entity_type_id: The Id of the entityType that the permission belongs to.
1872
+ permission_id: The Id of the permission to patch.
1873
+ request: The request that contains the new permission information.
1874
+ """
1875
+ return self .start ().uri ('/api/entity/type' ) \
1876
+ .url_segment (entity_type_id ) \
1877
+ .url_segment ("permission" ) \
1878
+ .url_segment (permission_id ) \
1879
+ .body_handler (JSONBodyHandler (request )) \
1880
+ .patch () \
1881
+ .go ()
1882
+
1883
+ def patch_form (self , form_id , request ):
1884
+ """
1885
+ Patches the form with the given Id.
1886
+
1887
+ Attributes:
1888
+ form_id: The Id of the form to patch.
1889
+ request: The request object that contains the new form information.
1890
+ """
1891
+ return self .start ().uri ('/api/form' ) \
1892
+ .url_segment (form_id ) \
1893
+ .body_handler (JSONBodyHandler (request )) \
1894
+ .patch () \
1895
+ .go ()
1896
+
1897
+ def patch_form_field (self , field_id , request ):
1898
+ """
1899
+ Patches the form field with the given Id.
1900
+
1901
+ Attributes:
1902
+ field_id: The Id of the form field to patch.
1903
+ request: The request object that contains the new form field information.
1904
+ """
1905
+ return self .start ().uri ('/api/form/field' ) \
1906
+ .url_segment (field_id ) \
1907
+ .body_handler (JSONBodyHandler (request )) \
1908
+ .patch () \
1909
+ .go ()
1910
+
1852
1911
def patch_group (self , group_id , request ):
1853
1912
"""
1854
1913
Updates, via PATCH, the group with the given Id.
@@ -1863,6 +1922,20 @@ def patch_group(self, group_id, request):
1863
1922
.patch () \
1864
1923
.go ()
1865
1924
1925
+ def patch_ip_access_control_list (self , access_control_list_id , request ):
1926
+ """
1927
+ Update the IP Access Control List with the given Id.
1928
+
1929
+ Attributes:
1930
+ access_control_list_id: The Id of the IP Access Control List to patch.
1931
+ request: The request that contains the new IP Access Control List information.
1932
+ """
1933
+ return self .start ().uri ('/api/ip-acl' ) \
1934
+ .url_segment (access_control_list_id ) \
1935
+ .body_handler (JSONBodyHandler (request )) \
1936
+ .patch () \
1937
+ .go ()
1938
+
1866
1939
def patch_identity_provider (self , identity_provider_id , request ):
1867
1940
"""
1868
1941
Updates, via PATCH, the identity provider with the given Id.
@@ -2058,6 +2131,20 @@ def patch_user_consent(self, user_consent_id, request):
2058
2131
.patch () \
2059
2132
.go ()
2060
2133
2134
+ def patch_webhook (self , webhook_id , request ):
2135
+ """
2136
+ Patches the webhook with the given Id.
2137
+
2138
+ Attributes:
2139
+ webhook_id: The Id of the webhook to update.
2140
+ request: The request that contains the new webhook information.
2141
+ """
2142
+ return self .start ().uri ('/api/webhook' ) \
2143
+ .url_segment (webhook_id ) \
2144
+ .body_handler (JSONBodyHandler (request )) \
2145
+ .patch () \
2146
+ .go ()
2147
+
2061
2148
def reactivate_application (self , application_id ):
2062
2149
"""
2063
2150
Reactivates the application with the given Id.
@@ -4299,6 +4386,20 @@ def update_entity_type_permission(self, entity_type_id, permission_id, request):
4299
4386
.put () \
4300
4387
.go ()
4301
4388
4389
+ def update_family (self , family_id , request ):
4390
+ """
4391
+ Updates a family with a given Id.
4392
+
4393
+ Attributes:
4394
+ family_id: The Id of the family to update.
4395
+ request: The request object that contains all the new family information.
4396
+ """
4397
+ return self .start ().uri ('/api/user/family' ) \
4398
+ .url_segment (family_id ) \
4399
+ .body_handler (JSONBodyHandler (request )) \
4400
+ .put () \
4401
+ .go ()
4402
+
4302
4403
def update_form (self , form_id , request ):
4303
4404
"""
4304
4405
Updates the form with the given Id.
0 commit comments