1+ from typing import Optional
2+
13from box_sdk_gen .internal .base_object import BaseObject
24
35from enum import Enum
46
5- from typing import Optional
6-
77from typing import List
88
99from box_sdk_gen .schemas .file_base import FileBaseTypeField
@@ -50,6 +50,8 @@ def __init__(
5050 can_upload : bool ,
5151 can_view_annotations_all : bool ,
5252 can_view_annotations_self : bool ,
53+ * ,
54+ can_apply_watermark : Optional [bool ] = None ,
5355 ** kwargs
5456 ):
5557 """
@@ -82,6 +84,8 @@ def __init__(
8284 :param can_view_annotations_self: Specifies if the user view annotations placed by themselves
8385 on this file.
8486 :type can_view_annotations_self: bool
87+ :param can_apply_watermark: Specifies if the user can apply a watermark to this file., defaults to None
88+ :type can_apply_watermark: Optional[bool], optional
8589 """
8690 super ().__init__ (** kwargs )
8791 self .can_delete = can_delete
@@ -96,6 +100,7 @@ def __init__(
96100 self .can_upload = can_upload
97101 self .can_view_annotations_all = can_view_annotations_all
98102 self .can_view_annotations_self = can_view_annotations_self
103+ self .can_apply_watermark = can_apply_watermark
99104
100105
101106class FileFullLockTypeField (str , Enum ):
@@ -190,13 +195,26 @@ def __init__(
190195
191196
192197class FileFullWatermarkInfoField (BaseObject ):
193- def __init__ (self , * , is_watermarked : Optional [bool ] = None , ** kwargs ):
198+ def __init__ (
199+ self ,
200+ * ,
201+ is_watermarked : Optional [bool ] = None ,
202+ is_watermark_inherited : Optional [bool ] = None ,
203+ is_watermarked_by_access_policy : Optional [bool ] = None ,
204+ ** kwargs
205+ ):
194206 """
195207 :param is_watermarked: Specifies if this item has a watermark applied., defaults to None
196208 :type is_watermarked: Optional[bool], optional
209+ :param is_watermark_inherited: Specifies if the watermark is inherited from any parent folder in the hierarchy., defaults to None
210+ :type is_watermark_inherited: Optional[bool], optional
211+ :param is_watermarked_by_access_policy: Specifies if the watermark is enforced by an access policy., defaults to None
212+ :type is_watermarked_by_access_policy: Optional[bool], optional
197213 """
198214 super ().__init__ (** kwargs )
199215 self .is_watermarked = is_watermarked
216+ self .is_watermark_inherited = is_watermark_inherited
217+ self .is_watermarked_by_access_policy = is_watermarked_by_access_policy
200218
201219
202220class FileFullAllowedInviteeRolesField (str , Enum ):
0 commit comments