files-com 1.6.49__tar.gz → 1.6.51__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of files-com might be problematic. Click here for more details.

Files changed (231) hide show
  1. {files_com-1.6.49/files_com.egg-info → files_com-1.6.51}/PKG-INFO +1 -1
  2. files_com-1.6.51/_VERSION +1 -0
  3. {files_com-1.6.49 → files_com-1.6.51/files_com.egg-info}/PKG-INFO +1 -1
  4. {files_com-1.6.49 → files_com-1.6.51}/files_com.egg-info/SOURCES.txt +2 -0
  5. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/__init__.py +5 -1
  6. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/__init__.py +3 -0
  7. files_com-1.6.51/files_sdk/models/child_site_management_policy.py +276 -0
  8. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/remote_server_configuration_file.py +1 -1
  9. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/siem_http_destination.py +16 -16
  10. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/site.py +1 -0
  11. {files_com-1.6.49 → files_com-1.6.51}/pyproject.toml +1 -1
  12. files_com-1.6.51/tests/test_child_site_management_policy.py +73 -0
  13. files_com-1.6.49/_VERSION +0 -1
  14. {files_com-1.6.49 → files_com-1.6.51}/LICENSE +0 -0
  15. {files_com-1.6.49 → files_com-1.6.51}/README.md +0 -0
  16. {files_com-1.6.49 → files_com-1.6.51}/files_com.egg-info/dependency_links.txt +0 -0
  17. {files_com-1.6.49 → files_com-1.6.51}/files_com.egg-info/requires.txt +0 -0
  18. {files_com-1.6.49 → files_com-1.6.51}/files_com.egg-info/top_level.txt +0 -0
  19. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/api.py +0 -0
  20. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/api_client.py +0 -0
  21. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/error.py +0 -0
  22. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/list_obj.py +0 -0
  23. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/account_line_item.py +0 -0
  24. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/action.py +0 -0
  25. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/action_notification_export.py +0 -0
  26. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/action_notification_export_result.py +0 -0
  27. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/api_key.py +0 -0
  28. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/api_request_log.py +0 -0
  29. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/app.py +0 -0
  30. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/as2_incoming_message.py +0 -0
  31. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/as2_outgoing_message.py +0 -0
  32. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/as2_partner.py +0 -0
  33. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/as2_station.py +0 -0
  34. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/auto.py +0 -0
  35. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/automation.py +0 -0
  36. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/automation_log.py +0 -0
  37. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/automation_run.py +0 -0
  38. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/bandwidth_snapshot.py +0 -0
  39. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/behavior.py +0 -0
  40. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/bundle.py +0 -0
  41. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/bundle_action.py +0 -0
  42. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/bundle_download.py +0 -0
  43. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/bundle_notification.py +0 -0
  44. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/bundle_path.py +0 -0
  45. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/bundle_recipient.py +0 -0
  46. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/bundle_registration.py +0 -0
  47. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/clickwrap.py +0 -0
  48. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/dns_record.py +0 -0
  49. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/email_incoming_message.py +0 -0
  50. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/email_log.py +0 -0
  51. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/errors.py +0 -0
  52. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/exavault_api_request_log.py +0 -0
  53. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/external_event.py +0 -0
  54. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/file.py +0 -0
  55. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/file_action.py +0 -0
  56. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/file_comment.py +0 -0
  57. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/file_comment_reaction.py +0 -0
  58. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/file_migration.py +0 -0
  59. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/file_migration_log.py +0 -0
  60. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/file_upload_part.py +0 -0
  61. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/folder.py +0 -0
  62. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/form_field.py +0 -0
  63. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/form_field_set.py +0 -0
  64. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/ftp_action_log.py +0 -0
  65. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/gpg_key.py +0 -0
  66. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/group.py +0 -0
  67. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/group_user.py +0 -0
  68. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/history.py +0 -0
  69. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/history_export.py +0 -0
  70. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/history_export_result.py +0 -0
  71. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/holiday_region.py +0 -0
  72. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/image.py +0 -0
  73. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/inbox_recipient.py +0 -0
  74. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/inbox_registration.py +0 -0
  75. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/inbox_upload.py +0 -0
  76. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/invoice.py +0 -0
  77. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/invoice_line_item.py +0 -0
  78. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/ip_address.py +0 -0
  79. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/lock.py +0 -0
  80. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/message.py +0 -0
  81. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/message_comment.py +0 -0
  82. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/message_comment_reaction.py +0 -0
  83. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/message_reaction.py +0 -0
  84. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/notification.py +0 -0
  85. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/outbound_connection_log.py +0 -0
  86. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/payment.py +0 -0
  87. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/payment_line_item.py +0 -0
  88. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/permission.py +0 -0
  89. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/preview.py +0 -0
  90. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/priority.py +0 -0
  91. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/project.py +0 -0
  92. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/public_hosting_request_log.py +0 -0
  93. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/public_ip_address.py +0 -0
  94. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/public_key.py +0 -0
  95. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  96. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/remote_mount_backend.py +0 -0
  97. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/remote_server.py +0 -0
  98. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/request.py +0 -0
  99. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/restore.py +0 -0
  100. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/session.py +0 -0
  101. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/settings_change.py +0 -0
  102. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/sftp_action_log.py +0 -0
  103. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/sftp_host_key.py +0 -0
  104. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/share_group.py +0 -0
  105. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/share_group_member.py +0 -0
  106. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/snapshot.py +0 -0
  107. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/sso_strategy.py +0 -0
  108. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/status.py +0 -0
  109. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/style.py +0 -0
  110. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/sync.py +0 -0
  111. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/sync_log.py +0 -0
  112. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/sync_run.py +0 -0
  113. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/usage_by_top_level_dir.py +0 -0
  114. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/usage_daily_snapshot.py +0 -0
  115. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/usage_snapshot.py +0 -0
  116. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/user.py +0 -0
  117. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/user_cipher_use.py +0 -0
  118. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/user_lifecycle_rule.py +0 -0
  119. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/user_request.py +0 -0
  120. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/user_sftp_client_use.py +0 -0
  121. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/web_dav_action_log.py +0 -0
  122. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/models/webhook_test.py +0 -0
  123. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/path_util.py +0 -0
  124. {files_com-1.6.49 → files_com-1.6.51}/files_sdk/util.py +0 -0
  125. {files_com-1.6.49 → files_com-1.6.51}/setup.cfg +0 -0
  126. {files_com-1.6.49 → files_com-1.6.51}/tests/test_account_line_item.py +0 -0
  127. {files_com-1.6.49 → files_com-1.6.51}/tests/test_action.py +0 -0
  128. {files_com-1.6.49 → files_com-1.6.51}/tests/test_action_notification_export.py +0 -0
  129. {files_com-1.6.49 → files_com-1.6.51}/tests/test_action_notification_export_result.py +0 -0
  130. {files_com-1.6.49 → files_com-1.6.51}/tests/test_api_errors.py +0 -0
  131. {files_com-1.6.49 → files_com-1.6.51}/tests/test_api_key.py +0 -0
  132. {files_com-1.6.49 → files_com-1.6.51}/tests/test_api_request_log.py +0 -0
  133. {files_com-1.6.49 → files_com-1.6.51}/tests/test_app.py +0 -0
  134. {files_com-1.6.49 → files_com-1.6.51}/tests/test_as2_incoming_message.py +0 -0
  135. {files_com-1.6.49 → files_com-1.6.51}/tests/test_as2_outgoing_message.py +0 -0
  136. {files_com-1.6.49 → files_com-1.6.51}/tests/test_as2_partner.py +0 -0
  137. {files_com-1.6.49 → files_com-1.6.51}/tests/test_as2_station.py +0 -0
  138. {files_com-1.6.49 → files_com-1.6.51}/tests/test_auto.py +0 -0
  139. {files_com-1.6.49 → files_com-1.6.51}/tests/test_automation.py +0 -0
  140. {files_com-1.6.49 → files_com-1.6.51}/tests/test_automation_log.py +0 -0
  141. {files_com-1.6.49 → files_com-1.6.51}/tests/test_automation_run.py +0 -0
  142. {files_com-1.6.49 → files_com-1.6.51}/tests/test_bandwidth_snapshot.py +0 -0
  143. {files_com-1.6.49 → files_com-1.6.51}/tests/test_behavior.py +0 -0
  144. {files_com-1.6.49 → files_com-1.6.51}/tests/test_bundle.py +0 -0
  145. {files_com-1.6.49 → files_com-1.6.51}/tests/test_bundle_action.py +0 -0
  146. {files_com-1.6.49 → files_com-1.6.51}/tests/test_bundle_download.py +0 -0
  147. {files_com-1.6.49 → files_com-1.6.51}/tests/test_bundle_notification.py +0 -0
  148. {files_com-1.6.49 → files_com-1.6.51}/tests/test_bundle_path.py +0 -0
  149. {files_com-1.6.49 → files_com-1.6.51}/tests/test_bundle_recipient.py +0 -0
  150. {files_com-1.6.49 → files_com-1.6.51}/tests/test_bundle_registration.py +0 -0
  151. {files_com-1.6.49 → files_com-1.6.51}/tests/test_clickwrap.py +0 -0
  152. {files_com-1.6.49 → files_com-1.6.51}/tests/test_connection_adapter.py +0 -0
  153. {files_com-1.6.49 → files_com-1.6.51}/tests/test_dns_record.py +0 -0
  154. {files_com-1.6.49 → files_com-1.6.51}/tests/test_email_incoming_message.py +0 -0
  155. {files_com-1.6.49 → files_com-1.6.51}/tests/test_email_log.py +0 -0
  156. {files_com-1.6.49 → files_com-1.6.51}/tests/test_errors.py +0 -0
  157. {files_com-1.6.49 → files_com-1.6.51}/tests/test_exavault_api_request_log.py +0 -0
  158. {files_com-1.6.49 → files_com-1.6.51}/tests/test_external_event.py +0 -0
  159. {files_com-1.6.49 → files_com-1.6.51}/tests/test_file.py +0 -0
  160. {files_com-1.6.49 → files_com-1.6.51}/tests/test_file_action.py +0 -0
  161. {files_com-1.6.49 → files_com-1.6.51}/tests/test_file_comment.py +0 -0
  162. {files_com-1.6.49 → files_com-1.6.51}/tests/test_file_comment_reaction.py +0 -0
  163. {files_com-1.6.49 → files_com-1.6.51}/tests/test_file_migration.py +0 -0
  164. {files_com-1.6.49 → files_com-1.6.51}/tests/test_file_migration_log.py +0 -0
  165. {files_com-1.6.49 → files_com-1.6.51}/tests/test_file_upload_part.py +0 -0
  166. {files_com-1.6.49 → files_com-1.6.51}/tests/test_folder.py +0 -0
  167. {files_com-1.6.49 → files_com-1.6.51}/tests/test_form_field.py +0 -0
  168. {files_com-1.6.49 → files_com-1.6.51}/tests/test_form_field_set.py +0 -0
  169. {files_com-1.6.49 → files_com-1.6.51}/tests/test_ftp_action_log.py +0 -0
  170. {files_com-1.6.49 → files_com-1.6.51}/tests/test_gpg_key.py +0 -0
  171. {files_com-1.6.49 → files_com-1.6.51}/tests/test_group.py +0 -0
  172. {files_com-1.6.49 → files_com-1.6.51}/tests/test_group_user.py +0 -0
  173. {files_com-1.6.49 → files_com-1.6.51}/tests/test_history.py +0 -0
  174. {files_com-1.6.49 → files_com-1.6.51}/tests/test_history_export.py +0 -0
  175. {files_com-1.6.49 → files_com-1.6.51}/tests/test_history_export_result.py +0 -0
  176. {files_com-1.6.49 → files_com-1.6.51}/tests/test_holiday_region.py +0 -0
  177. {files_com-1.6.49 → files_com-1.6.51}/tests/test_image.py +0 -0
  178. {files_com-1.6.49 → files_com-1.6.51}/tests/test_inbox_recipient.py +0 -0
  179. {files_com-1.6.49 → files_com-1.6.51}/tests/test_inbox_registration.py +0 -0
  180. {files_com-1.6.49 → files_com-1.6.51}/tests/test_inbox_upload.py +0 -0
  181. {files_com-1.6.49 → files_com-1.6.51}/tests/test_invoice.py +0 -0
  182. {files_com-1.6.49 → files_com-1.6.51}/tests/test_invoice_line_item.py +0 -0
  183. {files_com-1.6.49 → files_com-1.6.51}/tests/test_ip_address.py +0 -0
  184. {files_com-1.6.49 → files_com-1.6.51}/tests/test_lock.py +0 -0
  185. {files_com-1.6.49 → files_com-1.6.51}/tests/test_message.py +0 -0
  186. {files_com-1.6.49 → files_com-1.6.51}/tests/test_message_comment.py +0 -0
  187. {files_com-1.6.49 → files_com-1.6.51}/tests/test_message_comment_reaction.py +0 -0
  188. {files_com-1.6.49 → files_com-1.6.51}/tests/test_message_reaction.py +0 -0
  189. {files_com-1.6.49 → files_com-1.6.51}/tests/test_notification.py +0 -0
  190. {files_com-1.6.49 → files_com-1.6.51}/tests/test_outbound_connection_log.py +0 -0
  191. {files_com-1.6.49 → files_com-1.6.51}/tests/test_path_util.py +0 -0
  192. {files_com-1.6.49 → files_com-1.6.51}/tests/test_payment.py +0 -0
  193. {files_com-1.6.49 → files_com-1.6.51}/tests/test_payment_line_item.py +0 -0
  194. {files_com-1.6.49 → files_com-1.6.51}/tests/test_permission.py +0 -0
  195. {files_com-1.6.49 → files_com-1.6.51}/tests/test_preview.py +0 -0
  196. {files_com-1.6.49 → files_com-1.6.51}/tests/test_priority.py +0 -0
  197. {files_com-1.6.49 → files_com-1.6.51}/tests/test_project.py +0 -0
  198. {files_com-1.6.49 → files_com-1.6.51}/tests/test_public_hosting_request_log.py +0 -0
  199. {files_com-1.6.49 → files_com-1.6.51}/tests/test_public_ip_address.py +0 -0
  200. {files_com-1.6.49 → files_com-1.6.51}/tests/test_public_key.py +0 -0
  201. {files_com-1.6.49 → files_com-1.6.51}/tests/test_remote_bandwidth_snapshot.py +0 -0
  202. {files_com-1.6.49 → files_com-1.6.51}/tests/test_remote_mount_backend.py +0 -0
  203. {files_com-1.6.49 → files_com-1.6.51}/tests/test_remote_server.py +0 -0
  204. {files_com-1.6.49 → files_com-1.6.51}/tests/test_remote_server_configuration_file.py +0 -0
  205. {files_com-1.6.49 → files_com-1.6.51}/tests/test_request.py +0 -0
  206. {files_com-1.6.49 → files_com-1.6.51}/tests/test_restore.py +0 -0
  207. {files_com-1.6.49 → files_com-1.6.51}/tests/test_session.py +0 -0
  208. {files_com-1.6.49 → files_com-1.6.51}/tests/test_settings_change.py +0 -0
  209. {files_com-1.6.49 → files_com-1.6.51}/tests/test_sftp_action_log.py +0 -0
  210. {files_com-1.6.49 → files_com-1.6.51}/tests/test_sftp_host_key.py +0 -0
  211. {files_com-1.6.49 → files_com-1.6.51}/tests/test_share_group.py +0 -0
  212. {files_com-1.6.49 → files_com-1.6.51}/tests/test_share_group_member.py +0 -0
  213. {files_com-1.6.49 → files_com-1.6.51}/tests/test_siem_http_destination.py +0 -0
  214. {files_com-1.6.49 → files_com-1.6.51}/tests/test_site.py +0 -0
  215. {files_com-1.6.49 → files_com-1.6.51}/tests/test_snapshot.py +0 -0
  216. {files_com-1.6.49 → files_com-1.6.51}/tests/test_sso_strategy.py +0 -0
  217. {files_com-1.6.49 → files_com-1.6.51}/tests/test_status.py +0 -0
  218. {files_com-1.6.49 → files_com-1.6.51}/tests/test_style.py +0 -0
  219. {files_com-1.6.49 → files_com-1.6.51}/tests/test_sync.py +0 -0
  220. {files_com-1.6.49 → files_com-1.6.51}/tests/test_sync_log.py +0 -0
  221. {files_com-1.6.49 → files_com-1.6.51}/tests/test_sync_run.py +0 -0
  222. {files_com-1.6.49 → files_com-1.6.51}/tests/test_usage_by_top_level_dir.py +0 -0
  223. {files_com-1.6.49 → files_com-1.6.51}/tests/test_usage_daily_snapshot.py +0 -0
  224. {files_com-1.6.49 → files_com-1.6.51}/tests/test_usage_snapshot.py +0 -0
  225. {files_com-1.6.49 → files_com-1.6.51}/tests/test_user.py +0 -0
  226. {files_com-1.6.49 → files_com-1.6.51}/tests/test_user_cipher_use.py +0 -0
  227. {files_com-1.6.49 → files_com-1.6.51}/tests/test_user_lifecycle_rule.py +0 -0
  228. {files_com-1.6.49 → files_com-1.6.51}/tests/test_user_request.py +0 -0
  229. {files_com-1.6.49 → files_com-1.6.51}/tests/test_user_sftp_client_use.py +0 -0
  230. {files_com-1.6.49 → files_com-1.6.51}/tests/test_web_dav_action_log.py +0 -0
  231. {files_com-1.6.49 → files_com-1.6.51}/tests/test_webhook_test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.49
