Skip to content

Commit

Permalink
fix: Update storage policy assignments (box/box-openapi#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build committed Jan 24, 2024
1 parent d41caba commit f0b90a4
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 34 deletions.
1 change: 1 addition & 0 deletions .codegen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "engineHash": "b380b30", "specHash": "6774708" }
6 changes: 2 additions & 4 deletions docs/avatars.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ client.avatars.create_user_avatar(user_id=user.id, pic=decode_base_64_byte_strea
- The ID of the user. Example: "12345"
- pic `ByteStream`
- The image file to be uploaded to Box. Accepted file extensions are `.jpg` or `.png`. The maximum file size is 1MB.
- pic_file_name `Optional[str]`
-
- pic_content_type `Optional[str]`
-
- ## pic_file_name `Optional[str]`
- ## pic_content_type `Optional[str]`
- extra_headers `Optional[Dict[str, Optional[str]]]`
- Extra headers that will be included in the HTTP request.

Expand Down
6 changes: 2 additions & 4 deletions docs/chunked_uploads.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,8 @@ _Currently we don't have an example for calling `reducer` in integration tests_

### Arguments

- acc `PartAccumulator`
-
- chunk `ByteStream`
-
- ## acc `PartAccumulator`
- ## chunk `ByteStream`

### Returns

Expand Down
15 changes: 5 additions & 10 deletions docs/integration_mappings.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,9 @@ user_client.integration_mappings.create_slack_integration_mapping(partner_item=I

### Arguments

- partner_item `IntegrationMappingPartnerItemSlack`
-
- box_item `IntegrationMappingBoxItemSlack`
-
- options `Optional[IntegrationMappingSlackOptions]`
-
- ## partner_item `IntegrationMappingPartnerItemSlack`
- ## box_item `IntegrationMappingBoxItemSlack`
- ## options `Optional[IntegrationMappingSlackOptions]`
- extra_headers `Optional[Dict[str, Optional[str]]]`
- Extra headers that will be included in the HTTP request.

Expand Down Expand Up @@ -103,10 +100,8 @@ _Currently we don't have an example for calling `update_slack_integration_mappin

- integration_mapping_id `str`
- An ID of an integration mapping Example: "11235432"
- box_item `Optional[IntegrationMappingBoxItemSlack]`
-
- options `Optional[IntegrationMappingSlackOptions]`
-
- ## box_item `Optional[IntegrationMappingBoxItemSlack]`
- ## options `Optional[IntegrationMappingSlackOptions]`
- extra_headers `Optional[Dict[str, Optional[str]]]`
- Extra headers that will be included in the HTTP request.

Expand Down
3 changes: 1 addition & 2 deletions docs/shield_information_barrier_reports.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ client.shield_information_barrier_reports.create_shield_information_barrier_repo

### Arguments

- shield_information_barrier `Optional[ShieldInformationBarrierBase]`
-
- ## shield_information_barrier `Optional[ShieldInformationBarrierBase]`
- extra_headers `Optional[Dict[str, Optional[str]]]`
- Extra headers that will be included in the HTTP request.

Expand Down
3 changes: 1 addition & 2 deletions docs/shield_information_barrier_segment_members.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ client.shield_information_barrier_segment_members.create_shield_information_barr

- type `Optional[CreateShieldInformationBarrierSegmentMemberType]`
- -| A type of the shield barrier segment member.
- shield_information_barrier `Optional[ShieldInformationBarrierBase]`
-
- ## shield_information_barrier `Optional[ShieldInformationBarrierBase]`
- shield_information_barrier_segment `CreateShieldInformationBarrierSegmentMemberShieldInformationBarrierSegment`
- The `type` and `id` of the requested shield information barrier segment.
- user `UserBase`
Expand Down
3 changes: 1 addition & 2 deletions docs/shield_information_barrier_segment_restrictions.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ client.shield_information_barrier_segment_restrictions.create_shield_information

- type `CreateShieldInformationBarrierSegmentRestrictionType`
- The type of the shield barrier segment restriction for this member.
- shield_information_barrier `Optional[ShieldInformationBarrierBase]`
-
- ## shield_information_barrier `Optional[ShieldInformationBarrierBase]`
- shield_information_barrier_segment `CreateShieldInformationBarrierSegmentRestrictionShieldInformationBarrierSegment`
- The `type` and `id` of the requested shield information barrier segment.
- restricted_segment `CreateShieldInformationBarrierSegmentRestrictionRestrictedSegment`
Expand Down
3 changes: 1 addition & 2 deletions docs/shield_information_barrier_segments.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ client.shield_information_barrier_segments.create_shield_information_barrier_seg

### Arguments

- shield_information_barrier `ShieldInformationBarrierBase`
-
- ## shield_information_barrier `ShieldInformationBarrierBase`
- name `str`
- Name of the shield information barrier segment
- description `Optional[str]`
Expand Down
3 changes: 1 addition & 2 deletions docs/trashed_files.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ client.trashed_files.restore_file_from_trash(file_id=file.id)
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
- name `Optional[str]`
- An optional new name for the file.
- parent `Optional[RestoreFileFromTrashParent]`
-
- ## parent `Optional[RestoreFileFromTrashParent]`
- fields `Optional[List[str]]`
- A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
- extra_headers `Optional[Dict[str, Optional[str]]]`
Expand Down
3 changes: 1 addition & 2 deletions docs/trashed_folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ client.trashed_folders.restore_folder_from_trash(folder_id=folder.id)
- The unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`. Example: "12345"
- name `Optional[str]`
- An optional new name for the folder.
- parent `Optional[RestoreFolderFromTrashParent]`
-
- ## parent `Optional[RestoreFolderFromTrashParent]`
- fields `Optional[List[str]]`
- A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
- extra_headers `Optional[Dict[str, Optional[str]]]`
Expand Down
3 changes: 1 addition & 2 deletions docs/trashed_web_links.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ client.trashed_web_links.restore_weblink_from_trash(web_link_id=weblink.id)
- The ID of the web link. Example: "12345"
- name `Optional[str]`
- An optional new name for the web link.
- parent `Optional[RestoreWeblinkFromTrashParent]`
-
- ## parent `Optional[RestoreWeblinkFromTrashParent]`
- fields `Optional[List[str]]`
- A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
- extra_headers `Optional[Dict[str, Optional[str]]]`
Expand Down
3 changes: 1 addition & 2 deletions docs/web_links.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ client.web_links.update_web_link_by_id(web_link_id=weblink.id, name=updated_name
- The ID of the web link. Example: "12345"
- url `Optional[str]`
- The new URL that the web link links to. Must start with `"http://"` or `"https://"`.
- parent `Optional[UpdateWebLinkByIdParent]`
-
- ## parent `Optional[UpdateWebLinkByIdParent]`
- name `Optional[str]`
- A new name for the web link. Defaults to the URL if not set.
- description `Optional[str]`
Expand Down

0 comments on commit f0b90a4

Please sign in to comment.