apimatic-apollo-sdk 0.0.1
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 +7 -0
- data/LICENSE +28 -0
- data/README.md +179 -0
- data/bin/console +15 -0
- data/lib/apollo_rest_api/api_helper.rb +10 -0
- data/lib/apollo_rest_api/apis/accounts_api.rb +400 -0
- data/lib/apollo_rest_api/apis/analytics_api.rb +65 -0
- data/lib/apollo_rest_api/apis/api.rb +45 -0
- data/lib/apollo_rest_api/apis/base_api.rb +67 -0
- data/lib/apollo_rest_api/apis/calls_api.rb +354 -0
- data/lib/apollo_rest_api/apis/contacts_api.rb +478 -0
- data/lib/apollo_rest_api/apis/conversations_api.rb +157 -0
- data/lib/apollo_rest_api/apis/deals_api.rb +253 -0
- data/lib/apollo_rest_api/apis/emailer_messages_api.rb +160 -0
- data/lib/apollo_rest_api/apis/enrichment_api.rb +447 -0
- data/lib/apollo_rest_api/apis/miscellaneous_api.rb +610 -0
- data/lib/apollo_rest_api/apis/search_api.rb +675 -0
- data/lib/apollo_rest_api/apis/sequences_api.rb +774 -0
- data/lib/apollo_rest_api/apis/tasks_api.rb +397 -0
- data/lib/apollo_rest_api/client.rb +147 -0
- data/lib/apollo_rest_api/configuration.rb +170 -0
- data/lib/apollo_rest_api/exceptions/account_stages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_create422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_create429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_create500_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_update422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_update429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_search403_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_update_owners429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/api_exception.rb +21 -0
- data/lib/apollo_rest_api/exceptions/contact_stages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_create422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_create429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_create500_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_update422_error_exception.rb +51 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_update429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_opportunities429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_search403_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_update_owners422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_update_owners429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_update_stages422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_update_stages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations404_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations_export404_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations_export422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations_search403_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/email_accounts429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_abort422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_abort429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_add_contact_ids429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_approve422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_approve429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_archive429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_remove_or_stop_contact_ids429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_email_send_status404_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_email_send_status422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_email_send_status429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_search422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_send_now429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_schedules429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/fields429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels404_error_exception.rb +51 -0
- data/lib/apollo_rest_api/exceptions/labels422_error_exception.rb +53 -0
- data/lib/apollo_rest_api/exceptions/labels429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels_add_entity_ids_to_label_names422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels_add_entity_ids_to_label_names429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels_remove_entity_ids_from_label_names422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels_remove_entity_ids_from_label_names429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/mixed_companies_search403_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/mixed_companies_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/mixed_people_api_search422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/mixed_people_api_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/need_master_api_key_exception.rb +51 -0
- data/lib/apollo_rest_api/exceptions/notes400_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/opportunities404_error_exception.rb +51 -0
- data/lib/apollo_rest_api/exceptions/opportunities422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/opportunities429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/opportunities_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/opportunity_stages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_bulk_enrich400_error_exception.rb +58 -0
- data/lib/apollo_rest_api/exceptions/organizations_bulk_enrich429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_enrich422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_enrich429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_job_postings422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_job_postings429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/people_bulk_match429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/people_match429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/reports_sync_report400_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/reports_sync_report429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/sequences404_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/sequences422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/sequences429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks401_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_bulk_create422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_bulk_create429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_complete422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_complete429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_skip422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_skip429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/typed_custom_fields429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/users_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/webhook_result404_error_exception.rb +55 -0
- data/lib/apollo_rest_api/http/api_response.rb +19 -0
- data/lib/apollo_rest_api/http/auth/api_key.rb +52 -0
- data/lib/apollo_rest_api/http/auth/bearer_auth.rb +53 -0
- data/lib/apollo_rest_api/http/http_call_back.rb +10 -0
- data/lib/apollo_rest_api/http/http_method_enum.rb +10 -0
- data/lib/apollo_rest_api/http/http_request.rb +10 -0
- data/lib/apollo_rest_api/http/http_response.rb +10 -0
- data/lib/apollo_rest_api/http/proxy_settings.rb +22 -0
- data/lib/apollo_rest_api/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/apollo_rest_api/logging/sdk_logger.rb +17 -0
- data/lib/apollo_rest_api/models/account.rb +551 -0
- data/lib/apollo_rest_api/models/account1.rb +420 -0
- data/lib/apollo_rest_api/models/account10.rb +595 -0
- data/lib/apollo_rest_api/models/account12.rb +424 -0
- data/lib/apollo_rest_api/models/account14.rb +247 -0
- data/lib/apollo_rest_api/models/account2.rb +420 -0
- data/lib/apollo_rest_api/models/account22.rb +85 -0
- data/lib/apollo_rest_api/models/account3.rb +420 -0
- data/lib/apollo_rest_api/models/account4.rb +474 -0
- data/lib/apollo_rest_api/models/account5.rb +238 -0
- data/lib/apollo_rest_api/models/account6.rb +86 -0
- data/lib/apollo_rest_api/models/account7.rb +95 -0
- data/lib/apollo_rest_api/models/account8.rb +434 -0
- data/lib/apollo_rest_api/models/account9.rb +540 -0
- data/lib/apollo_rest_api/models/account_attribute.rb +116 -0
- data/lib/apollo_rest_api/models/account_rule_config_status.rb +138 -0
- data/lib/apollo_rest_api/models/account_stage.rb +151 -0
- data/lib/apollo_rest_api/models/account_stages_response.rb +85 -0
- data/lib/apollo_rest_api/models/accounts_bulk_create_request.rb +108 -0
- data/lib/apollo_rest_api/models/accounts_bulk_create_response.rb +105 -0
- data/lib/apollo_rest_api/models/accounts_bulk_update_request.rb +139 -0
- data/lib/apollo_rest_api/models/accounts_bulk_update_response.rb +84 -0
- data/lib/apollo_rest_api/models/accounts_request.rb +183 -0
- data/lib/apollo_rest_api/models/accounts_request1.rb +183 -0
- data/lib/apollo_rest_api/models/accounts_response.rb +75 -0
- data/lib/apollo_rest_api/models/accounts_response1.rb +85 -0
- data/lib/apollo_rest_api/models/accounts_search_request.rb +167 -0
- data/lib/apollo_rest_api/models/accounts_search_response.rb +168 -0
- data/lib/apollo_rest_api/models/accounts_update_owners_response.rb +84 -0
- data/lib/apollo_rest_api/models/active.rb +26 -0
- data/lib/apollo_rest_api/models/assistant_setting.rb +397 -0
- data/lib/apollo_rest_api/models/audio_recording.rb +74 -0
- data/lib/apollo_rest_api/models/base_model.rb +110 -0
- data/lib/apollo_rest_api/models/bounced.rb +26 -0
- data/lib/apollo_rest_api/models/breadcrumb.rb +107 -0
- data/lib/apollo_rest_api/models/check_apollo_pricing_plan.rb +75 -0
- data/lib/apollo_rest_api/models/check_the_account_id.rb +75 -0
- data/lib/apollo_rest_api/models/check_the_contact_stage_id.rb +75 -0
- data/lib/apollo_rest_api/models/contact.rb +809 -0
- data/lib/apollo_rest_api/models/contact1.rb +921 -0
- data/lib/apollo_rest_api/models/contact10.rb +465 -0
- data/lib/apollo_rest_api/models/contact11.rb +250 -0
- data/lib/apollo_rest_api/models/contact14.rb +248 -0
- data/lib/apollo_rest_api/models/contact15.rb +166 -0
- data/lib/apollo_rest_api/models/contact2.rb +884 -0
- data/lib/apollo_rest_api/models/contact3.rb +239 -0
- data/lib/apollo_rest_api/models/contact4.rb +105 -0
- data/lib/apollo_rest_api/models/contact5.rb +893 -0
- data/lib/apollo_rest_api/models/contact6.rb +839 -0
- data/lib/apollo_rest_api/models/contact7.rb +95 -0
- data/lib/apollo_rest_api/models/contact8.rb +375 -0
- data/lib/apollo_rest_api/models/contact9.rb +198 -0
- data/lib/apollo_rest_api/models/contact_attribute.rb +179 -0
- data/lib/apollo_rest_api/models/contact_campaign_status.rb +336 -0
- data/lib/apollo_rest_api/models/contact_campaign_status2.rb +163 -0
- data/lib/apollo_rest_api/models/contact_email.rb +167 -0
- data/lib/apollo_rest_api/models/contact_email1.rb +85 -0
- data/lib/apollo_rest_api/models/contact_email2.rb +148 -0
- data/lib/apollo_rest_api/models/contact_statuses.rb +132 -0
- data/lib/apollo_rest_api/models/contacts_bulk_create_request.rb +121 -0
- data/lib/apollo_rest_api/models/contacts_bulk_create_response.rb +106 -0
- data/lib/apollo_rest_api/models/contacts_bulk_update_request.rb +224 -0
- data/lib/apollo_rest_api/models/contacts_bulk_update_response.rb +94 -0
- data/lib/apollo_rest_api/models/contacts_bulk_update_response1.rb +87 -0
- data/lib/apollo_rest_api/models/contacts_opportunities_response.rb +85 -0
- data/lib/apollo_rest_api/models/contacts_request.rb +269 -0
- data/lib/apollo_rest_api/models/contacts_request1.rb +253 -0
- data/lib/apollo_rest_api/models/contacts_response.rb +94 -0
- data/lib/apollo_rest_api/models/contacts_response1.rb +94 -0
- data/lib/apollo_rest_api/models/contacts_response2.rb +75 -0
- data/lib/apollo_rest_api/models/contacts_search_request.rb +166 -0
- data/lib/apollo_rest_api/models/contacts_search_response.rb +168 -0
- data/lib/apollo_rest_api/models/contacts_update_owners_response.rb +84 -0
- data/lib/apollo_rest_api/models/contacts_update_stages_response.rb +84 -0
- data/lib/apollo_rest_api/models/conversation.rb +284 -0
- data/lib/apollo_rest_api/models/conversation_type.rb +36 -0
- data/lib/apollo_rest_api/models/conversation_type2.rb +36 -0
- data/lib/apollo_rest_api/models/conversations_export_request.rb +94 -0
- data/lib/apollo_rest_api/models/conversations_export_response.rb +86 -0
- data/lib/apollo_rest_api/models/conversations_export_response1.rb +76 -0
- data/lib/apollo_rest_api/models/conversations_response.rb +333 -0
- data/lib/apollo_rest_api/models/conversations_search_request.rb +207 -0
- data/lib/apollo_rest_api/models/conversations_search_response.rb +130 -0
- data/lib/apollo_rest_api/models/counts.rb +115 -0
- data/lib/apollo_rest_api/models/created_account.rb +174 -0
- data/lib/apollo_rest_api/models/created_contact.rb +195 -0
- data/lib/apollo_rest_api/models/creation_type.rb +41 -0
- data/lib/apollo_rest_api/models/currency.rb +95 -0
- data/lib/apollo_rest_api/models/current_technology.rb +95 -0
- data/lib/apollo_rest_api/models/date_range.rb +84 -0
- data/lib/apollo_rest_api/models/date_range1.rb +87 -0
- data/lib/apollo_rest_api/models/deal.rb +107 -0
- data/lib/apollo_rest_api/models/deliverability_score.rb +460 -0
- data/lib/apollo_rest_api/models/departmental_head_count.rb +260 -0
- data/lib/apollo_rest_api/models/detail.rb +173 -0
- data/lib/apollo_rest_api/models/detail1.rb +109 -0
- data/lib/apollo_rest_api/models/email_account.rb +616 -0
- data/lib/apollo_rest_api/models/email_accounts_response.rb +85 -0
- data/lib/apollo_rest_api/models/emailer_campaign.rb +722 -0
- data/lib/apollo_rest_api/models/emailer_campaign1.rb +359 -0
- data/lib/apollo_rest_api/models/emailer_campaign2.rb +158 -0
- data/lib/apollo_rest_api/models/emailer_campaign3.rb +95 -0
- data/lib/apollo_rest_api/models/emailer_campaign4.rb +96 -0
- data/lib/apollo_rest_api/models/emailer_campaign6.rb +105 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_abort_response.rb +96 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_add_contact_ids_response.rb +164 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_approve_response.rb +96 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_archive_response.rb +77 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_remove_or_stop_contact_ids_response.rb +77 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_search_response.rb +125 -0
- data/lib/apollo_rest_api/models/emailer_message.rb +676 -0
- data/lib/apollo_rest_api/models/emailer_message1.rb +410 -0
- data/lib/apollo_rest_api/models/emailer_messages_email_send_status_request.rb +74 -0
- data/lib/apollo_rest_api/models/emailer_messages_email_send_status_response.rb +166 -0
- data/lib/apollo_rest_api/models/emailer_messages_request.rb +197 -0
- data/lib/apollo_rest_api/models/emailer_messages_response.rb +77 -0
- data/lib/apollo_rest_api/models/emailer_messages_send_now_request.rb +76 -0
- data/lib/apollo_rest_api/models/emailer_messages_send_now_response.rb +77 -0
- data/lib/apollo_rest_api/models/emailer_schedule.rb +154 -0
- data/lib/apollo_rest_api/models/emailer_schedules_response.rb +85 -0
- data/lib/apollo_rest_api/models/emailer_step.rb +206 -0
- data/lib/apollo_rest_api/models/emailer_step1.rb +189 -0
- data/lib/apollo_rest_api/models/emailer_step2.rb +126 -0
- data/lib/apollo_rest_api/models/emailer_step3.rb +148 -0
- data/lib/apollo_rest_api/models/emailer_step4.rb +85 -0
- data/lib/apollo_rest_api/models/emailer_step5.rb +128 -0
- data/lib/apollo_rest_api/models/emailer_template.rb +100 -0
- data/lib/apollo_rest_api/models/emailer_template1.rb +95 -0
- data/lib/apollo_rest_api/models/emailer_template2.rb +85 -0
- data/lib/apollo_rest_api/models/emailer_touch.rb +254 -0
- data/lib/apollo_rest_api/models/emailer_touch1.rb +128 -0
- data/lib/apollo_rest_api/models/emailer_touch2.rb +117 -0
- data/lib/apollo_rest_api/models/emailer_touch3.rb +139 -0
- data/lib/apollo_rest_api/models/emailer_touch4.rb +85 -0
- data/lib/apollo_rest_api/models/employment_history.rb +238 -0
- data/lib/apollo_rest_api/models/entity_progress_job.rb +153 -0
- data/lib/apollo_rest_api/models/entity_progress_job1.rb +135 -0
- data/lib/apollo_rest_api/models/entity_progress_job2.rb +141 -0
- data/lib/apollo_rest_api/models/error_details.rb +95 -0
- data/lib/apollo_rest_api/models/existing_account.rb +152 -0
- data/lib/apollo_rest_api/models/existing_contact.rb +171 -0
- data/lib/apollo_rest_api/models/faceting.rb +523 -0
- data/lib/apollo_rest_api/models/failure_reason.rb +44 -0
- data/lib/apollo_rest_api/models/field.rb +181 -0
- data/lib/apollo_rest_api/models/fields_request.rb +105 -0
- data/lib/apollo_rest_api/models/fields_response.rb +84 -0
- data/lib/apollo_rest_api/models/fields_response1.rb +85 -0
- data/lib/apollo_rest_api/models/filters.rb +165 -0
- data/lib/apollo_rest_api/models/finished.rb +26 -0
- data/lib/apollo_rest_api/models/funding_event.rb +134 -0
- data/lib/apollo_rest_api/models/generation_option.rb +107 -0
- data/lib/apollo_rest_api/models/generation_tone.rb +86 -0
- data/lib/apollo_rest_api/models/group_by.rb +84 -0
- data/lib/apollo_rest_api/models/industry_tag_hash.rb +83 -0
- data/lib/apollo_rest_api/models/label.rb +135 -0
- data/lib/apollo_rest_api/models/label2.rb +147 -0
- data/lib/apollo_rest_api/models/labels_add_entity_ids_to_label_names_request.rb +113 -0
- data/lib/apollo_rest_api/models/labels_add_entity_ids_to_label_names_response.rb +107 -0
- data/lib/apollo_rest_api/models/labels_remove_entity_ids_from_label_names_request.rb +113 -0
- data/lib/apollo_rest_api/models/labels_remove_entity_ids_from_label_names_response.rb +107 -0
- data/lib/apollo_rest_api/models/labels_request.rb +97 -0
- data/lib/apollo_rest_api/models/labels_request1.rb +87 -0
- data/lib/apollo_rest_api/models/labels_response.rb +201 -0
- data/lib/apollo_rest_api/models/labels_response1.rb +75 -0
- data/lib/apollo_rest_api/models/match.rb +393 -0
- data/lib/apollo_rest_api/models/meta.rb +76 -0
- data/lib/apollo_rest_api/models/metric.rb +117 -0
- data/lib/apollo_rest_api/models/metric1.rb +100 -0
- data/lib/apollo_rest_api/models/mixed_companies_search_response.rb +199 -0
- data/lib/apollo_rest_api/models/mixed_people_api_search_response.rb +95 -0
- data/lib/apollo_rest_api/models/modality.rb +37 -0
- data/lib/apollo_rest_api/models/modality1.rb +37 -0
- data/lib/apollo_rest_api/models/modality3.rb +40 -0
- data/lib/apollo_rest_api/models/note.rb +260 -0
- data/lib/apollo_rest_api/models/notes_response.rb +84 -0
- data/lib/apollo_rest_api/models/opportunities_request.rb +175 -0
- data/lib/apollo_rest_api/models/opportunities_request1.rb +164 -0
- data/lib/apollo_rest_api/models/opportunities_response.rb +76 -0
- data/lib/apollo_rest_api/models/opportunities_response1.rb +76 -0
- data/lib/apollo_rest_api/models/opportunities_response2.rb +76 -0
- data/lib/apollo_rest_api/models/opportunities_search_response.rb +170 -0
- data/lib/apollo_rest_api/models/opportunity.rb +602 -0
- data/lib/apollo_rest_api/models/opportunity1.rb +574 -0
- data/lib/apollo_rest_api/models/opportunity11.rb +217 -0
- data/lib/apollo_rest_api/models/opportunity2.rb +583 -0
- data/lib/apollo_rest_api/models/opportunity3.rb +594 -0
- data/lib/apollo_rest_api/models/opportunity4.rb +574 -0
- data/lib/apollo_rest_api/models/opportunity5.rb +591 -0
- data/lib/apollo_rest_api/models/opportunity_contact_role.rb +95 -0
- data/lib/apollo_rest_api/models/opportunity_contact_role1.rb +135 -0
- data/lib/apollo_rest_api/models/opportunity_stage.rb +210 -0
- data/lib/apollo_rest_api/models/opportunity_stages_response.rb +85 -0
- data/lib/apollo_rest_api/models/organization.rb +659 -0
- data/lib/apollo_rest_api/models/organization1.rb +422 -0
- data/lib/apollo_rest_api/models/organization2.rb +752 -0
- data/lib/apollo_rest_api/models/organization3.rb +600 -0
- data/lib/apollo_rest_api/models/organization4.rb +162 -0
- data/lib/apollo_rest_api/models/organization5.rb +336 -0
- data/lib/apollo_rest_api/models/organization6.rb +264 -0
- data/lib/apollo_rest_api/models/organization7.rb +88 -0
- data/lib/apollo_rest_api/models/organization_job_posting.rb +144 -0
- data/lib/apollo_rest_api/models/organizations_bulk_enrich_request.rb +89 -0
- data/lib/apollo_rest_api/models/organizations_bulk_enrich_response.rb +194 -0
- data/lib/apollo_rest_api/models/organizations_enrich_response.rb +76 -0
- data/lib/apollo_rest_api/models/organizations_job_postings_response.rb +88 -0
- data/lib/apollo_rest_api/models/pagination.rb +105 -0
- data/lib/apollo_rest_api/models/pagination6.rb +105 -0
- data/lib/apollo_rest_api/models/params.rb +116 -0
- data/lib/apollo_rest_api/models/participants.rb +85 -0
- data/lib/apollo_rest_api/models/paused.rb +26 -0
- data/lib/apollo_rest_api/models/people_bulk_match_request.rb +83 -0
- data/lib/apollo_rest_api/models/people_bulk_match_response.rb +180 -0
- data/lib/apollo_rest_api/models/people_match_response.rb +87 -0
- data/lib/apollo_rest_api/models/person.rb +393 -0
- data/lib/apollo_rest_api/models/person1.rb +196 -0
- data/lib/apollo_rest_api/models/phone_call.rb +131 -0
- data/lib/apollo_rest_api/models/phone_number.rb +149 -0
- data/lib/apollo_rest_api/models/phone_number1.rb +149 -0
- data/lib/apollo_rest_api/models/phone_number3.rb +97 -0
- data/lib/apollo_rest_api/models/phone_number4.rb +85 -0
- data/lib/apollo_rest_api/models/phone_number5.rb +127 -0
- data/lib/apollo_rest_api/models/pivot_group_by.rb +85 -0
- data/lib/apollo_rest_api/models/primary_phone.rb +96 -0
- data/lib/apollo_rest_api/models/priority.rb +40 -0
- data/lib/apollo_rest_api/models/recipient.rb +100 -0
- data/lib/apollo_rest_api/models/recipient1.rb +116 -0
- data/lib/apollo_rest_api/models/reports_sync_report_request.rb +253 -0
- data/lib/apollo_rest_api/models/reports_sync_report_response.rb +102 -0
- data/lib/apollo_rest_api/models/request_type.rb +40 -0
- data/lib/apollo_rest_api/models/response.rb +118 -0
- data/lib/apollo_rest_api/models/role.rb +112 -0
- data/lib/apollo_rest_api/models/send_from.rb +116 -0
- data/lib/apollo_rest_api/models/sequences_request.rb +391 -0
- data/lib/apollo_rest_api/models/sequences_request1.rb +206 -0
- data/lib/apollo_rest_api/models/sequences_response.rb +148 -0
- data/lib/apollo_rest_api/models/sequences_response1.rb +203 -0
- data/lib/apollo_rest_api/models/sharing_access.rb +148 -0
- data/lib/apollo_rest_api/models/sharing_permission.rb +154 -0
- data/lib/apollo_rest_api/models/skipped_contact_ids.rb +77 -0
- data/lib/apollo_rest_api/models/smart_datetime_range.rb +86 -0
- data/lib/apollo_rest_api/models/sort.rb +85 -0
- data/lib/apollo_rest_api/models/sort_by_field.rb +43 -0
- data/lib/apollo_rest_api/models/sort_by_field1.rb +36 -0
- data/lib/apollo_rest_api/models/sort_direction.rb +36 -0
- data/lib/apollo_rest_api/models/source.rb +40 -0
- data/lib/apollo_rest_api/models/status.rb +44 -0
- data/lib/apollo_rest_api/models/status2.rb +36 -0
- data/lib/apollo_rest_api/models/status3.rb +40 -0
- data/lib/apollo_rest_api/models/status4.rb +37 -0
- data/lib/apollo_rest_api/models/step.rb +127 -0
- data/lib/apollo_rest_api/models/task.rb +394 -0
- data/lib/apollo_rest_api/models/task2.rb +536 -0
- data/lib/apollo_rest_api/models/task4.rb +524 -0
- data/lib/apollo_rest_api/models/task5.rb +104 -0
- data/lib/apollo_rest_api/models/task_type.rb +95 -0
- data/lib/apollo_rest_api/models/tasks_bulk_create_request.rb +173 -0
- data/lib/apollo_rest_api/models/tasks_bulk_create_response.rb +94 -0
- data/lib/apollo_rest_api/models/tasks_complete_request.rb +75 -0
- data/lib/apollo_rest_api/models/tasks_complete_response.rb +86 -0
- data/lib/apollo_rest_api/models/tasks_request.rb +183 -0
- data/lib/apollo_rest_api/models/tasks_request1.rb +227 -0
- data/lib/apollo_rest_api/models/tasks_response.rb +74 -0
- data/lib/apollo_rest_api/models/tasks_response1.rb +74 -0
- data/lib/apollo_rest_api/models/tasks_search_response.rb +136 -0
- data/lib/apollo_rest_api/models/tasks_skip_request.rb +88 -0
- data/lib/apollo_rest_api/models/tasks_skip_response.rb +74 -0
- data/lib/apollo_rest_api/models/team.rb +87 -0
- data/lib/apollo_rest_api/models/total_facet.rb +95 -0
- data/lib/apollo_rest_api/models/true_warmup_thresholds.rb +106 -0
- data/lib/apollo_rest_api/models/type.rb +44 -0
- data/lib/apollo_rest_api/models/type1.rb +36 -0
- data/lib/apollo_rest_api/models/type2.rb +52 -0
- data/lib/apollo_rest_api/models/typed_custom_fields.rb +111 -0
- data/lib/apollo_rest_api/models/typed_custom_fields6.rb +106 -0
- data/lib/apollo_rest_api/models/typed_custom_fields7.rb +243 -0
- data/lib/apollo_rest_api/models/typed_custom_fields_response.rb +85 -0
- data/lib/apollo_rest_api/models/unique_completed.rb +26 -0
- data/lib/apollo_rest_api/models/unique_scheduled.rb +26 -0
- data/lib/apollo_rest_api/models/unique_skipped.rb +26 -0
- data/lib/apollo_rest_api/models/user.rb +1294 -0
- data/lib/apollo_rest_api/models/users_api_profile_response.rb +309 -0
- data/lib/apollo_rest_api/models/users_search_response.rb +106 -0
- data/lib/apollo_rest_api/models/video_recording.rb +95 -0
- data/lib/apollo_rest_api/models/wait_mode.rb +40 -0
- data/lib/apollo_rest_api/models/webhook_result_response.rb +140 -0
- data/lib/apollo_rest_api/models/webhook_status.rb +40 -0
- data/lib/apollo_rest_api/utilities/date_time_helper.rb +11 -0
- data/lib/apollo_rest_api/utilities/file_wrapper.rb +28 -0
- data/lib/apollo_rest_api/utilities/union_type_lookup.rb +128 -0
- data/lib/apollo_rest_api.rb +503 -0
- metadata +499 -0
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
# apollo_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ApolloRestApi
|
|
7
|
+
# DeliverabilityScore Model.
|
|
8
|
+
class DeliverabilityScore < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
attr_accessor :avg_click_rate
|
|
15
|
+
|
|
16
|
+
# TODO: Write general description for this method
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
attr_accessor :avg_daily_sent
|
|
19
|
+
|
|
20
|
+
# TODO: Write general description for this method
|
|
21
|
+
# @return [Integer]
|
|
22
|
+
attr_accessor :avg_delivered_rate
|
|
23
|
+
|
|
24
|
+
# TODO: Write general description for this method
|
|
25
|
+
# @return [Integer]
|
|
26
|
+
attr_accessor :avg_hard_bounce_rate
|
|
27
|
+
|
|
28
|
+
# TODO: Write general description for this method
|
|
29
|
+
# @return [Integer]
|
|
30
|
+
attr_accessor :avg_open_rate
|
|
31
|
+
|
|
32
|
+
# TODO: Write general description for this method
|
|
33
|
+
# @return [Integer]
|
|
34
|
+
attr_accessor :avg_reply_rate
|
|
35
|
+
|
|
36
|
+
# TODO: Write general description for this method
|
|
37
|
+
# @return [Integer]
|
|
38
|
+
attr_accessor :avg_spam_block_rate
|
|
39
|
+
|
|
40
|
+
# TODO: Write general description for this method
|
|
41
|
+
# @return [Integer]
|
|
42
|
+
attr_accessor :avg_unsubscribe_rate
|
|
43
|
+
|
|
44
|
+
# TODO: Write general description for this method
|
|
45
|
+
# @return [Integer]
|
|
46
|
+
attr_accessor :click_rate_score
|
|
47
|
+
|
|
48
|
+
# TODO: Write general description for this method
|
|
49
|
+
# @return [Object]
|
|
50
|
+
attr_accessor :concurrency_locks
|
|
51
|
+
|
|
52
|
+
# TODO: Write general description for this method
|
|
53
|
+
# @return [String]
|
|
54
|
+
attr_accessor :created_at
|
|
55
|
+
|
|
56
|
+
# TODO: Write general description for this method
|
|
57
|
+
# @return [Integer]
|
|
58
|
+
attr_accessor :daily_email_sent_score
|
|
59
|
+
|
|
60
|
+
# TODO: Write general description for this method
|
|
61
|
+
# @return [String]
|
|
62
|
+
attr_accessor :date_from
|
|
63
|
+
|
|
64
|
+
# TODO: Write general description for this method
|
|
65
|
+
# @return [String]
|
|
66
|
+
attr_accessor :date_to
|
|
67
|
+
|
|
68
|
+
# TODO: Write general description for this method
|
|
69
|
+
# @return [Integer]
|
|
70
|
+
attr_accessor :deliverability_score
|
|
71
|
+
|
|
72
|
+
# TODO: Write general description for this method
|
|
73
|
+
# @return [Integer]
|
|
74
|
+
attr_accessor :domain_health_score
|
|
75
|
+
|
|
76
|
+
# TODO: Write general description for this method
|
|
77
|
+
# @return [Integer]
|
|
78
|
+
attr_accessor :email_account_domain_age_score
|
|
79
|
+
|
|
80
|
+
# TODO: Write general description for this method
|
|
81
|
+
# @return [String]
|
|
82
|
+
attr_accessor :email_account_id
|
|
83
|
+
|
|
84
|
+
# TODO: Write general description for this method
|
|
85
|
+
# @return [Integer]
|
|
86
|
+
attr_accessor :hard_bounce_score
|
|
87
|
+
|
|
88
|
+
# TODO: Write general description for this method
|
|
89
|
+
# @return [Integer]
|
|
90
|
+
attr_accessor :open_rate_score
|
|
91
|
+
|
|
92
|
+
# TODO: Write general description for this method
|
|
93
|
+
# @return [Float]
|
|
94
|
+
attr_accessor :random
|
|
95
|
+
|
|
96
|
+
# TODO: Write general description for this method
|
|
97
|
+
# @return [Integer]
|
|
98
|
+
attr_accessor :reply_rate_score
|
|
99
|
+
|
|
100
|
+
# TODO: Write general description for this method
|
|
101
|
+
# @return [Integer]
|
|
102
|
+
attr_accessor :spam_block_score
|
|
103
|
+
|
|
104
|
+
# TODO: Write general description for this method
|
|
105
|
+
# @return [Integer]
|
|
106
|
+
attr_accessor :sum_clicked_count
|
|
107
|
+
|
|
108
|
+
# TODO: Write general description for this method
|
|
109
|
+
# @return [Integer]
|
|
110
|
+
attr_accessor :sum_delivered_count
|
|
111
|
+
|
|
112
|
+
# TODO: Write general description for this method
|
|
113
|
+
# @return [Integer]
|
|
114
|
+
attr_accessor :sum_hard_bounced_count
|
|
115
|
+
|
|
116
|
+
# TODO: Write general description for this method
|
|
117
|
+
# @return [Integer]
|
|
118
|
+
attr_accessor :sum_opened_count
|
|
119
|
+
|
|
120
|
+
# TODO: Write general description for this method
|
|
121
|
+
# @return [Integer]
|
|
122
|
+
attr_accessor :sum_replied_count
|
|
123
|
+
|
|
124
|
+
# TODO: Write general description for this method
|
|
125
|
+
# @return [Integer]
|
|
126
|
+
attr_accessor :sum_sent_count
|
|
127
|
+
|
|
128
|
+
# TODO: Write general description for this method
|
|
129
|
+
# @return [Integer]
|
|
130
|
+
attr_accessor :sum_spam_blocked_count
|
|
131
|
+
|
|
132
|
+
# TODO: Write general description for this method
|
|
133
|
+
# @return [Integer]
|
|
134
|
+
attr_accessor :sum_unsubscribed_count
|
|
135
|
+
|
|
136
|
+
# TODO: Write general description for this method
|
|
137
|
+
# @return [String]
|
|
138
|
+
attr_accessor :team_id
|
|
139
|
+
|
|
140
|
+
# TODO: Write general description for this method
|
|
141
|
+
# @return [Integer]
|
|
142
|
+
attr_accessor :unsubscribe_rate_score
|
|
143
|
+
|
|
144
|
+
# TODO: Write general description for this method
|
|
145
|
+
# @return [String]
|
|
146
|
+
attr_accessor :updated_at
|
|
147
|
+
|
|
148
|
+
# TODO: Write general description for this method
|
|
149
|
+
# @return [String]
|
|
150
|
+
attr_accessor :user_id
|
|
151
|
+
|
|
152
|
+
# TODO: Write general description for this method
|
|
153
|
+
# @return [String]
|
|
154
|
+
attr_accessor :id
|
|
155
|
+
|
|
156
|
+
# TODO: Write general description for this method
|
|
157
|
+
# @return [String]
|
|
158
|
+
attr_accessor :key
|
|
159
|
+
|
|
160
|
+
# A mapping from model property names to API property names.
|
|
161
|
+
def self.names
|
|
162
|
+
@_hash = {} if @_hash.nil?
|
|
163
|
+
@_hash['avg_click_rate'] = 'avg_click_rate'
|
|
164
|
+
@_hash['avg_daily_sent'] = 'avg_daily_sent'
|
|
165
|
+
@_hash['avg_delivered_rate'] = 'avg_delivered_rate'
|
|
166
|
+
@_hash['avg_hard_bounce_rate'] = 'avg_hard_bounce_rate'
|
|
167
|
+
@_hash['avg_open_rate'] = 'avg_open_rate'
|
|
168
|
+
@_hash['avg_reply_rate'] = 'avg_reply_rate'
|
|
169
|
+
@_hash['avg_spam_block_rate'] = 'avg_spam_block_rate'
|
|
170
|
+
@_hash['avg_unsubscribe_rate'] = 'avg_unsubscribe_rate'
|
|
171
|
+
@_hash['click_rate_score'] = 'click_rate_score'
|
|
172
|
+
@_hash['concurrency_locks'] = 'concurrency_locks'
|
|
173
|
+
@_hash['created_at'] = 'created_at'
|
|
174
|
+
@_hash['daily_email_sent_score'] = 'daily_email_sent_score'
|
|
175
|
+
@_hash['date_from'] = 'date_from'
|
|
176
|
+
@_hash['date_to'] = 'date_to'
|
|
177
|
+
@_hash['deliverability_score'] = 'deliverability_score'
|
|
178
|
+
@_hash['domain_health_score'] = 'domain_health_score'
|
|
179
|
+
@_hash['email_account_domain_age_score'] =
|
|
180
|
+
'email_account_domain_age_score'
|
|
181
|
+
@_hash['email_account_id'] = 'email_account_id'
|
|
182
|
+
@_hash['hard_bounce_score'] = 'hard_bounce_score'
|
|
183
|
+
@_hash['open_rate_score'] = 'open_rate_score'
|
|
184
|
+
@_hash['random'] = 'random'
|
|
185
|
+
@_hash['reply_rate_score'] = 'reply_rate_score'
|
|
186
|
+
@_hash['spam_block_score'] = 'spam_block_score'
|
|
187
|
+
@_hash['sum_clicked_count'] = 'sum_clicked_count'
|
|
188
|
+
@_hash['sum_delivered_count'] = 'sum_delivered_count'
|
|
189
|
+
@_hash['sum_hard_bounced_count'] = 'sum_hard_bounced_count'
|
|
190
|
+
@_hash['sum_opened_count'] = 'sum_opened_count'
|
|
191
|
+
@_hash['sum_replied_count'] = 'sum_replied_count'
|
|
192
|
+
@_hash['sum_sent_count'] = 'sum_sent_count'
|
|
193
|
+
@_hash['sum_spam_blocked_count'] = 'sum_spam_blocked_count'
|
|
194
|
+
@_hash['sum_unsubscribed_count'] = 'sum_unsubscribed_count'
|
|
195
|
+
@_hash['team_id'] = 'team_id'
|
|
196
|
+
@_hash['unsubscribe_rate_score'] = 'unsubscribe_rate_score'
|
|
197
|
+
@_hash['updated_at'] = 'updated_at'
|
|
198
|
+
@_hash['user_id'] = 'user_id'
|
|
199
|
+
@_hash['id'] = 'id'
|
|
200
|
+
@_hash['key'] = 'key'
|
|
201
|
+
@_hash
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# An array for optional fields
|
|
205
|
+
def self.optionals
|
|
206
|
+
%w[
|
|
207
|
+
avg_click_rate
|
|
208
|
+
avg_daily_sent
|
|
209
|
+
avg_delivered_rate
|
|
210
|
+
avg_hard_bounce_rate
|
|
211
|
+
avg_open_rate
|
|
212
|
+
avg_reply_rate
|
|
213
|
+
avg_spam_block_rate
|
|
214
|
+
avg_unsubscribe_rate
|
|
215
|
+
click_rate_score
|
|
216
|
+
concurrency_locks
|
|
217
|
+
created_at
|
|
218
|
+
daily_email_sent_score
|
|
219
|
+
date_from
|
|
220
|
+
date_to
|
|
221
|
+
deliverability_score
|
|
222
|
+
domain_health_score
|
|
223
|
+
email_account_domain_age_score
|
|
224
|
+
email_account_id
|
|
225
|
+
hard_bounce_score
|
|
226
|
+
open_rate_score
|
|
227
|
+
random
|
|
228
|
+
reply_rate_score
|
|
229
|
+
spam_block_score
|
|
230
|
+
sum_clicked_count
|
|
231
|
+
sum_delivered_count
|
|
232
|
+
sum_hard_bounced_count
|
|
233
|
+
sum_opened_count
|
|
234
|
+
sum_replied_count
|
|
235
|
+
sum_sent_count
|
|
236
|
+
sum_spam_blocked_count
|
|
237
|
+
sum_unsubscribed_count
|
|
238
|
+
team_id
|
|
239
|
+
unsubscribe_rate_score
|
|
240
|
+
updated_at
|
|
241
|
+
user_id
|
|
242
|
+
id
|
|
243
|
+
key
|
|
244
|
+
]
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
# An array for nullable fields
|
|
248
|
+
def self.nullables
|
|
249
|
+
[]
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
def initialize(avg_click_rate: 0, avg_daily_sent: 0, avg_delivered_rate: 0,
|
|
253
|
+
avg_hard_bounce_rate: 0, avg_open_rate: 0, avg_reply_rate: 0,
|
|
254
|
+
avg_spam_block_rate: 0, avg_unsubscribe_rate: 0,
|
|
255
|
+
click_rate_score: 0, concurrency_locks: SKIP,
|
|
256
|
+
created_at: SKIP, daily_email_sent_score: 0, date_from: SKIP,
|
|
257
|
+
date_to: SKIP, deliverability_score: 0,
|
|
258
|
+
domain_health_score: 0, email_account_domain_age_score: 0,
|
|
259
|
+
email_account_id: SKIP, hard_bounce_score: 0,
|
|
260
|
+
open_rate_score: 0, random: 0, reply_rate_score: 0,
|
|
261
|
+
spam_block_score: 0, sum_clicked_count: 0,
|
|
262
|
+
sum_delivered_count: 0, sum_hard_bounced_count: 0,
|
|
263
|
+
sum_opened_count: 0, sum_replied_count: 0, sum_sent_count: 0,
|
|
264
|
+
sum_spam_blocked_count: 0, sum_unsubscribed_count: 0,
|
|
265
|
+
team_id: SKIP, unsubscribe_rate_score: 0, updated_at: SKIP,
|
|
266
|
+
user_id: SKIP, id: SKIP, key: SKIP,
|
|
267
|
+
additional_properties: nil)
|
|
268
|
+
# Add additional model properties to the instance
|
|
269
|
+
additional_properties = {} if additional_properties.nil?
|
|
270
|
+
|
|
271
|
+
@avg_click_rate = avg_click_rate unless avg_click_rate == SKIP
|
|
272
|
+
@avg_daily_sent = avg_daily_sent unless avg_daily_sent == SKIP
|
|
273
|
+
@avg_delivered_rate = avg_delivered_rate unless avg_delivered_rate == SKIP
|
|
274
|
+
@avg_hard_bounce_rate = avg_hard_bounce_rate unless avg_hard_bounce_rate == SKIP
|
|
275
|
+
@avg_open_rate = avg_open_rate unless avg_open_rate == SKIP
|
|
276
|
+
@avg_reply_rate = avg_reply_rate unless avg_reply_rate == SKIP
|
|
277
|
+
@avg_spam_block_rate = avg_spam_block_rate unless avg_spam_block_rate == SKIP
|
|
278
|
+
@avg_unsubscribe_rate = avg_unsubscribe_rate unless avg_unsubscribe_rate == SKIP
|
|
279
|
+
@click_rate_score = click_rate_score unless click_rate_score == SKIP
|
|
280
|
+
@concurrency_locks = concurrency_locks unless concurrency_locks == SKIP
|
|
281
|
+
@created_at = created_at unless created_at == SKIP
|
|
282
|
+
@daily_email_sent_score = daily_email_sent_score unless daily_email_sent_score == SKIP
|
|
283
|
+
@date_from = date_from unless date_from == SKIP
|
|
284
|
+
@date_to = date_to unless date_to == SKIP
|
|
285
|
+
@deliverability_score = deliverability_score unless deliverability_score == SKIP
|
|
286
|
+
@domain_health_score = domain_health_score unless domain_health_score == SKIP
|
|
287
|
+
unless email_account_domain_age_score == SKIP
|
|
288
|
+
@email_account_domain_age_score =
|
|
289
|
+
email_account_domain_age_score
|
|
290
|
+
end
|
|
291
|
+
@email_account_id = email_account_id unless email_account_id == SKIP
|
|
292
|
+
@hard_bounce_score = hard_bounce_score unless hard_bounce_score == SKIP
|
|
293
|
+
@open_rate_score = open_rate_score unless open_rate_score == SKIP
|
|
294
|
+
@random = random unless random == SKIP
|
|
295
|
+
@reply_rate_score = reply_rate_score unless reply_rate_score == SKIP
|
|
296
|
+
@spam_block_score = spam_block_score unless spam_block_score == SKIP
|
|
297
|
+
@sum_clicked_count = sum_clicked_count unless sum_clicked_count == SKIP
|
|
298
|
+
@sum_delivered_count = sum_delivered_count unless sum_delivered_count == SKIP
|
|
299
|
+
@sum_hard_bounced_count = sum_hard_bounced_count unless sum_hard_bounced_count == SKIP
|
|
300
|
+
@sum_opened_count = sum_opened_count unless sum_opened_count == SKIP
|
|
301
|
+
@sum_replied_count = sum_replied_count unless sum_replied_count == SKIP
|
|
302
|
+
@sum_sent_count = sum_sent_count unless sum_sent_count == SKIP
|
|
303
|
+
@sum_spam_blocked_count = sum_spam_blocked_count unless sum_spam_blocked_count == SKIP
|
|
304
|
+
@sum_unsubscribed_count = sum_unsubscribed_count unless sum_unsubscribed_count == SKIP
|
|
305
|
+
@team_id = team_id unless team_id == SKIP
|
|
306
|
+
@unsubscribe_rate_score = unsubscribe_rate_score unless unsubscribe_rate_score == SKIP
|
|
307
|
+
@updated_at = updated_at unless updated_at == SKIP
|
|
308
|
+
@user_id = user_id unless user_id == SKIP
|
|
309
|
+
@id = id unless id == SKIP
|
|
310
|
+
@key = key unless key == SKIP
|
|
311
|
+
@additional_properties = additional_properties
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
# Creates an instance of the object from a hash.
|
|
315
|
+
def self.from_hash(hash)
|
|
316
|
+
return nil unless hash
|
|
317
|
+
|
|
318
|
+
# Extract variables from the hash.
|
|
319
|
+
avg_click_rate = hash['avg_click_rate'] ||= 0
|
|
320
|
+
avg_daily_sent = hash['avg_daily_sent'] ||= 0
|
|
321
|
+
avg_delivered_rate = hash['avg_delivered_rate'] ||= 0
|
|
322
|
+
avg_hard_bounce_rate = hash['avg_hard_bounce_rate'] ||= 0
|
|
323
|
+
avg_open_rate = hash['avg_open_rate'] ||= 0
|
|
324
|
+
avg_reply_rate = hash['avg_reply_rate'] ||= 0
|
|
325
|
+
avg_spam_block_rate = hash['avg_spam_block_rate'] ||= 0
|
|
326
|
+
avg_unsubscribe_rate = hash['avg_unsubscribe_rate'] ||= 0
|
|
327
|
+
click_rate_score = hash['click_rate_score'] ||= 0
|
|
328
|
+
concurrency_locks =
|
|
329
|
+
hash.key?('concurrency_locks') ? hash['concurrency_locks'] : SKIP
|
|
330
|
+
created_at = hash.key?('created_at') ? hash['created_at'] : SKIP
|
|
331
|
+
daily_email_sent_score = hash['daily_email_sent_score'] ||= 0
|
|
332
|
+
date_from = hash.key?('date_from') ? hash['date_from'] : SKIP
|
|
333
|
+
date_to = hash.key?('date_to') ? hash['date_to'] : SKIP
|
|
334
|
+
deliverability_score = hash['deliverability_score'] ||= 0
|
|
335
|
+
domain_health_score = hash['domain_health_score'] ||= 0
|
|
336
|
+
email_account_domain_age_score =
|
|
337
|
+
hash['email_account_domain_age_score'] ||= 0
|
|
338
|
+
email_account_id =
|
|
339
|
+
hash.key?('email_account_id') ? hash['email_account_id'] : SKIP
|
|
340
|
+
hard_bounce_score = hash['hard_bounce_score'] ||= 0
|
|
341
|
+
open_rate_score = hash['open_rate_score'] ||= 0
|
|
342
|
+
random = hash['random'] ||= 0
|
|
343
|
+
reply_rate_score = hash['reply_rate_score'] ||= 0
|
|
344
|
+
spam_block_score = hash['spam_block_score'] ||= 0
|
|
345
|
+
sum_clicked_count = hash['sum_clicked_count'] ||= 0
|
|
346
|
+
sum_delivered_count = hash['sum_delivered_count'] ||= 0
|
|
347
|
+
sum_hard_bounced_count = hash['sum_hard_bounced_count'] ||= 0
|
|
348
|
+
sum_opened_count = hash['sum_opened_count'] ||= 0
|
|
349
|
+
sum_replied_count = hash['sum_replied_count'] ||= 0
|
|
350
|
+
sum_sent_count = hash['sum_sent_count'] ||= 0
|
|
351
|
+
sum_spam_blocked_count = hash['sum_spam_blocked_count'] ||= 0
|
|
352
|
+
sum_unsubscribed_count = hash['sum_unsubscribed_count'] ||= 0
|
|
353
|
+
team_id = hash.key?('team_id') ? hash['team_id'] : SKIP
|
|
354
|
+
unsubscribe_rate_score = hash['unsubscribe_rate_score'] ||= 0
|
|
355
|
+
updated_at = hash.key?('updated_at') ? hash['updated_at'] : SKIP
|
|
356
|
+
user_id = hash.key?('user_id') ? hash['user_id'] : SKIP
|
|
357
|
+
id = hash.key?('id') ? hash['id'] : SKIP
|
|
358
|
+
key = hash.key?('key') ? hash['key'] : SKIP
|
|
359
|
+
|
|
360
|
+
# Create a new hash for additional properties, removing known properties.
|
|
361
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
362
|
+
|
|
363
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
364
|
+
new_hash, proc { |value| value }
|
|
365
|
+
)
|
|
366
|
+
|
|
367
|
+
# Create object from extracted values.
|
|
368
|
+
DeliverabilityScore.new(avg_click_rate: avg_click_rate,
|
|
369
|
+
avg_daily_sent: avg_daily_sent,
|
|
370
|
+
avg_delivered_rate: avg_delivered_rate,
|
|
371
|
+
avg_hard_bounce_rate: avg_hard_bounce_rate,
|
|
372
|
+
avg_open_rate: avg_open_rate,
|
|
373
|
+
avg_reply_rate: avg_reply_rate,
|
|
374
|
+
avg_spam_block_rate: avg_spam_block_rate,
|
|
375
|
+
avg_unsubscribe_rate: avg_unsubscribe_rate,
|
|
376
|
+
click_rate_score: click_rate_score,
|
|
377
|
+
concurrency_locks: concurrency_locks,
|
|
378
|
+
created_at: created_at,
|
|
379
|
+
daily_email_sent_score: daily_email_sent_score,
|
|
380
|
+
date_from: date_from,
|
|
381
|
+
date_to: date_to,
|
|
382
|
+
deliverability_score: deliverability_score,
|
|
383
|
+
domain_health_score: domain_health_score,
|
|
384
|
+
email_account_domain_age_score: email_account_domain_age_score,
|
|
385
|
+
email_account_id: email_account_id,
|
|
386
|
+
hard_bounce_score: hard_bounce_score,
|
|
387
|
+
open_rate_score: open_rate_score,
|
|
388
|
+
random: random,
|
|
389
|
+
reply_rate_score: reply_rate_score,
|
|
390
|
+
spam_block_score: spam_block_score,
|
|
391
|
+
sum_clicked_count: sum_clicked_count,
|
|
392
|
+
sum_delivered_count: sum_delivered_count,
|
|
393
|
+
sum_hard_bounced_count: sum_hard_bounced_count,
|
|
394
|
+
sum_opened_count: sum_opened_count,
|
|
395
|
+
sum_replied_count: sum_replied_count,
|
|
396
|
+
sum_sent_count: sum_sent_count,
|
|
397
|
+
sum_spam_blocked_count: sum_spam_blocked_count,
|
|
398
|
+
sum_unsubscribed_count: sum_unsubscribed_count,
|
|
399
|
+
team_id: team_id,
|
|
400
|
+
unsubscribe_rate_score: unsubscribe_rate_score,
|
|
401
|
+
updated_at: updated_at,
|
|
402
|
+
user_id: user_id,
|
|
403
|
+
id: id,
|
|
404
|
+
key: key,
|
|
405
|
+
additional_properties: additional_properties)
|
|
406
|
+
end
|
|
407
|
+
|
|
408
|
+
# Provides a human-readable string representation of the object.
|
|
409
|
+
def to_s
|
|
410
|
+
class_name = self.class.name.split('::').last
|
|
411
|
+
"<#{class_name} avg_click_rate: #{@avg_click_rate}, avg_daily_sent: #{@avg_daily_sent},"\
|
|
412
|
+
" avg_delivered_rate: #{@avg_delivered_rate}, avg_hard_bounce_rate:"\
|
|
413
|
+
" #{@avg_hard_bounce_rate}, avg_open_rate: #{@avg_open_rate}, avg_reply_rate:"\
|
|
414
|
+
" #{@avg_reply_rate}, avg_spam_block_rate: #{@avg_spam_block_rate}, avg_unsubscribe_rate:"\
|
|
415
|
+
" #{@avg_unsubscribe_rate}, click_rate_score: #{@click_rate_score}, concurrency_locks:"\
|
|
416
|
+
" #{@concurrency_locks}, created_at: #{@created_at}, daily_email_sent_score:"\
|
|
417
|
+
" #{@daily_email_sent_score}, date_from: #{@date_from}, date_to: #{@date_to},"\
|
|
418
|
+
" deliverability_score: #{@deliverability_score}, domain_health_score:"\
|
|
419
|
+
" #{@domain_health_score}, email_account_domain_age_score:"\
|
|
420
|
+
" #{@email_account_domain_age_score}, email_account_id: #{@email_account_id},"\
|
|
421
|
+
" hard_bounce_score: #{@hard_bounce_score}, open_rate_score: #{@open_rate_score}, random:"\
|
|
422
|
+
" #{@random}, reply_rate_score: #{@reply_rate_score}, spam_block_score:"\
|
|
423
|
+
" #{@spam_block_score}, sum_clicked_count: #{@sum_clicked_count}, sum_delivered_count:"\
|
|
424
|
+
" #{@sum_delivered_count}, sum_hard_bounced_count: #{@sum_hard_bounced_count},"\
|
|
425
|
+
" sum_opened_count: #{@sum_opened_count}, sum_replied_count: #{@sum_replied_count},"\
|
|
426
|
+
" sum_sent_count: #{@sum_sent_count}, sum_spam_blocked_count: #{@sum_spam_blocked_count},"\
|
|
427
|
+
" sum_unsubscribed_count: #{@sum_unsubscribed_count}, team_id: #{@team_id},"\
|
|
428
|
+
" unsubscribe_rate_score: #{@unsubscribe_rate_score}, updated_at: #{@updated_at}, user_id:"\
|
|
429
|
+
" #{@user_id}, id: #{@id}, key: #{@key}, additional_properties: #{@additional_properties}>"
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
433
|
+
def inspect
|
|
434
|
+
class_name = self.class.name.split('::').last
|
|
435
|
+
"<#{class_name} avg_click_rate: #{@avg_click_rate.inspect}, avg_daily_sent:"\
|
|
436
|
+
" #{@avg_daily_sent.inspect}, avg_delivered_rate: #{@avg_delivered_rate.inspect},"\
|
|
437
|
+
" avg_hard_bounce_rate: #{@avg_hard_bounce_rate.inspect}, avg_open_rate:"\
|
|
438
|
+
" #{@avg_open_rate.inspect}, avg_reply_rate: #{@avg_reply_rate.inspect},"\
|
|
439
|
+
" avg_spam_block_rate: #{@avg_spam_block_rate.inspect}, avg_unsubscribe_rate:"\
|
|
440
|
+
" #{@avg_unsubscribe_rate.inspect}, click_rate_score: #{@click_rate_score.inspect},"\
|
|
441
|
+
" concurrency_locks: #{@concurrency_locks.inspect}, created_at: #{@created_at.inspect},"\
|
|
442
|
+
" daily_email_sent_score: #{@daily_email_sent_score.inspect}, date_from:"\
|
|
443
|
+
" #{@date_from.inspect}, date_to: #{@date_to.inspect}, deliverability_score:"\
|
|
444
|
+
" #{@deliverability_score.inspect}, domain_health_score: #{@domain_health_score.inspect},"\
|
|
445
|
+
" email_account_domain_age_score: #{@email_account_domain_age_score.inspect},"\
|
|
446
|
+
" email_account_id: #{@email_account_id.inspect}, hard_bounce_score:"\
|
|
447
|
+
" #{@hard_bounce_score.inspect}, open_rate_score: #{@open_rate_score.inspect}, random:"\
|
|
448
|
+
" #{@random.inspect}, reply_rate_score: #{@reply_rate_score.inspect}, spam_block_score:"\
|
|
449
|
+
" #{@spam_block_score.inspect}, sum_clicked_count: #{@sum_clicked_count.inspect},"\
|
|
450
|
+
" sum_delivered_count: #{@sum_delivered_count.inspect}, sum_hard_bounced_count:"\
|
|
451
|
+
" #{@sum_hard_bounced_count.inspect}, sum_opened_count: #{@sum_opened_count.inspect},"\
|
|
452
|
+
" sum_replied_count: #{@sum_replied_count.inspect}, sum_sent_count:"\
|
|
453
|
+
" #{@sum_sent_count.inspect}, sum_spam_blocked_count: #{@sum_spam_blocked_count.inspect},"\
|
|
454
|
+
" sum_unsubscribed_count: #{@sum_unsubscribed_count.inspect}, team_id: #{@team_id.inspect},"\
|
|
455
|
+
" unsubscribe_rate_score: #{@unsubscribe_rate_score.inspect}, updated_at:"\
|
|
456
|
+
" #{@updated_at.inspect}, user_id: #{@user_id.inspect}, id: #{@id.inspect}, key:"\
|
|
457
|
+
" #{@key.inspect}, additional_properties: #{@additional_properties}>"
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
end
|