3
+ Version: 1.6.51
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -0,0 +1 @@
1
+ 1.6.51
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.49
3
+ Version: 1.6.51
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -40,6 +40,7 @@ files_sdk/models/bundle_notification.py
40
40
  files_sdk/models/bundle_path.py
41
41
  files_sdk/models/bundle_recipient.py
42
42
  files_sdk/models/bundle_registration.py
43
+ files_sdk/models/child_site_management_policy.py
43
44
  files_sdk/models/clickwrap.py
44
45
  files_sdk/models/dns_record.py
45
46
  files_sdk/models/email_incoming_message.py
@@ -144,6 +145,7 @@ tests/test_bundle_notification.py
144
145
  tests/test_bundle_path.py
145
146
  tests/test_bundle_recipient.py
146
147
  tests/test_bundle_registration.py
148
+ tests/test_child_site_management_policy.py
147
149
  tests/test_clickwrap.py
148
150
  tests/test_connection_adapter.py
149
151
  tests/test_dns_record.py
@@ -23,6 +23,7 @@ import files_sdk.models.bundle_notification as bundle_notification
23
23
  import files_sdk.models.bundle_path as bundle_path
24
24
  import files_sdk.models.bundle_recipient as bundle_recipient
25
25
  import files_sdk.models.bundle_registration as bundle_registration
