files.com 1.1.671 → 1.1.673
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.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/action_log.md +1 -21
- data/docs/action_notification_export_result.md +0 -17
- data/docs/ai_assistant_personality.md +0 -14
- data/docs/ai_task.md +0 -14
- data/docs/api_key.md +1 -27
- data/docs/api_request_log.md +1 -21
- data/docs/app.md +0 -15
- data/docs/as2_incoming_message.md +0 -18
- data/docs/as2_outgoing_message.md +0 -18
- data/docs/as2_partner.md +0 -14
- data/docs/as2_station.md +0 -14
- data/docs/automation.md +1 -22
- data/docs/automation_log.md +1 -21
- data/docs/automation_run.md +0 -19
- data/docs/bandwidth_snapshot.md +0 -18
- data/docs/behavior.md +0 -14
- data/docs/bundle.md +1 -50
- data/docs/bundle_action.md +0 -25
- data/docs/bundle_download.md +0 -23
- data/docs/bundle_notification.md +0 -19
- data/docs/bundle_recipient.md +0 -21
- data/docs/bundle_registration.md +0 -61
- data/docs/chat_session.md +2 -14
- data/docs/child_site_management_policy.md +0 -9
- data/docs/clickwrap.md +0 -13
- data/docs/custom_domain.md +0 -13
- data/docs/desktop_configuration_profile.md +0 -14
- data/docs/dns_record.md +0 -9
- data/docs/email_incoming_message.md +0 -19
- data/docs/email_log.md +1 -20
- data/docs/event_channel.md +0 -14
- data/docs/event_delivery_attempt.md +0 -14
- data/docs/event_record.md +0 -19
- data/docs/event_subscription.md +0 -14
- data/docs/event_target.md +0 -14
- data/docs/exavault_api_request_log.md +1 -21
- data/docs/expectation.md +0 -14
- data/docs/expectation_evaluation.md +0 -14
- data/docs/expectation_incident.md +0 -14
- data/docs/external_event.md +0 -18
- data/docs/file.md +2 -90
- data/docs/file_migration.md +0 -32
- data/docs/file_migration_log.md +1 -20
- data/docs/file_upload_part.md +1 -3
- data/docs/folder.md +0 -20
- data/docs/form_field_set.md +0 -15
- data/docs/ftp_action_log.md +1 -21
- data/docs/gpg_key.md +0 -21
- data/docs/group.md +0 -19
- data/docs/group_user.md +2 -22
- data/docs/history.md +0 -85
- data/docs/history_export_result.md +0 -17
- data/docs/holiday_region.md +0 -9
- data/docs/inbound_s3_log.md +1 -21
- data/docs/inbox_recipient.md +0 -19
- data/docs/inbox_registration.md +0 -57
- data/docs/inbox_upload.md +0 -18
- data/docs/invoice.md +0 -9
- data/docs/ip_address.md +0 -59
- data/docs/key_lifecycle_rule.md +0 -14
- data/docs/lock.md +0 -15
- data/docs/message.md +0 -17
- data/docs/message_comment.md +0 -18
- data/docs/message_comment_reaction.md +0 -18
- data/docs/message_reaction.md +0 -17
- data/docs/metadata_category.md +0 -13
- data/docs/notification.md +0 -20
- data/docs/outbound_connection_log.md +1 -21
- data/docs/partner.md +0 -14
- data/docs/partner_channel.md +0 -14
- data/docs/partner_site_request.md +0 -14
- data/docs/payment.md +0 -9
- data/docs/pending_work_event.md +0 -18
- data/docs/permission.md +0 -22
- data/docs/preview.md +0 -57
- data/docs/project.md +0 -9
- data/docs/public_hosting_request_log.md +1 -21
- data/docs/public_key.md +0 -21
- data/docs/remote_bandwidth_snapshot.md +0 -18
- data/docs/remote_mount_backend.md +0 -13
- data/docs/remote_server.md +0 -233
- data/docs/remote_server_credential.md +0 -15
- data/docs/request.md +0 -17
- data/docs/restore.md +0 -14
- data/docs/scheduled_export.md +0 -15
- data/docs/scim_log.md +0 -13
- data/docs/session.md +1 -232
- data/docs/settings_change.md +0 -16
- data/docs/sftp_action_log.md +1 -21
- data/docs/sftp_host_key.md +0 -9
- data/docs/share_group.md +0 -15
- data/docs/siem_http_destination.md +0 -9
- data/docs/siem_http_destination_event.md +0 -18
- data/docs/site.md +0 -179
- data/docs/site_subdomain_redirect.md +0 -13
- data/docs/snapshot.md +0 -9
- data/docs/sso_event.md +0 -19
- data/docs/sso_strategy.md +0 -406
- data/docs/sync.md +0 -14
- data/docs/sync_log.md +1 -20
- data/docs/sync_run.md +0 -21
- data/docs/usage_daily_snapshot.md +0 -18
- data/docs/usage_snapshot.md +0 -9
- data/docs/user.md +2 -49
- data/docs/user_cipher_use.md +0 -21
- data/docs/user_lifecycle_rule.md +0 -14
- data/docs/user_request.md +0 -9
- data/docs/user_security_event.md +0 -18
- data/docs/user_sftp_client_use.md +0 -15
- data/docs/web_dav_action_log.md +1 -21
- data/docs/workspace.md +0 -15
- data/lib/files.com/models/action_log.rb +0 -24
- data/lib/files.com/models/action_notification_export_result.rb +0 -12
- data/lib/files.com/models/ai_assistant_personality.rb +0 -11
- data/lib/files.com/models/ai_task.rb +0 -11
- data/lib/files.com/models/api_key.rb +5 -39
- data/lib/files.com/models/api_request_log.rb +0 -24
- data/lib/files.com/models/app.rb +0 -13
- data/lib/files.com/models/as2_incoming_message.rb +0 -19
- data/lib/files.com/models/as2_outgoing_message.rb +0 -19
- data/lib/files.com/models/as2_partner.rb +0 -11
- data/lib/files.com/models/as2_station.rb +0 -11
- data/lib/files.com/models/automation.rb +0 -30
- data/lib/files.com/models/automation_log.rb +0 -24
- data/lib/files.com/models/automation_run.rb +0 -16
- data/lib/files.com/models/bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/behavior.rb +0 -11
- data/lib/files.com/models/bundle.rb +0 -52
- data/lib/files.com/models/bundle_action.rb +0 -25
- data/lib/files.com/models/bundle_download.rb +0 -23
- data/lib/files.com/models/bundle_notification.rb +0 -15
- data/lib/files.com/models/bundle_recipient.rb +0 -27
- data/lib/files.com/models/bundle_registration.rb +0 -125
- data/lib/files.com/models/chat_session.rb +5 -11
- data/lib/files.com/models/child_site_management_policy.rb +0 -5
- data/lib/files.com/models/clickwrap.rb +0 -9
- data/lib/files.com/models/custom_domain.rb +0 -9
- data/lib/files.com/models/desktop_configuration_profile.rb +0 -11
- data/lib/files.com/models/dns_record.rb +0 -5
- data/lib/files.com/models/email_incoming_message.rb +0 -21
- data/lib/files.com/models/email_log.rb +0 -22
- data/lib/files.com/models/event_channel.rb +0 -11
- data/lib/files.com/models/event_delivery_attempt.rb +0 -11
- data/lib/files.com/models/event_record.rb +0 -21
- data/lib/files.com/models/event_subscription.rb +0 -11
- data/lib/files.com/models/event_target.rb +0 -11
- data/lib/files.com/models/exavault_api_request_log.rb +0 -24
- data/lib/files.com/models/expectation.rb +0 -11
- data/lib/files.com/models/expectation_evaluation.rb +0 -11
- data/lib/files.com/models/expectation_incident.rb +0 -11
- data/lib/files.com/models/external_event.rb +0 -19
- data/lib/files.com/models/file.rb +67 -207
- data/lib/files.com/models/file_migration.rb +0 -27
- data/lib/files.com/models/file_migration_log.rb +0 -22
- data/lib/files.com/models/file_upload_part.rb +0 -5
- data/lib/files.com/models/folder.rb +0 -69
- data/lib/files.com/models/form_field_set.rb +0 -9
- data/lib/files.com/models/ftp_action_log.rb +0 -24
- data/lib/files.com/models/gpg_key.rb +0 -21
- data/lib/files.com/models/group.rb +0 -16
- data/lib/files.com/models/group_user.rb +1 -21
- data/lib/files.com/models/history.rb +0 -94
- data/lib/files.com/models/history_export_result.rb +0 -12
- data/lib/files.com/models/holiday_region.rb +0 -5
- data/lib/files.com/models/inbound_s3_log.rb +0 -24
- data/lib/files.com/models/inbox_recipient.rb +0 -25
- data/lib/files.com/models/inbox_registration.rb +0 -121
- data/lib/files.com/models/inbox_upload.rb +0 -19
- data/lib/files.com/models/invoice.rb +0 -5
- data/lib/files.com/models/ip_address.rb +0 -37
- data/lib/files.com/models/key_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/lock.rb +0 -27
- data/lib/files.com/models/message.rb +0 -12
- data/lib/files.com/models/message_comment.rb +0 -14
- data/lib/files.com/models/message_comment_reaction.rb +0 -14
- data/lib/files.com/models/message_reaction.rb +0 -12
- data/lib/files.com/models/metadata_category.rb +0 -9
- data/lib/files.com/models/notification.rb +0 -18
- data/lib/files.com/models/outbound_connection_log.rb +0 -24
- data/lib/files.com/models/partner.rb +0 -11
- data/lib/files.com/models/partner_channel.rb +0 -11
- data/lib/files.com/models/partner_site_request.rb +0 -11
- data/lib/files.com/models/payment.rb +0 -5
- data/lib/files.com/models/pending_work_event.rb +0 -19
- data/lib/files.com/models/permission.rb +0 -22
- data/lib/files.com/models/preview.rb +0 -57
- data/lib/files.com/models/project.rb +0 -5
- data/lib/files.com/models/public_hosting_request_log.rb +0 -24
- data/lib/files.com/models/public_key.rb +0 -21
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/remote_mount_backend.rb +0 -9
- data/lib/files.com/models/remote_server.rb +0 -297
- data/lib/files.com/models/remote_server_credential.rb +0 -13
- data/lib/files.com/models/request.rb +0 -12
- data/lib/files.com/models/restore.rb +0 -11
- data/lib/files.com/models/scheduled_export.rb +0 -13
- data/lib/files.com/models/scim_log.rb +0 -9
- data/lib/files.com/models/session.rb +0 -493
- data/lib/files.com/models/settings_change.rb +0 -16
- data/lib/files.com/models/sftp_action_log.rb +0 -24
- data/lib/files.com/models/sftp_host_key.rb +0 -5
- data/lib/files.com/models/share_group.rb +0 -9
- data/lib/files.com/models/siem_http_destination.rb +0 -5
- data/lib/files.com/models/siem_http_destination_event.rb +0 -19
- data/lib/files.com/models/site.rb +0 -1021
- data/lib/files.com/models/site_subdomain_redirect.rb +0 -9
- data/lib/files.com/models/snapshot.rb +0 -5
- data/lib/files.com/models/sso_event.rb +0 -21
- data/lib/files.com/models/sso_strategy.rb +0 -632
- data/lib/files.com/models/sync.rb +0 -11
- data/lib/files.com/models/sync_log.rb +0 -22
- data/lib/files.com/models/sync_run.rb +0 -21
- data/lib/files.com/models/usage_daily_snapshot.rb +0 -19
- data/lib/files.com/models/usage_snapshot.rb +0 -5
- data/lib/files.com/models/user.rb +0 -59
- data/lib/files.com/models/user_cipher_use.rb +0 -21
- data/lib/files.com/models/user_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/user_request.rb +0 -5
- data/lib/files.com/models/user_security_event.rb +0 -19
- data/lib/files.com/models/user_sftp_client_use.rb +0 -9
- data/lib/files.com/models/web_dav_action_log.rb +0 -24
- data/lib/files.com/models/workspace.rb +0 -13
- data/lib/files.com/path_util.rb +1 -1
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +0 -59
- data/shared/normalization_for_comparison_test_data.json +3 -1
- data/spec/models/file_underscore_destinations_spec.rb +24 -0
- data/spec/path_util_spec.rb +5 -0
- metadata +2 -119
- data/docs/account.md +0 -155
- data/docs/action_webhook_failure.md +0 -28
- data/docs/agent_proxy_identity.md +0 -49
- data/docs/agent_proxy_identity_endpoint.md +0 -11
- data/docs/agent_proxy_identity_result.md +0 -24
- data/docs/agent_v2_auth.md +0 -17
- data/docs/announcement.md +0 -57
- data/docs/blog_post.md +0 -57
- data/docs/bundle_recipient_registration.md +0 -39
- data/docs/certificate.md +0 -258
- data/docs/child_site.md +0 -583
- data/docs/clickwrap_acceptance.md +0 -30
- data/docs/client_log.md +0 -17
- data/docs/crash_report.md +0 -50
- data/docs/custom_domain_for_proxy.md +0 -23
- data/docs/email_preference.md +0 -108
- data/docs/email_preference_bundle_notification.md +0 -15
- data/docs/email_preference_notification.md +0 -17
- data/docs/export.md +0 -90
- data/docs/front_end_server.md +0 -111
- data/docs/frontend_metric.md +0 -34
- data/docs/inbox.md +0 -102
- data/docs/inbox_recipient_registration.md +0 -35
- data/docs/ip.md +0 -63
- data/docs/ip_abuse_entry.md +0 -47
- data/docs/label.md +0 -9
- data/docs/lead.md +0 -161
- data/docs/monitoring_stat.md +0 -38
- data/docs/monitoring_stats.md +0 -15
- data/docs/mover_package.md +0 -68
- data/docs/nps_response.md +0 -75
- data/docs/oauth_redirect.md +0 -11
- data/docs/paired_api_key.md +0 -19
- data/docs/paypal_express_info.md +0 -31
- data/docs/paypal_express_url.md +0 -11
- data/docs/plan.md +0 -107
- data/docs/public_hosting_session_pairing.md +0 -15
- data/docs/public_inbox.md +0 -121
- data/docs/public_url.md +0 -59
- data/docs/regional_migration.md +0 -0
- data/docs/release.md +0 -83
- data/docs/release_package.md +0 -19
- data/docs/revision.md +0 -40
- data/docs/safe_plan.md +0 -0
- data/docs/session_available_site.md +0 -26
- data/docs/setting.md +0 -33
- data/docs/settings.md +0 -498
- data/docs/ssl_certificate.md +0 -37
- data/docs/staging_site.md +0 -591
- data/docs/support_request.md +0 -126
- data/docs/sync_api_usage_snapshot.md +0 -23
- data/docs/sync_api_usage_snapshot_report.md +0 -71
- data/docs/sync_bandwidth_snapshot.md +0 -48
- data/docs/two_factor_authentication_method.md +0 -169
- data/docs/warning.md +0 -36
- data/docs/webauthn_sign_request.md +0 -13
- data/docs/zip_download.md +0 -32
- data/docs/zip_download_file.md +0 -45
- data/docs/zip_download_files.md +0 -23
- data/lib/files.com/models/account.rb +0 -346
- data/lib/files.com/models/action_webhook_failure.rb +0 -34
- data/lib/files.com/models/agent_proxy_identity.rb +0 -47
- data/lib/files.com/models/agent_proxy_identity_endpoint.rb +0 -17
- data/lib/files.com/models/agent_proxy_identity_result.rb +0 -27
- data/lib/files.com/models/agent_v2_auth.rb +0 -32
- data/lib/files.com/models/announcement.rb +0 -89
- data/lib/files.com/models/blog_post.rb +0 -84
- data/lib/files.com/models/bundle_recipient_registration.rb +0 -105
- data/lib/files.com/models/certificate.rb +0 -455
- data/lib/files.com/models/child_site.rb +0 -1756
- data/lib/files.com/models/clickwrap_acceptance.rb +0 -56
- data/lib/files.com/models/client_log.rb +0 -25
- data/lib/files.com/models/crash_report.rb +0 -151
- data/lib/files.com/models/custom_domain_for_proxy.rb +0 -47
- data/lib/files.com/models/email_preference.rb +0 -124
- data/lib/files.com/models/email_preference_bundle_notification.rb +0 -27
- data/lib/files.com/models/email_preference_notification.rb +0 -32
- data/lib/files.com/models/export.rb +0 -153
- data/lib/files.com/models/front_end_server.rb +0 -335
- data/lib/files.com/models/frontend_metric.rb +0 -65
- data/lib/files.com/models/inbox.rb +0 -123
- data/lib/files.com/models/inbox_recipient_registration.rb +0 -87
- data/lib/files.com/models/ip.rb +0 -82
- data/lib/files.com/models/ip_abuse_entry.rb +0 -96
- data/lib/files.com/models/label.rb +0 -22
- data/lib/files.com/models/lead.rb +0 -434
- data/lib/files.com/models/monitoring_stat.rb +0 -43
- data/lib/files.com/models/monitoring_stats.rb +0 -22
- data/lib/files.com/models/mover_package.rb +0 -80
- data/lib/files.com/models/nps_response.rb +0 -128
- data/lib/files.com/models/oauth_redirect.rb +0 -17
- data/lib/files.com/models/paired_api_key.rb +0 -37
- data/lib/files.com/models/paypal_express_info.rb +0 -67
- data/lib/files.com/models/paypal_express_url.rb +0 -17
- data/lib/files.com/models/plan.rb +0 -209
- data/lib/files.com/models/public_hosting_session_pairing.rb +0 -27
- data/lib/files.com/models/public_inbox.rb +0 -142
- data/lib/files.com/models/public_url.rb +0 -177
- data/lib/files.com/models/regional_migration.rb +0 -12
- data/lib/files.com/models/release.rb +0 -153
- data/lib/files.com/models/release_package.rb +0 -37
- data/lib/files.com/models/revision.rb +0 -53
- data/lib/files.com/models/safe_plan.rb +0 -12
- data/lib/files.com/models/session_available_site.rb +0 -47
- data/lib/files.com/models/setting.rb +0 -36
- data/lib/files.com/models/settings.rb +0 -1072
- data/lib/files.com/models/ssl_certificate.rb +0 -77
- data/lib/files.com/models/staging_site.rb +0 -1781
- data/lib/files.com/models/support_request.rb +0 -209
- data/lib/files.com/models/sync_api_usage_snapshot.rb +0 -47
- data/lib/files.com/models/sync_api_usage_snapshot_report.rb +0 -162
- data/lib/files.com/models/sync_bandwidth_snapshot.rb +0 -104
- data/lib/files.com/models/two_factor_authentication_method.rb +0 -250
- data/lib/files.com/models/warning.rb +0 -38
- data/lib/files.com/models/webauthn_sign_request.rb +0 -17
- data/lib/files.com/models/zip_download.rb +0 -73
- data/lib/files.com/models/zip_download_file.rb +0 -111
- data/lib/files.com/models/zip_download_files.rb +0 -42
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Files
|
|
4
|
-
class SupportRequest
|
|
5
|
-
attr_reader :options, :attributes
|
|
6
|
-
|
|
7
|
-
def initialize(attributes = {}, options = {})
|
|
8
|
-
@attributes = attributes || {}
|
|
9
|
-
@options = options || {}
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
# int64 - ID
|
|
13
|
-
def id
|
|
14
|
-
@attributes[:id]
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
def id=(value)
|
|
18
|
-
@attributes[:id] = value
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
# string - Subject of the support request.
|
|
22
|
-
def subject
|
|
23
|
-
@attributes[:subject]
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
def subject=(value)
|
|
27
|
-
@attributes[:subject] = value
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
# string - Main body of the support request.
|
|
31
|
-
def comment
|
|
32
|
-
@attributes[:comment]
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
def comment=(value)
|
|
36
|
-
@attributes[:comment] = value
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
# date - When this support request was made.
|
|
40
|
-
def created_at
|
|
41
|
-
@attributes[:created_at]
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
# date - Customer Support can access your user account up through this date/time.
|
|
45
|
-
def access_until
|
|
46
|
-
@attributes[:access_until]
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
def access_until=(value)
|
|
50
|
-
@attributes[:access_until] = value
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
# string - Enable Customer Support access to your user account?
|
|
54
|
-
def customer_success_access
|
|
55
|
-
@attributes[:customer_success_access]
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
def customer_success_access=(value)
|
|
59
|
-
@attributes[:customer_success_access] = value
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
# string - Priority. Can be `low` (e.g. general or billing/account questions), `normal` (e.g. the system is impaired), `high` (e.g. a production workflow or business process is impaired), `urgent` (e.g. a production workflow or business process is down), `critical` (e.g. a business-critical workflow or business process is down)
|
|
63
|
-
def priority
|
|
64
|
-
@attributes[:priority]
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
def priority=(value)
|
|
68
|
-
@attributes[:priority] = value
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
# string - Support Request name
|
|
72
|
-
def name
|
|
73
|
-
@attributes[:name]
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
def name=(value)
|
|
77
|
-
@attributes[:name] = value
|
|
78
|
-
end
|
|
79
|
-
|
|
80
|
-
# string - Support Request phone number
|
|
81
|
-
def phone_number
|
|
82
|
-
@attributes[:phone_number]
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
def phone_number=(value)
|
|
86
|
-
@attributes[:phone_number] = value
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
# boolean - If set to `true`, will reset the customer success access window.
|
|
90
|
-
def access_reset
|
|
91
|
-
@attributes[:access_reset]
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
def access_reset=(value)
|
|
95
|
-
@attributes[:access_reset] = value
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
# string - Email address of the user requesting support.
|
|
99
|
-
def email
|
|
100
|
-
@attributes[:email]
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
def email=(value)
|
|
104
|
-
@attributes[:email] = value
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
# array(file)
|
|
108
|
-
def attachments_files
|
|
109
|
-
@attributes[:attachments_files]
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
def attachments_files=(value)
|
|
113
|
-
@attributes[:attachments_files] = value
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
# Parameters:
|
|
117
|
-
# customer_success_access - string - Enable Customer Support access to your user account?
|
|
118
|
-
# access_reset - boolean - If set to `true`, will reset the customer success access window.
|
|
119
|
-
def update(params = {})
|
|
120
|
-
params ||= {}
|
|
121
|
-
params[:id] = @attributes[:id]
|
|
122
|
-
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
123
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
124
|
-
raise InvalidParameterError.new("Bad parameter: customer_success_access must be an String") if params[:customer_success_access] and !params[:customer_success_access].is_a?(String)
|
|
125
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
126
|
-
|
|
127
|
-
Api.send_request("/support_requests/#{@attributes[:id]}", :patch, params, @options)
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
def save
|
|
131
|
-
if @attributes[:id]
|
|
132
|
-
new_obj = update(@attributes)
|
|
133
|
-
else
|
|
134
|
-
new_obj = SupportRequest.create(@attributes, @options)
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
@attributes = new_obj.attributes
|
|
138
|
-
true
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
# Parameters:
|
|
142
|
-
# 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.
|
|
143
|
-
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
144
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
145
|
-
def self.list(params = {}, options = {})
|
|
146
|
-
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
147
|
-
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
148
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
149
|
-
|
|
150
|
-
List.new(SupportRequest, params) do
|
|
151
|
-
Api.send_request("/support_requests", :get, params, options)
|
|
152
|
-
end
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
def self.all(params = {}, options = {})
|
|
156
|
-
list(params, options)
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
# Parameters:
|
|
160
|
-
# customer_success_access - string - Enable Customer Support access to your user account?
|
|
161
|
-
# access_reset - boolean - If set to `true`, will reset the customer success access window.
|
|
162
|
-
# email (required) - string - Email address of the user requesting support.
|
|
163
|
-
# subject (required) - string - Subject of the support request.
|
|
164
|
-
# comment (required) - string - Main body of the support request.
|
|
165
|
-
# priority - string - Priority. Can be `low` (e.g. general or billing/account questions), `normal` (e.g. the system is impaired), `high` (e.g. a production workflow or business process is impaired), `urgent` (e.g. a production workflow or business process is down), `critical` (e.g. a business-critical workflow or business process is down)
|
|
166
|
-
# phone_number - string - Support Request phone number
|
|
167
|
-
# name - string - Support Request name
|
|
168
|
-
# attachments_files - array(file)
|
|
169
|
-
def self.create(params = {}, options = {})
|
|
170
|
-
raise InvalidParameterError.new("Bad parameter: customer_success_access must be an String") if params[:customer_success_access] and !params[:customer_success_access].is_a?(String)
|
|
171
|
-
raise InvalidParameterError.new("Bad parameter: email must be an String") if params[:email] and !params[:email].is_a?(String)
|
|
172
|
-
raise InvalidParameterError.new("Bad parameter: subject must be an String") if params[:subject] and !params[:subject].is_a?(String)
|
|
173
|
-
raise InvalidParameterError.new("Bad parameter: comment must be an String") if params[:comment] and !params[:comment].is_a?(String)
|
|
174
|
-
raise InvalidParameterError.new("Bad parameter: priority must be an String") if params[:priority] and !params[:priority].is_a?(String)
|
|
175
|
-
raise InvalidParameterError.new("Bad parameter: phone_number must be an String") if params[:phone_number] and !params[:phone_number].is_a?(String)
|
|
176
|
-
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
177
|
-
raise InvalidParameterError.new("Bad parameter: attachments_files must be an Array") if params[:attachments_files] and !params[:attachments_files].is_a?(Array)
|
|
178
|
-
raise MissingParameterError.new("Parameter missing: email") unless params[:email]
|
|
179
|
-
raise MissingParameterError.new("Parameter missing: subject") unless params[:subject]
|
|
180
|
-
raise MissingParameterError.new("Parameter missing: comment") unless params[:comment]
|
|
181
|
-
|
|
182
|
-
response, options = Api.send_request("/support_requests", :post, params, options)
|
|
183
|
-
SupportRequest.new(response.data, options)
|
|
184
|
-
end
|
|
185
|
-
|
|
186
|
-
# Parameters:
|
|
187
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
188
|
-
def self.create_export(params = {}, options = {})
|
|
189
|
-
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
190
|
-
|
|
191
|
-
response, options = Api.send_request("/support_requests/create_export", :post, params, options)
|
|
192
|
-
Export.new(response.data, options)
|
|
193
|
-
end
|
|
194
|
-
|
|
195
|
-
# Parameters:
|
|
196
|
-
# customer_success_access - string - Enable Customer Support access to your user account?
|
|
197
|
-
# access_reset - boolean - If set to `true`, will reset the customer success access window.
|
|
198
|
-
def self.update(id, params = {}, options = {})
|
|
199
|
-
params ||= {}
|
|
200
|
-
params[:id] = id
|
|
201
|
-
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
202
|
-
raise InvalidParameterError.new("Bad parameter: customer_success_access must be an String") if params[:customer_success_access] and !params[:customer_success_access].is_a?(String)
|
|
203
|
-
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
204
|
-
|
|
205
|
-
response, options = Api.send_request("/support_requests/#{params[:id]}", :patch, params, options)
|
|
206
|
-
SupportRequest.new(response.data, options)
|
|
207
|
-
end
|
|
208
|
-
end
|
|
209
|
-
end
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Files
|
|
4
|
-
class SyncApiUsageSnapshot
|
|
5
|
-
attr_reader :options, :attributes
|
|
6
|
-
|
|
7
|
-
def initialize(attributes = {}, options = {})
|
|
8
|
-
@attributes = attributes || {}
|
|
9
|
-
@options = options || {}
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
# string - Interface Name
|
|
13
|
-
def ifname
|
|
14
|
-
@attributes[:ifname]
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
# int64 - API Reads
|
|
18
|
-
def api_reads
|
|
19
|
-
@attributes[:api_reads]
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
# int64 - API Writes
|
|
23
|
-
def api_writes
|
|
24
|
-
@attributes[:api_writes]
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
# int64 - List Cache Hits
|
|
28
|
-
def list_cache_hits
|
|
29
|
-
@attributes[:list_cache_hits]
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
# int64 - List Cache Misses
|
|
33
|
-
def list_cache_misses
|
|
34
|
-
@attributes[:list_cache_misses]
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
# int64 - Stat Cache Hits
|
|
38
|
-
def stat_cache_hits
|
|
39
|
-
@attributes[:stat_cache_hits]
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
# int64 - Stat Cache Misses
|
|
43
|
-
def stat_cache_misses
|
|
44
|
-
@attributes[:stat_cache_misses]
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Files
|
|
4
|
-
class SyncApiUsageSnapshotReport
|
|
5
|
-
attr_reader :options, :attributes
|
|
6
|
-
|
|
7
|
-
def initialize(attributes = {}, options = {})
|
|
8
|
-
@attributes = attributes || {}
|
|
9
|
-
@options = options || {}
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
# date-time - start time of statistics collection
|
|
13
|
-
def start_time
|
|
14
|
-
@attributes[:start_time]
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
def start_time=(value)
|
|
18
|
-
@attributes[:start_time] = value
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
# date-time - end time of statistics collection
|
|
22
|
-
def end_time
|
|
23
|
-
@attributes[:end_time]
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
def end_time=(value)
|
|
27
|
-
@attributes[:end_time] = value
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
# string - Unique ID for this entry
|
|
31
|
-
def uuid
|
|
32
|
-
@attributes[:uuid]
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
def uuid=(value)
|
|
36
|
-
@attributes[:uuid] = value
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
# int64 - Numbers of hits of the authentication cache
|
|
40
|
-
def auth_cache_hits
|
|
41
|
-
@attributes[:auth_cache_hits]
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
def auth_cache_hits=(value)
|
|
45
|
-
@attributes[:auth_cache_hits] = value
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
# int64 - Numbers of misses of the authentication cache
|
|
49
|
-
def auth_cache_misses
|
|
50
|
-
@attributes[:auth_cache_misses]
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
def auth_cache_misses=(value)
|
|
54
|
-
@attributes[:auth_cache_misses] = value
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
# int64 - A count of api authentications requests for SFTP
|
|
58
|
-
def auth_api_requests_for_sftp
|
|
59
|
-
@attributes[:auth_api_requests_for_sftp]
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
def auth_api_requests_for_sftp=(value)
|
|
63
|
-
@attributes[:auth_api_requests_for_sftp] = value
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
# int64 - A count of api authentications requests for FTP
|
|
67
|
-
def auth_api_requests_for_ftp
|
|
68
|
-
@attributes[:auth_api_requests_for_ftp]
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
def auth_api_requests_for_ftp=(value)
|
|
72
|
-
@attributes[:auth_api_requests_for_ftp] = value
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
# int64 - A count of api authentications requests for DAV
|
|
76
|
-
def auth_api_requests_for_dav
|
|
77
|
-
@attributes[:auth_api_requests_for_dav]
|
|
78
|
-
end
|
|
79
|
-
|
|
80
|
-
def auth_api_requests_for_dav=(value)
|
|
81
|
-
@attributes[:auth_api_requests_for_dav] = value
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
# int64 - A count of api authentications requests for Desktop
|
|
85
|
-
def auth_api_requests_for_desktop
|
|
86
|
-
@attributes[:auth_api_requests_for_desktop]
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
def auth_api_requests_for_desktop=(value)
|
|
90
|
-
@attributes[:auth_api_requests_for_desktop] = value
|
|
91
|
-
end
|
|
92
|
-
|
|
93
|
-
# int64 - A count of api authentications requests for Restapi
|
|
94
|
-
def auth_api_requests_for_restapi
|
|
95
|
-
@attributes[:auth_api_requests_for_restapi]
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
def auth_api_requests_for_restapi=(value)
|
|
99
|
-
@attributes[:auth_api_requests_for_restapi] = value
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
# int64 - A count of the number of api usage logs
|
|
103
|
-
def number_of_sync_api_usage_snapshots
|
|
104
|
-
@attributes[:number_of_sync_api_usage_snapshots]
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
def number_of_sync_api_usage_snapshots=(value)
|
|
108
|
-
@attributes[:number_of_sync_api_usage_snapshots] = value
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
# array(object) - A list of all the api usage logs
|
|
112
|
-
def sync_api_usage_snapshots
|
|
113
|
-
@attributes[:sync_api_usage_snapshots]
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
def sync_api_usage_snapshots=(value)
|
|
117
|
-
@attributes[:sync_api_usage_snapshots] = value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
def save
|
|
121
|
-
if @attributes[:id]
|
|
122
|
-
raise NotImplementedError.new("The SyncApiUsageSnapshotReport object doesn't support updates.")
|
|
123
|
-
else
|
|
124
|
-
new_obj = SyncApiUsageSnapshotReport.create(@attributes, @options)
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@attributes = new_obj.attributes
|
|
128
|
-
true
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
# Parameters:
|
|
132
|
-
# start_time - string - start time of statistics collection
|
|
133
|
-
# end_time - string - end time of statistics collection
|
|
134
|
-
# uuid - string - Unique ID for this entry
|
|
135
|
-
# auth_cache_hits - int64 - Numbers of hits of the authentication cache
|
|
136
|
-
# auth_cache_misses - int64 - Numbers of misses of the authentication cache
|
|
137
|
-
# auth_api_requests_for_sftp - int64 - A count of api authentications requests for SFTP
|
|
138
|
-
# auth_api_requests_for_ftp - int64 - A count of api authentications requests for FTP
|
|
139
|
-
# auth_api_requests_for_dav - int64 - A count of api authentications requests for DAV
|
|
140
|
-
# auth_api_requests_for_desktop - int64 - A count of api authentications requests for Desktop
|
|
141
|
-
# auth_api_requests_for_restapi - int64 - A count of api authentications requests for Restapi
|
|
142
|
-
# number_of_sync_api_usage_snapshots - int64 - A count of the number of api usage logs
|
|
143
|
-
# sync_api_usage_snapshots - array(object)
|
|
144
|
-
def self.create(params = {}, options = {})
|
|
145
|
-
raise InvalidParameterError.new("Bad parameter: start_time must be an String") if params[:start_time] and !params[:start_time].is_a?(String)
|
|
146
|
-
raise InvalidParameterError.new("Bad parameter: end_time must be an String") if params[:end_time] and !params[:end_time].is_a?(String)
|
|
147
|
-
raise InvalidParameterError.new("Bad parameter: uuid must be an String") if params[:uuid] and !params[:uuid].is_a?(String)
|
|
148
|
-
raise InvalidParameterError.new("Bad parameter: auth_cache_hits must be an Integer") if params[:auth_cache_hits] and !params[:auth_cache_hits].is_a?(Integer)
|
|
149
|
-
raise InvalidParameterError.new("Bad parameter: auth_cache_misses must be an Integer") if params[:auth_cache_misses] and !params[:auth_cache_misses].is_a?(Integer)
|
|
150
|
-
raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_sftp must be an Integer") if params[:auth_api_requests_for_sftp] and !params[:auth_api_requests_for_sftp].is_a?(Integer)
|
|
151
|
-
raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_ftp must be an Integer") if params[:auth_api_requests_for_ftp] and !params[:auth_api_requests_for_ftp].is_a?(Integer)
|
|
152
|
-
raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_dav must be an Integer") if params[:auth_api_requests_for_dav] and !params[:auth_api_requests_for_dav].is_a?(Integer)
|
|
153
|
-
raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_desktop must be an Integer") if params[:auth_api_requests_for_desktop] and !params[:auth_api_requests_for_desktop].is_a?(Integer)
|
|
154
|
-
raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_restapi must be an Integer") if params[:auth_api_requests_for_restapi] and !params[:auth_api_requests_for_restapi].is_a?(Integer)
|
|
155
|
-
raise InvalidParameterError.new("Bad parameter: number_of_sync_api_usage_snapshots must be an Integer") if params[:number_of_sync_api_usage_snapshots] and !params[:number_of_sync_api_usage_snapshots].is_a?(Integer)
|
|
156
|
-
raise InvalidParameterError.new("Bad parameter: sync_api_usage_snapshots must be an Array") if params[:sync_api_usage_snapshots] and !params[:sync_api_usage_snapshots].is_a?(Array)
|
|
157
|
-
|
|
158
|
-
response, options = Api.send_request("/sync_api_usage_snapshot_reports", :post, params, options)
|
|
159
|
-
SyncApiUsageSnapshotReport.new(response.data, options)
|
|
160
|
-
end
|
|
161
|
-
end
|
|
162
|
-
end
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "bigdecimal"
|
|
4
|
-
|
|
5
|
-
module Files
|
|
6
|
-
class SyncBandwidthSnapshot
|
|
7
|
-
attr_reader :options, :attributes
|
|
8
|
-
|
|
9
|
-
def initialize(attributes = {}, options = {})
|
|
10
|
-
@attributes = attributes || {}
|
|
11
|
-
@options = options || {}
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
# int64 - sync bandwidth snapshot ID
|
|
15
|
-
def id
|
|
16
|
-
@attributes[:id]
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
def id=(value)
|
|
20
|
-
@attributes[:id] = value
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
# int64 - Site ID
|
|
24
|
-
def site_id
|
|
25
|
-
@attributes[:site_id]
|
|
26
|
-
end
|
|
27
|
-
|
|
28
|
-
def site_id=(value)
|
|
29
|
-
@attributes[:site_id] = value
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
# decimal - bytes received
|
|
33
|
-
def sync_bytes_received
|
|
34
|
-
value = @attributes[:sync_bytes_received]
|
|
35
|
-
return value if value.nil? || value.is_a?(BigDecimal)
|
|
36
|
-
|
|
37
|
-
BigDecimal(value.to_s)
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
def sync_bytes_received=(value)
|
|
41
|
-
@attributes[:sync_bytes_received] = value
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
# decimal - bytes sent
|
|
45
|
-
def sync_bytes_sent
|
|
46
|
-
value = @attributes[:sync_bytes_sent]
|
|
47
|
-
return value if value.nil? || value.is_a?(BigDecimal)
|
|
48
|
-
|
|
49
|
-
BigDecimal(value.to_s)
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
def sync_bytes_sent=(value)
|
|
53
|
-
@attributes[:sync_bytes_sent] = value
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
# date-time - sync bandwidth snapshot created at date/time
|
|
57
|
-
def created_at
|
|
58
|
-
@attributes[:created_at]
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
# int64 - ID for the remote server consuming sync bandwidth
|
|
62
|
-
def remote_server_id
|
|
63
|
-
@attributes[:remote_server_id]
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
def remote_server_id=(value)
|
|
67
|
-
@attributes[:remote_server_id] = value
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
def save
|
|
71
|
-
if @attributes[:id]
|
|
72
|
-
raise NotImplementedError.new("The SyncBandwidthSnapshot object doesn't support updates.")
|
|
73
|
-
else
|
|
74
|
-
new_obj = SyncBandwidthSnapshot.create(@attributes, @options)
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
@attributes = new_obj.attributes
|
|
78
|
-
true
|
|
79
|
-
end
|
|
80
|
-
|
|
81
|
-
# Parameters:
|
|
82
|
-
# remote_server_id (required) - int64 - ID for the remote server consuming sync bandwidth
|
|
83
|
-
# sync_bytes_sent (required) - int64 - Sync bytes sent
|
|
84
|
-
# sync_bytes_received (required) - int64 - Sync bytes received
|
|
85
|
-
def self.create(params = {}, options = {})
|
|
86
|
-
raise InvalidParameterError.new("Bad parameter: remote_server_id must be an Integer") if params[:remote_server_id] and !params[:remote_server_id].is_a?(Integer)
|
|
87
|
-
raise InvalidParameterError.new("Bad parameter: sync_bytes_sent must be an Integer") if params[:sync_bytes_sent] and !params[:sync_bytes_sent].is_a?(Integer)
|
|
88
|
-
raise InvalidParameterError.new("Bad parameter: sync_bytes_received must be an Integer") if params[:sync_bytes_received] and !params[:sync_bytes_received].is_a?(Integer)
|
|
89
|
-
raise MissingParameterError.new("Parameter missing: remote_server_id") unless params[:remote_server_id]
|
|
90
|
-
raise MissingParameterError.new("Parameter missing: sync_bytes_sent") unless params[:sync_bytes_sent]
|
|
91
|
-
raise MissingParameterError.new("Parameter missing: sync_bytes_received") unless params[:sync_bytes_received]
|
|
92
|
-
|
|
93
|
-
response, options = Api.send_request("/sync_bandwidth_snapshots", :post, params, options)
|
|
94
|
-
SyncBandwidthSnapshot.new(response.data, options)
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
def self.create_batch(params = {}, options = {})
|
|
98
|
-
response, options = Api.send_request("/sync_bandwidth_snapshots/create_batch", :post, params, options)
|
|
99
|
-
response.data.map do |entity_data|
|
|
100
|
-
SyncBandwidthSnapshot.new(entity_data, options)
|
|
101
|
-
end
|
|
102
|
-
end
|
|
103
|
-
end
|
|
104
|
-
end
|