Skip to content

Commit

Permalink
feat: add documentation to folder resource (box/box-openapi#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build committed May 9, 2024
1 parent 8a6f365 commit 6a61b7e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "c70ff82", "specHash": "f7e92ba", "version": "0.3.0" }
{ "engineHash": "c70ff82", "specHash": "d5769a1", "version": "0.3.0" }
2 changes: 1 addition & 1 deletion Box.Sdk.Gen/Managers/Search/SearchForContentQueryParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public class SearchForContentQueryParams {
/// <summary>
/// Limits the search results to any items for which the metadata matches the provided filter.
/// This parameter is a list that specifies exactly **one** metadata template used to filter the search results.
/// It is required unless the `query` parameter is provided.
/// It unless the `query` parameter is provided.
/// </summary>
public IReadOnlyList<MetadataFilter>? Mdfilters { get; set; } = default;

Expand Down
9 changes: 9 additions & 0 deletions Box.Sdk.Gen/Schemas/Folder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ public class Folder : FolderMini {
[JsonPropertyName("shared_link")]
public FolderSharedLinkField? SharedLink { get; set; } = default;

/// <summary>
/// The `folder_upload_email` parameter is not `null` if one of the following options is **true**:
///
/// * The **Allow uploads to this folder via email** and the **Only allow email uploads from collaborators in this folder** are [enabled for a folder in the Admin Console](https://support.box.com/hc/en-us/articles/360043697534-Upload-to-Box-Through-Email), and the user has at least **Upload** permissions granted.
///
/// * The **Allow uploads to this folder via email** setting is enabled for a folder in the Admin Console, and the **Only allow email uploads from collaborators in this folder** setting is deactivated (unchecked).
///
/// If the conditions are not met, the parameter will have the following value: `folder_upload_email: null`
/// </summary>
[JsonPropertyName("folder_upload_email")]
public FolderFolderUploadEmailField? FolderUploadEmail { get; set; } = default;

Expand Down

0 comments on commit 6a61b7e

Please sign in to comment.