26
+ import files_sdk.models.child_site_management_policy as child_site_management_policy
26
27
  import files_sdk.models.clickwrap as clickwrap
27
28
  import files_sdk.models.dns_record as dns_record
28
29
  import files_sdk.models.email_incoming_message as email_incoming_message
@@ -131,6 +132,9 @@ from files_sdk.models.bundle_notification import BundleNotification
131
132
  from files_sdk.models.bundle_path import BundlePath
132
133
  from files_sdk.models.bundle_recipient import BundleRecipient
133
134
  from files_sdk.models.bundle_registration import BundleRegistration
135
+ from files_sdk.models.child_site_management_policy import (
136
+ ChildSiteManagementPolicy,
137
+ )
134
138
  from files_sdk.models.clickwrap import Clickwrap
135
139
  from files_sdk.models.dns_record import DnsRecord
136
140
  from files_sdk.models.email_incoming_message import EmailIncomingMessage
@@ -223,7 +227,7 @@ session_id = None
223
227
  source_ip = None
224
228
  base_url = "https://app.files.com"
225
229
  base_path = "api/rest/v1"
226
- version = "1.6.49"
230
+ version = "1.6.51"
227
231
 
228
232
  __version__ = version
229
233
 
@@ -26,6 +26,9 @@ from files_sdk.models.bundle_notification import BundleNotification
26
26
  from files_sdk.models.bundle_path import BundlePath
27
27
  from files_sdk.models.bundle_recipient import BundleRecipient
28
28
  from files_sdk.models.bundle_registration import BundleRegistration
29
+ from files_sdk.models.child_site_management_policy import (
30
+ ChildSiteManagementPolicy,
31
+ )
29
32
  from files_sdk.models.clickwrap import Clickwrap
30
33
  from files_sdk.models.dns_record import DnsRecord
31
34
  from files_sdk.models.email_incoming_message import EmailIncomingMessage
@@ -0,0 +1,276 @@
1
+ import builtins # noqa: F401
2
+ from files_sdk.api import Api # noqa: F401
3
+ from files_sdk.list_obj import ListObj
4
+ from files_sdk.error import ( # noqa: F401
5
+ InvalidParameterError,
6
+ MissingParameterError,
7
+ NotImplementedError,
8
+ )
9
+
10
+
11
+ class ChildSiteManagementPolicy:
12
+ default_attributes = {
13
+ "id": None, # int64 - ChildSiteManagementPolicy ID
14
+ "site_id": None, # int64 - ID of the Site managing the policy
15
+ "site_setting_name": None, # string - The name of the setting that is managed by the policy
16
+ "managed_value": None, # string - The value for the setting that will be enforced for all child sites that are not exempt
17
+ "skip_child_site_ids": None, # array(int64) - The list of child site IDs that are exempt from this policy
18
+ }
19
+
20
+ def __init__(self, attributes=None, options=None):
21
+ if not isinstance(attributes, dict):
22
+ attributes = {}
23
+ if not isinstance(options, dict):
24
+ options = {}
25
+ self.set_attributes(attributes)
26
+ self.options = options
27
+
28
+ def set_attributes(self, attributes):
29
+ for (
30
+ attribute,
31
+ default_value,
32
+ ) in ChildSiteManagementPolicy.default_attributes.items():
33
+ setattr(self, attribute, attributes.get(attribute, default_value))
34
+
35
+ def get_attributes(self):
36
+ return {
37
+ k: getattr(self, k, None)
38
+ for k in ChildSiteManagementPolicy.default_attributes
39
+ if getattr(self, k, None) is not None
40
+ }
41
+
42
+ # Parameters:
43
+ # site_setting_name (required) - string - The name of the setting that is managed by the policy
44
+ # managed_value (required) - string - The value for the setting that will be enforced for all child sites that are not exempt
45
+ # skip_child_site_ids - array(int64) - The list of child site IDs that are exempt from this policy
46
+ def update(self, params=None):
47
+ if not isinstance(params, dict):
48
+ params = {}
49
+
50
+ if hasattr(self, "id") and self.id:
51
+ params["id"] = self.id
52
+ else:
53
+ raise MissingParameterError("Current object doesn't have a id")
54
+ if "id" not in params:
55
+ raise MissingParameterError("Parameter missing: id")
56
+ if "site_setting_name" not in params:
57
+ raise MissingParameterError("Parameter missing: site_setting_name")
58
+ if "managed_value" not in params:
59
+ raise MissingParameterError("Parameter missing: managed_value")
60
+ if "id" in params and not isinstance(params["id"], int):
61
+ raise InvalidParameterError("Bad parameter: id must be an int")
62
+ if "site_setting_name" in params and not isinstance(
63
+ params["site_setting_name"], str
64
+ ):
65
+ raise InvalidParameterError(
66
+ "Bad parameter: site_setting_name must be an str"
67
+ )
68
+ if "managed_value" in params and not isinstance(
69
+ params["managed_value"], str
70
+ ):
71
+ raise InvalidParameterError(
72
+ "Bad parameter: managed_value must be an str"
73
+ )
74
+ if "skip_child_site_ids" in params and not isinstance(
75
+ params["skip_child_site_ids"], builtins.list
76
+ ):
77
+ raise InvalidParameterError(
78
+ "Bad parameter: skip_child_site_ids must be an list"
79
+ )
80
+ response, _options = Api.send_request(
81
+ "PATCH",
82
+ "/child_site_management_policies/{id}".format(id=params["id"]),
83
+ params,
84
+ self.options,
85
+ )
86
+ return response.data
87
+
88
+ def delete(self, params=None):
89
+ if not isinstance(params, dict):
90
+ params = {}
91
+
92
+ if hasattr(self, "id") and self.id:
93
+ params["id"] = self.id
94
+ else:
95
+ raise MissingParameterError("Current object doesn't have a id")
96
+ if "id" not in params:
97
+ raise MissingParameterError("Parameter missing: id")
98
+ if "id" in params and not isinstance(params["id"], int):
99
+ raise InvalidParameterError("Bad parameter: id must be an int")
100
+ Api.send_request(
101
+ "DELETE",
102
+ "/child_site_management_policies/{id}".format(id=params["id"]),
103
+ params,
104
+ self.options,
105
+ )
106
+
107
+ def destroy(self, params=None):
108
+ self.delete(params)
109
+
110
+ def save(self):
111
+ if hasattr(self, "id") and self.id:
112
+ new_obj = self.update(self.get_attributes())
113
+ self.set_attributes(new_obj.get_attributes())
114
+ return True
115
+ else:
116
+ new_obj = create(self.get_attributes(), self.options)
117
+ self.set_attributes(new_obj.get_attributes())
118
+ return True
119
+
120
+
121
+ # Parameters:
122
+ # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
123
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
124
+ def list(params=None, options=None):
125
+ if not isinstance(params, dict):
126
+ params = {}
127
+ if not isinstance(options, dict):
128
+ options = {}
129
+ if "cursor" in params and not isinstance(params["cursor"], str):
130
+ raise InvalidParameterError("Bad parameter: cursor must be an str")
131
+ if "per_page" in params and not isinstance(params["per_page"], int):
132
+ raise InvalidParameterError("Bad parameter: per_page must be an int")
133
+ return ListObj(
134
+ ChildSiteManagementPolicy,
135
+ "GET",
136
+ "/child_site_management_policies",
137
+ params,
138
+ options,
139
+ )
140
+
141
+
142
+ def all(params=None, options=None):
143
+ list(params, options)
144
+
145
+
146
+ # Parameters:
147
+ # id (required) - int64 - Child Site Management Policy ID.
148
+ def find(id, params=None, options=None):
149
+ if not isinstance(params, dict):
150
+ params = {}
151
+ if not isinstance(options, dict):
152
+ options = {}
153
+ params["id"] = id
154
+ if "id" in params and not isinstance(params["id"], int):
155
+ raise InvalidParameterError("Bad parameter: id must be an int")
156
+ if "id" not in params:
157
+ raise MissingParameterError("Parameter missing: id")
158
+ response, options = Api.send_request(
159
+ "GET",
160
+ "/child_site_management_policies/{id}".format(id=params["id"]),
161
+ params,
162
+ options,
163
+ )
164
+ return ChildSiteManagementPolicy(response.data, options)
165
+
166
+
167
+ def get(id, params=None, options=None):
168
+ find(id, params, options)
169
+
170
+
171
+ # Parameters:
172
+ # site_setting_name (required) - string - The name of the setting that is managed by the policy
173
+ # managed_value (required) - string - The value for the setting that will be enforced for all child sites that are not exempt
174
+ # skip_child_site_ids - array(int64) - The list of child site IDs that are exempt from this policy
175
+ def create(params=None, options=None):
176
+ if not isinstance(params, dict):
177
+ params = {}
178
+ if not isinstance(options, dict):
179
+ options = {}
180
+ if "site_setting_name" in params and not isinstance(
181
+ params["site_setting_name"], str
182
+ ):
183
+ raise InvalidParameterError(
184
+ "Bad parameter: site_setting_name must be an str"
185
+ )
186
+ if "managed_value" in params and not isinstance(
187
+ params["managed_value"], str
188
+ ):
189
+ raise InvalidParameterError(
190
+ "Bad parameter: managed_value must be an str"
191
+ )
192
+ if "skip_child_site_ids" in params and not isinstance(
193
+ params["skip_child_site_ids"], builtins.list
194
+ ):
195
+ raise InvalidParameterError(
196
+ "Bad parameter: skip_child_site_ids must be an list"
197
+ )
198
+ if "site_setting_name" not in params:
199
+ raise MissingParameterError("Parameter missing: site_setting_name")
200
+ if "managed_value" not in params:
201
+ raise MissingParameterError("Parameter missing: managed_value")
202
+ response, options = Api.send_request(
203
+ "POST", "/child_site_management_policies", params, options
204
+ )
205
+ return ChildSiteManagementPolicy(response.data, options)
206
+
207
+
208
+ # Parameters:
209
+ # site_setting_name (required) - string - The name of the setting that is managed by the policy
210
+ # managed_value (required) - string - The value for the setting that will be enforced for all child sites that are not exempt
211
+ # skip_child_site_ids - array(int64) - The list of child site IDs that are exempt from this policy
212
+ def update(id, params=None, options=None):
213
+ if not isinstance(params, dict):
214
+ params = {}
215
+ if not isinstance(options, dict):
216
+ options = {}
217
+ params["id"] = id
218
+ if "id" in params and not isinstance(params["id"], int):
219
+ raise InvalidParameterError("Bad parameter: id must be an int")
220
+ if "site_setting_name" in params and not isinstance(
221
+ params["site_setting_name"], str
222
+ ):
223
+ raise InvalidParameterError(
224
+ "Bad parameter: site_setting_name must be an str"
225
+ )
226
+ if "managed_value" in params and not isinstance(
227
+ params["managed_value"], str
228
+ ):
229
+ raise InvalidParameterError(
230
+ "Bad parameter: managed_value must be an str"
231
+ )
232
+ if "skip_child_site_ids" in params and not isinstance(
233
+ params["skip_child_site_ids"], builtins.list
234
+ ):
235
+ raise InvalidParameterError(
236
+ "Bad parameter: skip_child_site_ids must be an list"
237
+ )
238
+ if "id" not in params:
239
+ raise MissingParameterError("Parameter missing: id")
240
+ if "site_setting_name" not in params:
241
+ raise MissingParameterError("Parameter missing: site_setting_name")
242
+ if "managed_value" not in params:
243
+ raise MissingParameterError("Parameter missing: managed_value")
244
+ response, options = Api.send_request(
245
+ "PATCH",
246
+ "/child_site_management_policies/{id}".format(id=params["id"]),
247
+ params,
248
+ options,
249
+ )
250
+ return ChildSiteManagementPolicy(response.data, options)
251
+
252
+
253
+ def delete(id, params=None, options=None):
254
+ if not isinstance(params, dict):
255
+ params = {}
256
+ if not isinstance(options, dict):
257
+ options = {}
258
+ params["id"] = id
259
+ if "id" in params and not isinstance(params["id"], int):
260
+ raise InvalidParameterError("Bad parameter: id must be an int")
261
+ if "id" not in params:
262
+ raise MissingParameterError("Parameter missing: id")
263
+ Api.send_request(
264
+ "DELETE",
265
+ "/child_site_management_policies/{id}".format(id=params["id"]),
266
+ params,
267
+ options,
268
+ )
269
+
270
+
271
+ def destroy(id, params=None, options=None):
272
+ delete(id, params, options)
273
+
274
+
275
+ def new(*args, **kwargs):
276
+ return ChildSiteManagementPolicy(*args, **kwargs)
@@ -36,7 +36,7 @@ class RemoteServerConfigurationFile:
36
36
  # * 10 requests/minute: '10-M'
37
37
  # * 1000 requests/hour: '1000-H'
38
38
  # * 2000 requests/day: '2000-D'
39
- "auto_update_policy": None, # string - Auto update policy ['manual_trigger', 'critical_only', 'always'] (default critical_only)
39
+ "auto_update_policy": None, # string - Auto update policy ['manual_trigger', 'critical_only', 'always', 'never'] (default critical_only)
40
40
  "api_token": None, # string - Files Agent API Token
41
41
  "port": None, # int64 - Incoming port for files agent connections
42
42
  "hostname": None, # string
@@ -18,11 +18,11 @@ class SiemHttpDestination:
18
18
  "sending_active": None, # boolean - Whether this SIEM HTTP Destination is currently being sent to or not
19
19
  "generic_payload_type": None, # string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
20
20
  "splunk_token_masked": None, # string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
21
- "azure_dcr_immutable_id": None, # string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
21
+ "azure_dcr_immutable_id": None, # string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
22
22
  "azure_stream_name": None, # string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
23
- "azure_oauth_client_credentials_tenant_id": None, # string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
24
- "azure_oauth_client_credentials_client_id": None, # string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
25
- "azure_oauth_client_credentials_client_secret_masked": None, # string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
23
+ "azure_oauth_client_credentials_tenant_id": None, # string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
24
+ "azure_oauth_client_credentials_client_id": None, # string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
25
+ "azure_oauth_client_credentials_client_secret_masked": None, # string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client Secret.
26
26
  "qradar_username": None, # string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
27
27
  "qradar_password_masked": None, # string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
28
28
  "solar_winds_token_masked": None, # string - Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
@@ -95,10 +95,10 @@ class SiemHttpDestination:
95
95
  # sending_active - boolean - Whether this SIEM HTTP Destination is currently being sent to or not
96
96
  # generic_payload_type - string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
97
97
  # splunk_token - string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
98
- # azure_dcr_immutable_id - string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
98
+ # azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
99
99
  # azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
100
- # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
101
- # azure_oauth_client_credentials_client_id - string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
100
+ # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
101
+ # azure_oauth_client_credentials_client_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
102
102
  # azure_oauth_client_credentials_client_secret - string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
103
103
  # qradar_username - string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
104
104
  # qradar_password - string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
@@ -318,10 +318,10 @@ def get(id, params=None, options=None):
318
318
  # sending_active - boolean - Whether this SIEM HTTP Destination is currently being sent to or not
319
319
  # generic_payload_type - string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
320
320
  # splunk_token - string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
321
- # azure_dcr_immutable_id - string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
321
+ # azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
322
322
  # azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
323
- # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
324
- # azure_oauth_client_credentials_client_id - string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
323
+ # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
324
+ # azure_oauth_client_credentials_client_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
325
325
  # azure_oauth_client_credentials_client_secret - string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
326
326
  # qradar_username - string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
327
327
  # qradar_password - string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
@@ -538,10 +538,10 @@ def create(params=None, options=None):
538
538
  # sending_active - boolean - Whether this SIEM HTTP Destination is currently being sent to or not
539
539
  # generic_payload_type - string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
540
540
  # splunk_token - string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
541
- # azure_dcr_immutable_id - string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
541
+ # azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
542
542
  # azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
543
- # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
544
- # azure_oauth_client_credentials_client_id - string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
543
+ # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
544
+ # azure_oauth_client_credentials_client_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
545
545
  # azure_oauth_client_credentials_client_secret - string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
546
546
  # qradar_username - string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
547
547
  # qradar_password - string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
@@ -754,10 +754,10 @@ def send_test_entry(params=None, options=None):
754
754
  # sending_active - boolean - Whether this SIEM HTTP Destination is currently being sent to or not
755
755
  # generic_payload_type - string - Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
756
756
  # splunk_token - string - Applicable only for destination type: splunk. Authentication token provided by Splunk.
757
- # azure_dcr_immutable_id - string - Applicable only for destination type: azure. Immutable ID of the Data Collection Rule.
757
+ # azure_dcr_immutable_id - string - Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
758
758
  # azure_stream_name - string - Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
759
- # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination type: azure. Client Credentials OAuth Tenant ID.
760
- # azure_oauth_client_credentials_client_id - string - Applicable only for destination type: azure. Client Credentials OAuth Client ID.
759
+ # azure_oauth_client_credentials_tenant_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
760
+ # azure_oauth_client_credentials_client_id - string - Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
761
761
  # azure_oauth_client_credentials_client_secret - string - Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
762
762
  # qradar_username - string - Applicable only for destination type: qradar. Basic auth username provided by QRadar.
763
763
  # qradar_password - string - Applicable only for destination type: qradar. Basic auth password provided by QRadar.
@@ -181,6 +181,7 @@ class Site:
181
181
  "welcome_screen": None, # string - Does the welcome screen appear?
182
182
  "windows_mode_ftp": None, # boolean - Does FTP user Windows emulation mode?
183
183
  "group_admins_can_set_user_password": None, # boolean - Allow group admins set password authentication method
184
+ "managed_site_settings": None, # array(string) - List of site settings managed by the parent site
184
185
  }
185
186
 
186
187
  def __init__(self, attributes=None, options=None):
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "files_com"
7
- version = "1.6.49"
7
+ version = "1.6.51"
8
8
  description = "Python bindings for the Files.com API"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -0,0 +1,73 @@
1
+ import unittest
2
+ import inspect
3
+ import files_sdk
4
+ from tests.base import TestBase
5
+ from files_sdk.models import ChildSiteManagementPolicy
6
+ from files_sdk import child_site_management_policy
7
+
8
+ class ChildSiteManagementPolicyTest(TestBase):
9
+ pass
10
+ # Instance Methods
11
+ @unittest.skipUnless(TestBase.mock_server_path_exists("PATCH", "/child_site_management_policies/{id}"), "Mock path does not exist")
12
+ def test_update(self):
13
+ params = {
14
+ "id" : 12345,
15
+ "site_setting_name" : "foo",
16
+ "managed_value" : "foo",
17
+ }
18
+ child_site_management_policy = ChildSiteManagementPolicy(params)
19
+ child_site_management_policy.update(params)
20
+
21
+ @unittest.skipUnless(TestBase.mock_server_path_exists("DELETE", "/child_site_management_policies/{id}"), "Mock path does not exist")
22
+ def test_delete(self):
23
+ params = {
24
+ "id" : 12345,
25
+ }
26
+ child_site_management_policy = ChildSiteManagementPolicy(params)
27
+ child_site_management_policy.delete(params)
28
+
29
+ # Alias of delete
30
+ def test_destroy(self):
31
+ pass
32
+
33
+ # Static Methods
34
+ @unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/child_site_management_policies"), "Mock path does not exist")
35
+ def test_list(self):
36
+ resp = child_site_management_policy.list()
37
+
38
+ @unittest.skipUnless(TestBase.mock_server_path_exists("GET", "/child_site_management_policies/{id}"), "Mock path does not exist")
39
+ def test_find(self):
40
+ id = 12345
41
+ params = {
42
+ "id" : 12345,
43
+ }
44
+ child_site_management_policy.find(id, params)
45
+
46
+ @unittest.skipUnless(TestBase.mock_server_path_exists("POST", "/child_site_management_policies"), "Mock path does not exist")
47
+ def test_create(self):
48
+ params = {
49
+ "site_setting_name" : "foo",
50
+ "managed_value" : "foo",
51
+ }
52
+ child_site_management_policy.create(params)
53
+
54
+ @unittest.skipUnless(TestBase.mock_server_path_exists("PATCH", "/child_site_management_policies/{id}"), "Mock path does not exist")
55
+ def test_update(self):
56
+ id = 12345
57
+ params = {
58
+ "id" : 12345,
59
+ "site_setting_name" : "foo",
60
+ "managed_value" : "foo",
61
+ }
62
+ child_site_management_policy.update(id, params)
63
+
64
+ @unittest.skipUnless(TestBase.mock_server_path_exists("DELETE", "/child_site_management_policies/{id}"), "Mock path does not exist")
65
+ def test_delete(self):
66
+ id = 12345
67
+ params = {
68
+ "id" : 12345,
69
+ }
70
+ child_site_management_policy.delete(id, params)
71
+
72
+ if __name__ == '__main__':
73
+ unittest.main()
files_com-1.6.49/_VERSION DELETED
@@ -1 +0,0 @@
1
- 1.6.49
File without changes
File without changes
File without changes