reacon-sdk 4.0.0.beta.1 → 6.0.1.beta.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 +4 -4
- data/README.md +41 -10
- data/lib/reacon-sdk/api/mail_api.rb +21 -0
- data/lib/reacon-sdk/api/product_tools_api.rb +1 -1
- data/lib/reacon-sdk/models/mail_cadence_campaign_record.rb +10 -1
- data/lib/reacon-sdk/models/mail_cadence_definition.rb +50 -1
- data/lib/reacon-sdk/models/mail_cadence_node_any_of1.rb +10 -1
- data/lib/reacon-sdk/models/mail_cadence_run_record.rb +10 -1
- data/lib/reacon-sdk/models/mail_contact_record.rb +13 -4
- data/lib/reacon-sdk/models/{product_sequence_recipients_list_output.rb → mail_contact_record_verification.rb} +24 -28
- data/lib/reacon-sdk/models/mail_email_asset_reference.rb +199 -0
- data/lib/reacon-sdk/models/mail_email_sequence_delivery_settings.rb +383 -0
- data/lib/reacon-sdk/models/mail_email_sequence_recipient_override.rb +242 -0
- data/lib/reacon-sdk/models/mail_get_channels_response200.rb +30 -4
- data/lib/reacon-sdk/models/mail_get_signatures_response200.rb +1 -1
- data/lib/reacon-sdk/models/{mail_signature_candidate.rb → mail_get_signatures_response200_candidates_inner.rb} +4 -4
- data/lib/reacon-sdk/models/{mail_signature_candidate_fields.rb → mail_get_signatures_response200_candidates_inner_fields.rb} +4 -4
- data/lib/reacon-sdk/models/{mail_signature_candidate_fields_phones_inner.rb → mail_get_signatures_response200_candidates_inner_fields_phones_inner.rb} +3 -3
- data/lib/reacon-sdk/models/mail_mail_attachment_reference.rb +199 -0
- data/lib/reacon-sdk/models/mail_mail_execution_worker_status.rb +251 -0
- data/lib/reacon-sdk/models/mail_message_analytics_overview.rb +22 -1
- data/lib/reacon-sdk/models/mail_message_template_version.rb +12 -1
- data/lib/reacon-sdk/models/mail_post_cadence_runs_preflight_request.rb +5 -5
- data/lib/reacon-sdk/models/mail_post_cadence_runs_preflight_response200.rb +10 -1
- data/lib/reacon-sdk/models/mail_post_cadence_runs_request.rb +5 -5
- data/lib/reacon-sdk/models/mail_post_cadences_request.rb +61 -1
- data/lib/reacon-sdk/models/mail_post_cadences_request_email_recipient_overrides_inner.rb +296 -0
- data/lib/reacon-sdk/models/mail_post_inbox_by_message_id_reply_request.rb +29 -1
- data/lib/reacon-sdk/models/mail_recipient_eligibility_summary.rb +320 -0
- data/lib/reacon-sdk/models/mail_recipient_eligibility_summary_exclusions.rb +174 -0
- data/lib/reacon-sdk/models/mail_recipient_eligibility_summary_verification.rb +216 -0
- data/lib/reacon-sdk/models/mail_recipient_engagement.rb +331 -0
- data/lib/reacon-sdk/models/mail_rendered_message.rb +12 -1
- data/lib/reacon-sdk/models/mail_sequence_recipient_engagement.rb +357 -0
- data/lib/reacon-sdk/models/product_mail_sequence_add_ab_execution.rb +269 -0
- data/lib/reacon-sdk/models/product_mail_sequence_add_ab_input.rb +406 -0
- data/lib/reacon-sdk/models/{product_sequence_start_output.rb → product_mail_sequence_add_ab_input_variant_b.rb} +37 -58
- data/lib/reacon-sdk/models/product_mail_sequence_add_audience_execution.rb +269 -0
- data/lib/reacon-sdk/models/product_mail_sequence_add_audience_input.rb +336 -0
- data/lib/reacon-sdk/models/product_mail_sequence_campaigns_list_execution.rb +255 -0
- data/lib/reacon-sdk/models/{product_sequence.rb → product_mail_sequence_draft_save_execution.rb} +91 -116
- data/lib/reacon-sdk/models/product_mail_sequence_draft_save_input.rb +359 -0
- data/lib/reacon-sdk/models/product_mail_sequence_drafts_list_execution.rb +255 -0
- data/lib/reacon-sdk/models/product_mail_sequence_launch_execution.rb +269 -0
- data/lib/reacon-sdk/models/product_mail_sequence_launch_input.rb +513 -0
- data/lib/reacon-sdk/models/product_mail_sequence_publish_execution.rb +269 -0
- data/lib/reacon-sdk/models/product_mail_sequence_publish_input.rb +281 -0
- data/lib/reacon-sdk/models/product_mail_sequence_readiness_execution.rb +255 -0
- data/lib/reacon-sdk/models/product_mail_sequence_readiness_input.rb +237 -0
- data/lib/reacon-sdk/models/product_mail_sequence_recipients_list_execution.rb +255 -0
- data/lib/reacon-sdk/models/{product_dated_recipient.rb → product_mail_sequence_recipients_list_input.rb} +89 -124
- data/lib/reacon-sdk/models/product_mail_sequence_results_execution.rb +255 -0
- data/lib/reacon-sdk/models/product_mail_sequence_results_input.rb +193 -0
- data/lib/reacon-sdk/models/product_mail_sequence_state_execution.rb +269 -0
- data/lib/reacon-sdk/models/product_mail_sequence_state_input.rb +331 -0
- data/lib/reacon-sdk/models/product_saved_searches_list_output.rb +56 -4
- data/lib/reacon-sdk/models/product_sequence_recipients_list_execution.rb +5 -2
- data/lib/reacon-sdk/models/product_sequence_recipients_list_input.rb +100 -4
- data/lib/reacon-sdk/models/product_sequence_start_execution.rb +5 -2
- data/lib/reacon-sdk/models/product_sequence_start_input.rb +317 -23
- data/lib/reacon-sdk/models/product_sequences_list_output.rb +138 -4
- data/lib/reacon-sdk/models/product_tool_execution.rb +22 -0
- data/lib/reacon-sdk/models/product_tool_request_input.rb +8 -0
- data/lib/reacon-sdk/version.rb +1 -1
- data/lib/reacon-sdk.rb +36 -7
- metadata +38 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73ab7c021d2b0829c42990564f49a6cbc127a8a662bce9898805ba0133928e03
|
|
4
|
+
data.tar.gz: c8d45251435c407ac46eaa0886117cab7206725dadf1fea4d46b99b14ea47f60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d02d74120cb742efa06c1def8ebaa1a0a2ba0a09072ac934b303d550f04657893086e88301fca60969c9e410392c9c3444f1001c060f95d42deeef2746ba75cd
|
|
7
|
+
data.tar.gz: 6cfe068955b4cf53dc769c75b7e9fc0c066b922a7143a59e2530db242fb211bb9b5653d0d114bbaa046801ab5401aa497da75547747b1851c13569e57e9a4315
|
data/README.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
# Reacon Ruby SDK
|
|
2
2
|
|
|
3
|
-
Package `reacon-sdk`, version `
|
|
3
|
+
Package `reacon-sdk`, version `6.0.1.beta.1`.
|
|
4
4
|
|
|
5
5
|
Minimum runtime: **Ruby 3.2**.
|
|
6
6
|
|
|
7
7
|
[API reference and SDK examples](https://docs.reacon.io). Select your language on an endpoint page for SDK calls and response schemas.
|
|
8
8
|
|
|
9
|
+
Every language’s package name and install command: [SDK overview](https://docs.reacon.io/sdks).
|
|
10
|
+
|
|
9
11
|
The SDK connects to `https://api.reacon.io`. The API address is built in and cannot be overridden. Configure your API key as shown in your language’s examples; do not pass a base URL.
|
|
10
12
|
|
|
11
13
|
API keys are secrets. Load your key from an environment variable or secret manager and pass it through the SDK authentication configuration. Do not commit keys or include them in browser or mobile application bundles. The examples use `REACON_API_KEY`; the SDK does not load this environment variable automatically.
|
|
@@ -26,14 +28,14 @@ Reacon - the Ruby gem for the Reacon API
|
|
|
26
28
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
27
29
|
|
|
28
30
|
- API version: 0.1.0
|
|
29
|
-
- Package version:
|
|
31
|
+
- Package version: 6.0.1.beta.1
|
|
30
32
|
- Generator version: 7.25.0
|
|
31
33
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
32
34
|
|
|
33
35
|
## Installation
|
|
34
36
|
|
|
35
37
|
```sh
|
|
36
|
-
gem install reacon-sdk --version
|
|
38
|
+
gem install reacon-sdk --version 6.0.1.beta.1 --prerelease
|
|
37
39
|
```
|
|
38
40
|
|
|
39
41
|
## Getting Started
|
|
@@ -440,6 +442,7 @@ Class | Method | HTTP request | Description
|
|
|
440
442
|
- Reacon::MailContactCrmState
|
|
441
443
|
- Reacon::MailContactListSummaryRecord
|
|
442
444
|
- Reacon::MailContactRecord
|
|
445
|
+
- Reacon::MailContactRecordVerification
|
|
443
446
|
- Reacon::MailConversationEntry
|
|
444
447
|
- Reacon::MailConversationEntryFrom
|
|
445
448
|
- Reacon::MailConversationEntryLastError
|
|
@@ -459,6 +462,9 @@ Class | Method | HTTP request | Description
|
|
|
459
462
|
- Reacon::MailDeleteWebhooksBySubscriptionIdResponse200
|
|
460
463
|
- Reacon::MailDomainHealthCheck
|
|
461
464
|
- Reacon::MailDomainHealthReport
|
|
465
|
+
- Reacon::MailEmailAssetReference
|
|
466
|
+
- Reacon::MailEmailSequenceDeliverySettings
|
|
467
|
+
- Reacon::MailEmailSequenceRecipientOverride
|
|
462
468
|
- Reacon::MailEvidenceField
|
|
463
469
|
- Reacon::MailExperimentDecisionRecord
|
|
464
470
|
- Reacon::MailExperimentDefinitionRecord
|
|
@@ -506,6 +512,9 @@ Class | Method | HTTP request | Description
|
|
|
506
512
|
- Reacon::MailGetQueueResponse200
|
|
507
513
|
- Reacon::MailGetReplyAutomationsResponse200
|
|
508
514
|
- Reacon::MailGetSignaturesResponse200
|
|
515
|
+
- Reacon::MailGetSignaturesResponse200CandidatesInner
|
|
516
|
+
- Reacon::MailGetSignaturesResponse200CandidatesInnerFields
|
|
517
|
+
- Reacon::MailGetSignaturesResponse200CandidatesInnerFieldsPhonesInner
|
|
509
518
|
- Reacon::MailGetSuppressionsResponse200
|
|
510
519
|
- Reacon::MailGetTemplatesResponse200
|
|
511
520
|
- Reacon::MailGetTrackingDomainResponse200
|
|
@@ -515,6 +524,8 @@ Class | Method | HTTP request | Description
|
|
|
515
524
|
- Reacon::MailImapCursor
|
|
516
525
|
- Reacon::MailInboxMessageRecord
|
|
517
526
|
- Reacon::MailMailAddress
|
|
527
|
+
- Reacon::MailMailAttachmentReference
|
|
528
|
+
- Reacon::MailMailExecutionWorkerStatus
|
|
518
529
|
- Reacon::MailMailPortfolio
|
|
519
530
|
- Reacon::MailMailPortfolioOverviewRow
|
|
520
531
|
- Reacon::MailMailPortfolioSuppression
|
|
@@ -565,6 +576,7 @@ Class | Method | HTTP request | Description
|
|
|
565
576
|
- Reacon::MailPostCadencesByCadenceIdCopyRequest
|
|
566
577
|
- Reacon::MailPostCadencesByCadenceIdCopyResponse200
|
|
567
578
|
- Reacon::MailPostCadencesRequest
|
|
579
|
+
- Reacon::MailPostCadencesRequestEmailRecipientOverridesInner
|
|
568
580
|
- Reacon::MailPostCadencesRequestNodesInner
|
|
569
581
|
- Reacon::MailPostCadencesRequestNodesInnerAnyOf
|
|
570
582
|
- Reacon::MailPostCadencesRequestNodesInnerAnyOf1
|
|
@@ -675,16 +687,18 @@ Class | Method | HTTP request | Description
|
|
|
675
687
|
- Reacon::MailPutDeliverabilityPoolsByPoolIdMembersByMailboxIdResponse200
|
|
676
688
|
- Reacon::MailQueueSnapshot
|
|
677
689
|
- Reacon::MailQuotaRule
|
|
690
|
+
- Reacon::MailRecipientEligibilitySummary
|
|
691
|
+
- Reacon::MailRecipientEligibilitySummaryExclusions
|
|
692
|
+
- Reacon::MailRecipientEligibilitySummaryVerification
|
|
693
|
+
- Reacon::MailRecipientEngagement
|
|
678
694
|
- Reacon::MailRenderedMessage
|
|
679
695
|
- Reacon::MailReplyAutomationRule
|
|
680
696
|
- Reacon::MailReplyAutomationRuleActions
|
|
681
697
|
- Reacon::MailReplyAutomationRuleActionsTask
|
|
682
698
|
- Reacon::MailReplyClassificationResult
|
|
683
699
|
- Reacon::MailSendingWindow
|
|
700
|
+
- Reacon::MailSequenceRecipientEngagement
|
|
684
701
|
- Reacon::MailSequenceRunRecord
|
|
685
|
-
- Reacon::MailSignatureCandidate
|
|
686
|
-
- Reacon::MailSignatureCandidateFields
|
|
687
|
-
- Reacon::MailSignatureCandidateFieldsPhonesInner
|
|
688
702
|
- Reacon::MailStoredImapSettings
|
|
689
703
|
- Reacon::MailStoredSmtpSettings
|
|
690
704
|
- Reacon::MailSuppressionRecord
|
|
@@ -744,7 +758,6 @@ Class | Method | HTTP request | Description
|
|
|
744
758
|
- Reacon::ProductCustomAttributeCreateInput
|
|
745
759
|
- Reacon::ProductCustomAttributesListExecution
|
|
746
760
|
- Reacon::ProductCustomAttributesListOutput
|
|
747
|
-
- Reacon::ProductDatedRecipient
|
|
748
761
|
- Reacon::ProductDiscoverCompaniesExecution
|
|
749
762
|
- Reacon::ProductDiscoverCompaniesInput
|
|
750
763
|
- Reacon::ProductDiscoverCompaniesOutput
|
|
@@ -804,6 +817,27 @@ Class | Method | HTTP request | Description
|
|
|
804
817
|
- Reacon::ProductLeadsListExecution
|
|
805
818
|
- Reacon::ProductLeadsListInput
|
|
806
819
|
- Reacon::ProductLeadsListOutput
|
|
820
|
+
- Reacon::ProductMailSequenceAddAbExecution
|
|
821
|
+
- Reacon::ProductMailSequenceAddAbInput
|
|
822
|
+
- Reacon::ProductMailSequenceAddAbInputVariantB
|
|
823
|
+
- Reacon::ProductMailSequenceAddAudienceExecution
|
|
824
|
+
- Reacon::ProductMailSequenceAddAudienceInput
|
|
825
|
+
- Reacon::ProductMailSequenceCampaignsListExecution
|
|
826
|
+
- Reacon::ProductMailSequenceDraftSaveExecution
|
|
827
|
+
- Reacon::ProductMailSequenceDraftSaveInput
|
|
828
|
+
- Reacon::ProductMailSequenceDraftsListExecution
|
|
829
|
+
- Reacon::ProductMailSequenceLaunchExecution
|
|
830
|
+
- Reacon::ProductMailSequenceLaunchInput
|
|
831
|
+
- Reacon::ProductMailSequencePublishExecution
|
|
832
|
+
- Reacon::ProductMailSequencePublishInput
|
|
833
|
+
- Reacon::ProductMailSequenceReadinessExecution
|
|
834
|
+
- Reacon::ProductMailSequenceReadinessInput
|
|
835
|
+
- Reacon::ProductMailSequenceRecipientsListExecution
|
|
836
|
+
- Reacon::ProductMailSequenceRecipientsListInput
|
|
837
|
+
- Reacon::ProductMailSequenceResultsExecution
|
|
838
|
+
- Reacon::ProductMailSequenceResultsInput
|
|
839
|
+
- Reacon::ProductMailSequenceStateExecution
|
|
840
|
+
- Reacon::ProductMailSequenceStateInput
|
|
807
841
|
- Reacon::ProductNamedResource
|
|
808
842
|
- Reacon::ProductPerson
|
|
809
843
|
- Reacon::ProductPersonEnrichExecution
|
|
@@ -812,7 +846,6 @@ Class | Method | HTTP request | Description
|
|
|
812
846
|
- Reacon::ProductRecipient
|
|
813
847
|
- Reacon::ProductSavedSearchesListExecution
|
|
814
848
|
- Reacon::ProductSavedSearchesListOutput
|
|
815
|
-
- Reacon::ProductSequence
|
|
816
849
|
- Reacon::ProductSequenceRecipientAddExecution
|
|
817
850
|
- Reacon::ProductSequenceRecipientAddInput
|
|
818
851
|
- Reacon::ProductSequenceRecipientAddOutput
|
|
@@ -824,10 +857,8 @@ Class | Method | HTTP request | Description
|
|
|
824
857
|
- Reacon::ProductSequenceRecipientsAddOutput
|
|
825
858
|
- Reacon::ProductSequenceRecipientsListExecution
|
|
826
859
|
- Reacon::ProductSequenceRecipientsListInput
|
|
827
|
-
- Reacon::ProductSequenceRecipientsListOutput
|
|
828
860
|
- Reacon::ProductSequenceStartExecution
|
|
829
861
|
- Reacon::ProductSequenceStartInput
|
|
830
|
-
- Reacon::ProductSequenceStartOutput
|
|
831
862
|
- Reacon::ProductSequencesListExecution
|
|
832
863
|
- Reacon::ProductSequencesListOutput
|
|
833
864
|
- Reacon::ProductTeamMember
|
|
@@ -4354,6 +4354,9 @@ module Reacon
|
|
|
4354
4354
|
# @param [Hash] opts the optional parameters
|
|
4355
4355
|
# @option opts [Integer] :limit (default to 100)
|
|
4356
4356
|
# @option opts [String] :cursor
|
|
4357
|
+
# @option opts [String] :query
|
|
4358
|
+
# @option opts [String] :status
|
|
4359
|
+
# @option opts [String] :sequence_id
|
|
4357
4360
|
# @return [MailGetMessagesResponse200]
|
|
4358
4361
|
def list_mail_messages(team_id, opts = {})
|
|
4359
4362
|
data, _status_code, _headers = list_mail_messages_with_http_info(team_id, opts)
|
|
@@ -4366,6 +4369,9 @@ module Reacon
|
|
|
4366
4369
|
# @param [Hash] opts the optional parameters
|
|
4367
4370
|
# @option opts [Integer] :limit (default to 100)
|
|
4368
4371
|
# @option opts [String] :cursor
|
|
4372
|
+
# @option opts [String] :query
|
|
4373
|
+
# @option opts [String] :status
|
|
4374
|
+
# @option opts [String] :sequence_id
|
|
4369
4375
|
# @return [Array<(MailGetMessagesResponse200, Integer, Hash)>] MailGetMessagesResponse200 data, response status code and response headers
|
|
4370
4376
|
def list_mail_messages_with_http_info(team_id, opts = {})
|
|
4371
4377
|
if @api_client.config.debugging
|
|
@@ -4383,6 +4389,18 @@ module Reacon
|
|
|
4383
4389
|
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling MailApi.list_mail_messages, must be greater than or equal to 1.'
|
|
4384
4390
|
end
|
|
4385
4391
|
|
|
4392
|
+
if @api_client.config.client_side_validation && !opts[:'query'].nil? && opts[:'query'].to_s.length > 200
|
|
4393
|
+
fail ArgumentError, 'invalid value for "opts[:"query"]" when calling MailApi.list_mail_messages, the character length must be smaller than or equal to 200.'
|
|
4394
|
+
end
|
|
4395
|
+
|
|
4396
|
+
allowable_values = ["queued", "retry_scheduled", "sending", "provider_accepted", "delivered", "replied", "auto_replied", "bounced", "unsubscribed", "complained", "suppressed", "cancelled", "failed"]
|
|
4397
|
+
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
|
4398
|
+
fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
|
|
4399
|
+
end
|
|
4400
|
+
if @api_client.config.client_side_validation && !opts[:'sequence_id'].nil? && opts[:'sequence_id'].to_s.length > 200
|
|
4401
|
+
fail ArgumentError, 'invalid value for "opts[:"sequence_id"]" when calling MailApi.list_mail_messages, the character length must be smaller than or equal to 200.'
|
|
4402
|
+
end
|
|
4403
|
+
|
|
4386
4404
|
# resource path
|
|
4387
4405
|
local_var_path = '/v1/teams/{teamId}/mail/messages'.sub('{teamId}', CGI.escape(team_id.to_s))
|
|
4388
4406
|
|
|
@@ -4390,6 +4408,9 @@ module Reacon
|
|
|
4390
4408
|
query_params = opts[:query_params] || {}
|
|
4391
4409
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
4392
4410
|
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
4411
|
+
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
|
4412
|
+
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
|
4413
|
+
query_params[:'sequenceId'] = opts[:'sequence_id'] if !opts[:'sequence_id'].nil?
|
|
4393
4414
|
|
|
4394
4415
|
# header parameters
|
|
4395
4416
|
header_params = opts[:header_params] || {}
|
|
@@ -45,7 +45,7 @@ module Reacon
|
|
|
45
45
|
fail ArgumentError, "Missing the required parameter 'tool' when calling ProductToolsApi.execute_product_tool"
|
|
46
46
|
end
|
|
47
47
|
# verify enum value
|
|
48
|
-
allowable_values = ["discover_companies", "discover_people", "domain_finder", "email_count", "person_enrich", "company_enrich", "combined_enrich", "saved_searches_list", "leads_list", "lead_get", "lead_create", "lead_update", "lead_upsert", "lead_delete", "lead_enrich", "lead_bulk_delete", "lead_tags_list", "lead_tag_create", "lead_tag_assign", "lead_tag_remove", "custom_attributes_list", "custom_attribute_create", "lead_lists_list", "lead_list_create", "lead_list_update", "lead_list_delete", "lead_list_add_lead", "lead_list_remove_lead", "companies_list", "company_track", "company_update", "company_delete", "company_lists_list", "company_list_create", "company_list_add", "company_list_remove", "sequences_list", "sequence_recipients_list", "sequence_recipients_add", "sequence_recipient_add", "sequence_recipient_cancel", "sequence_start", "account_info", "usage", "usage_history", "team_members", "connected_apps", "connected_app_push"]
|
|
48
|
+
allowable_values = ["discover_companies", "discover_people", "domain_finder", "email_count", "person_enrich", "company_enrich", "combined_enrich", "saved_searches_list", "leads_list", "lead_get", "lead_create", "lead_update", "lead_upsert", "lead_delete", "lead_enrich", "lead_bulk_delete", "lead_tags_list", "lead_tag_create", "lead_tag_assign", "lead_tag_remove", "custom_attributes_list", "custom_attribute_create", "lead_lists_list", "lead_list_create", "lead_list_update", "lead_list_delete", "lead_list_add_lead", "lead_list_remove_lead", "companies_list", "company_track", "company_update", "company_delete", "company_lists_list", "company_list_create", "company_list_add", "company_list_remove", "sequences_list", "sequence_recipients_list", "sequence_recipients_add", "sequence_recipient_add", "sequence_recipient_cancel", "sequence_start", "mail_sequence_drafts_list", "mail_sequence_draft_save", "mail_sequence_add_audience", "mail_sequence_readiness", "mail_sequence_publish", "mail_sequence_launch", "mail_sequence_campaigns_list", "mail_sequence_recipients_list", "mail_sequence_add_ab", "mail_sequence_state", "mail_sequence_results", "account_info", "usage", "usage_history", "team_members", "connected_apps", "connected_app_push"]
|
|
49
49
|
if @api_client.config.client_side_validation && !allowable_values.include?(tool)
|
|
50
50
|
fail ArgumentError, "invalid value for \"tool\", must be one of #{allowable_values}"
|
|
51
51
|
end
|
|
@@ -19,6 +19,8 @@ module Reacon
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :actor_id
|
|
21
21
|
|
|
22
|
+
attr_accessor :archived_at
|
|
23
|
+
|
|
22
24
|
attr_accessor :attempt_count
|
|
23
25
|
|
|
24
26
|
attr_accessor :audience_count
|
|
@@ -78,6 +80,7 @@ module Reacon
|
|
|
78
80
|
{
|
|
79
81
|
:'activated_at' => :'activatedAt',
|
|
80
82
|
:'actor_id' => :'actorId',
|
|
83
|
+
:'archived_at' => :'archivedAt',
|
|
81
84
|
:'attempt_count' => :'attemptCount',
|
|
82
85
|
:'audience_count' => :'audienceCount',
|
|
83
86
|
:'audience_list_id' => :'audienceListId',
|
|
@@ -123,6 +126,7 @@ module Reacon
|
|
|
123
126
|
{
|
|
124
127
|
:'activated_at' => :'Time',
|
|
125
128
|
:'actor_id' => :'String',
|
|
129
|
+
:'archived_at' => :'Time',
|
|
126
130
|
:'attempt_count' => :'Float',
|
|
127
131
|
:'audience_count' => :'Float',
|
|
128
132
|
:'audience_list_id' => :'String',
|
|
@@ -185,6 +189,10 @@ module Reacon
|
|
|
185
189
|
self.actor_id = nil
|
|
186
190
|
end
|
|
187
191
|
|
|
192
|
+
if attributes.key?(:'archived_at')
|
|
193
|
+
self.archived_at = attributes[:'archived_at']
|
|
194
|
+
end
|
|
195
|
+
|
|
188
196
|
if attributes.key?(:'attempt_count')
|
|
189
197
|
self.attempt_count = attributes[:'attempt_count']
|
|
190
198
|
else
|
|
@@ -688,6 +696,7 @@ module Reacon
|
|
|
688
696
|
self.class == o.class &&
|
|
689
697
|
activated_at == o.activated_at &&
|
|
690
698
|
actor_id == o.actor_id &&
|
|
699
|
+
archived_at == o.archived_at &&
|
|
691
700
|
attempt_count == o.attempt_count &&
|
|
692
701
|
audience_count == o.audience_count &&
|
|
693
702
|
audience_list_id == o.audience_list_id &&
|
|
@@ -726,7 +735,7 @@ module Reacon
|
|
|
726
735
|
# Calculates hash code according to all attributes.
|
|
727
736
|
# @return [Integer] Hash code
|
|
728
737
|
def hash
|
|
729
|
-
[activated_at, actor_id, attempt_count, audience_count, audience_list_id, cadence_id, cadence_version, completed_at, created_at, enrolled_count, enrollment_mode, failed_count, id, idempotency_key, invalid_count, last_error, lease_expires_at, lease_owner, mailbox_id, mailbox_pool_id, name, next_attempt_at, scheduled_at, skipped_count, status, tenant_id, updated_at, validated_count, version].hash
|
|
738
|
+
[activated_at, actor_id, archived_at, attempt_count, audience_count, audience_list_id, cadence_id, cadence_version, completed_at, created_at, enrolled_count, enrollment_mode, failed_count, id, idempotency_key, invalid_count, last_error, lease_expires_at, lease_owner, mailbox_id, mailbox_pool_id, name, next_attempt_at, scheduled_at, skipped_count, status, tenant_id, updated_at, validated_count, version].hash
|
|
730
739
|
end
|
|
731
740
|
|
|
732
741
|
# Builds the object from hash
|
|
@@ -15,10 +15,20 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Reacon
|
|
17
17
|
class MailCadenceDefinition < ApiModelBase
|
|
18
|
+
attr_accessor :authoring_revision
|
|
19
|
+
|
|
18
20
|
attr_accessor :created_at
|
|
19
21
|
|
|
20
22
|
attr_accessor :created_by_actor_id
|
|
21
23
|
|
|
24
|
+
attr_accessor :email_delivery
|
|
25
|
+
|
|
26
|
+
attr_accessor :email_excluded_contact_ids
|
|
27
|
+
|
|
28
|
+
attr_accessor :email_recipient_overrides
|
|
29
|
+
|
|
30
|
+
attr_accessor :email_render_seed
|
|
31
|
+
|
|
22
32
|
attr_accessor :id
|
|
23
33
|
|
|
24
34
|
attr_accessor :name
|
|
@@ -36,8 +46,13 @@ module Reacon
|
|
|
36
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
47
|
def self.attribute_map
|
|
38
48
|
{
|
|
49
|
+
:'authoring_revision' => :'authoringRevision',
|
|
39
50
|
:'created_at' => :'createdAt',
|
|
40
51
|
:'created_by_actor_id' => :'createdByActorId',
|
|
52
|
+
:'email_delivery' => :'emailDelivery',
|
|
53
|
+
:'email_excluded_contact_ids' => :'emailExcludedContactIds',
|
|
54
|
+
:'email_recipient_overrides' => :'emailRecipientOverrides',
|
|
55
|
+
:'email_render_seed' => :'emailRenderSeed',
|
|
41
56
|
:'id' => :'id',
|
|
42
57
|
:'name' => :'name',
|
|
43
58
|
:'nodes' => :'nodes',
|
|
@@ -61,8 +76,13 @@ module Reacon
|
|
|
61
76
|
# Attribute type mapping.
|
|
62
77
|
def self.openapi_types
|
|
63
78
|
{
|
|
79
|
+
:'authoring_revision' => :'Float',
|
|
64
80
|
:'created_at' => :'Time',
|
|
65
81
|
:'created_by_actor_id' => :'String',
|
|
82
|
+
:'email_delivery' => :'MailEmailSequenceDeliverySettings',
|
|
83
|
+
:'email_excluded_contact_ids' => :'Array<String>',
|
|
84
|
+
:'email_recipient_overrides' => :'Array<MailEmailSequenceRecipientOverride>',
|
|
85
|
+
:'email_render_seed' => :'String',
|
|
66
86
|
:'id' => :'String',
|
|
67
87
|
:'name' => :'String',
|
|
68
88
|
:'nodes' => :'Array<MailCadenceNode>',
|
|
@@ -95,6 +115,10 @@ module Reacon
|
|
|
95
115
|
h[k.to_sym] = v
|
|
96
116
|
}
|
|
97
117
|
|
|
118
|
+
if attributes.key?(:'authoring_revision')
|
|
119
|
+
self.authoring_revision = attributes[:'authoring_revision']
|
|
120
|
+
end
|
|
121
|
+
|
|
98
122
|
if attributes.key?(:'created_at')
|
|
99
123
|
self.created_at = attributes[:'created_at']
|
|
100
124
|
else
|
|
@@ -107,6 +131,26 @@ module Reacon
|
|
|
107
131
|
self.created_by_actor_id = nil
|
|
108
132
|
end
|
|
109
133
|
|
|
134
|
+
if attributes.key?(:'email_delivery')
|
|
135
|
+
self.email_delivery = attributes[:'email_delivery']
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'email_excluded_contact_ids')
|
|
139
|
+
if (value = attributes[:'email_excluded_contact_ids']).is_a?(Array)
|
|
140
|
+
self.email_excluded_contact_ids = value
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
if attributes.key?(:'email_recipient_overrides')
|
|
145
|
+
if (value = attributes[:'email_recipient_overrides']).is_a?(Array)
|
|
146
|
+
self.email_recipient_overrides = value
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
if attributes.key?(:'email_render_seed')
|
|
151
|
+
self.email_render_seed = attributes[:'email_render_seed']
|
|
152
|
+
end
|
|
153
|
+
|
|
110
154
|
if attributes.key?(:'id')
|
|
111
155
|
self.id = attributes[:'id']
|
|
112
156
|
else
|
|
@@ -290,8 +334,13 @@ module Reacon
|
|
|
290
334
|
def ==(o)
|
|
291
335
|
return true if self.equal?(o)
|
|
292
336
|
self.class == o.class &&
|
|
337
|
+
authoring_revision == o.authoring_revision &&
|
|
293
338
|
created_at == o.created_at &&
|
|
294
339
|
created_by_actor_id == o.created_by_actor_id &&
|
|
340
|
+
email_delivery == o.email_delivery &&
|
|
341
|
+
email_excluded_contact_ids == o.email_excluded_contact_ids &&
|
|
342
|
+
email_recipient_overrides == o.email_recipient_overrides &&
|
|
343
|
+
email_render_seed == o.email_render_seed &&
|
|
295
344
|
id == o.id &&
|
|
296
345
|
name == o.name &&
|
|
297
346
|
nodes == o.nodes &&
|
|
@@ -310,7 +359,7 @@ module Reacon
|
|
|
310
359
|
# Calculates hash code according to all attributes.
|
|
311
360
|
# @return [Integer] Hash code
|
|
312
361
|
def hash
|
|
313
|
-
[created_at, created_by_actor_id, id, name, nodes, status, stop_conditions, tenant_id, version].hash
|
|
362
|
+
[authoring_revision, created_at, created_by_actor_id, email_delivery, email_excluded_contact_ids, email_recipient_overrides, email_render_seed, id, name, nodes, status, stop_conditions, tenant_id, version].hash
|
|
314
363
|
end
|
|
315
364
|
|
|
316
365
|
# Builds the object from hash
|
|
@@ -21,6 +21,8 @@ module Reacon
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :channel
|
|
23
23
|
|
|
24
|
+
attr_accessor :email_thread
|
|
25
|
+
|
|
24
26
|
attr_accessor :experiment
|
|
25
27
|
|
|
26
28
|
attr_accessor :kind
|
|
@@ -59,6 +61,7 @@ module Reacon
|
|
|
59
61
|
:'id' => :'id',
|
|
60
62
|
:'name' => :'name',
|
|
61
63
|
:'channel' => :'channel',
|
|
64
|
+
:'email_thread' => :'emailThread',
|
|
62
65
|
:'experiment' => :'experiment',
|
|
63
66
|
:'kind' => :'kind',
|
|
64
67
|
:'next_node_id' => :'nextNodeId',
|
|
@@ -83,6 +86,7 @@ module Reacon
|
|
|
83
86
|
:'id' => :'String',
|
|
84
87
|
:'name' => :'String',
|
|
85
88
|
:'channel' => :'String',
|
|
89
|
+
:'email_thread' => :'String',
|
|
86
90
|
:'experiment' => :'MailCadenceMessageExperiment',
|
|
87
91
|
:'kind' => :'String',
|
|
88
92
|
:'next_node_id' => :'String',
|
|
@@ -138,6 +142,10 @@ module Reacon
|
|
|
138
142
|
self.channel = nil
|
|
139
143
|
end
|
|
140
144
|
|
|
145
|
+
if attributes.key?(:'email_thread')
|
|
146
|
+
self.email_thread = attributes[:'email_thread']
|
|
147
|
+
end
|
|
148
|
+
|
|
141
149
|
if attributes.key?(:'experiment')
|
|
142
150
|
self.experiment = attributes[:'experiment']
|
|
143
151
|
end
|
|
@@ -297,6 +305,7 @@ module Reacon
|
|
|
297
305
|
id == o.id &&
|
|
298
306
|
name == o.name &&
|
|
299
307
|
channel == o.channel &&
|
|
308
|
+
email_thread == o.email_thread &&
|
|
300
309
|
experiment == o.experiment &&
|
|
301
310
|
kind == o.kind &&
|
|
302
311
|
next_node_id == o.next_node_id &&
|
|
@@ -313,7 +322,7 @@ module Reacon
|
|
|
313
322
|
# Calculates hash code according to all attributes.
|
|
314
323
|
# @return [Integer] Hash code
|
|
315
324
|
def hash
|
|
316
|
-
[id, name, channel, experiment, kind, next_node_id, template_id, template_version].hash
|
|
325
|
+
[id, name, channel, email_thread, experiment, kind, next_node_id, template_id, template_version].hash
|
|
317
326
|
end
|
|
318
327
|
|
|
319
328
|
# Builds the object from hash
|
|
@@ -53,6 +53,8 @@ module Reacon
|
|
|
53
53
|
|
|
54
54
|
attr_accessor :mailbox_id
|
|
55
55
|
|
|
56
|
+
attr_accessor :message_edit_revision
|
|
57
|
+
|
|
56
58
|
attr_accessor :outcome
|
|
57
59
|
|
|
58
60
|
attr_accessor :pending_message_id
|
|
@@ -91,6 +93,7 @@ module Reacon
|
|
|
91
93
|
:'lease_expires_at' => :'leaseExpiresAt',
|
|
92
94
|
:'lease_owner' => :'leaseOwner',
|
|
93
95
|
:'mailbox_id' => :'mailboxId',
|
|
96
|
+
:'message_edit_revision' => :'messageEditRevision',
|
|
94
97
|
:'outcome' => :'outcome',
|
|
95
98
|
:'pending_message_id' => :'pendingMessageId',
|
|
96
99
|
:'pending_next_node_id' => :'pendingNextNodeId',
|
|
@@ -134,6 +137,7 @@ module Reacon
|
|
|
134
137
|
:'lease_expires_at' => :'Time',
|
|
135
138
|
:'lease_owner' => :'String',
|
|
136
139
|
:'mailbox_id' => :'String',
|
|
140
|
+
:'message_edit_revision' => :'Float',
|
|
137
141
|
:'outcome' => :'String',
|
|
138
142
|
:'pending_message_id' => :'String',
|
|
139
143
|
:'pending_next_node_id' => :'String',
|
|
@@ -267,6 +271,10 @@ module Reacon
|
|
|
267
271
|
self.mailbox_id = nil
|
|
268
272
|
end
|
|
269
273
|
|
|
274
|
+
if attributes.key?(:'message_edit_revision')
|
|
275
|
+
self.message_edit_revision = attributes[:'message_edit_revision']
|
|
276
|
+
end
|
|
277
|
+
|
|
270
278
|
if attributes.key?(:'outcome')
|
|
271
279
|
self.outcome = attributes[:'outcome']
|
|
272
280
|
end
|
|
@@ -572,6 +580,7 @@ module Reacon
|
|
|
572
580
|
lease_expires_at == o.lease_expires_at &&
|
|
573
581
|
lease_owner == o.lease_owner &&
|
|
574
582
|
mailbox_id == o.mailbox_id &&
|
|
583
|
+
message_edit_revision == o.message_edit_revision &&
|
|
575
584
|
outcome == o.outcome &&
|
|
576
585
|
pending_message_id == o.pending_message_id &&
|
|
577
586
|
pending_next_node_id == o.pending_next_node_id &&
|
|
@@ -591,7 +600,7 @@ module Reacon
|
|
|
591
600
|
# Calculates hash code according to all attributes.
|
|
592
601
|
# @return [Integer] Hash code
|
|
593
602
|
def hash
|
|
594
|
-
[actor_id, attempt_count, audience_list_id, cadence_id, cadence_version, campaign_id, campaign_name, contact_id, created_at, current_node_id, due_at, experiment_contexts, id, idempotency_key, last_accepted_message_id, last_error, lease_expires_at, lease_owner, mailbox_id, outcome, pending_message_id, pending_next_node_id, status, task_id, tenant_id, updated_at, version].hash
|
|
603
|
+
[actor_id, attempt_count, audience_list_id, cadence_id, cadence_version, campaign_id, campaign_name, contact_id, created_at, current_node_id, due_at, experiment_contexts, id, idempotency_key, last_accepted_message_id, last_error, lease_expires_at, lease_owner, mailbox_id, message_edit_revision, outcome, pending_message_id, pending_next_node_id, status, task_id, tenant_id, updated_at, version].hash
|
|
595
604
|
end
|
|
596
605
|
|
|
597
606
|
# Builds the object from hash
|
|
@@ -29,6 +29,8 @@ module Reacon
|
|
|
29
29
|
|
|
30
30
|
attr_accessor :updated_at
|
|
31
31
|
|
|
32
|
+
attr_accessor :verification
|
|
33
|
+
|
|
32
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
35
|
def self.attribute_map
|
|
34
36
|
{
|
|
@@ -38,7 +40,8 @@ module Reacon
|
|
|
38
40
|
:'id' => :'id',
|
|
39
41
|
:'name' => :'name',
|
|
40
42
|
:'tenant_id' => :'tenantId',
|
|
41
|
-
:'updated_at' => :'updatedAt'
|
|
43
|
+
:'updated_at' => :'updatedAt',
|
|
44
|
+
:'verification' => :'verification'
|
|
42
45
|
}
|
|
43
46
|
end
|
|
44
47
|
|
|
@@ -61,7 +64,8 @@ module Reacon
|
|
|
61
64
|
:'id' => :'String',
|
|
62
65
|
:'name' => :'String',
|
|
63
66
|
:'tenant_id' => :'String',
|
|
64
|
-
:'updated_at' => :'Time'
|
|
67
|
+
:'updated_at' => :'Time',
|
|
68
|
+
:'verification' => :'MailContactRecordVerification'
|
|
65
69
|
}
|
|
66
70
|
end
|
|
67
71
|
|
|
@@ -128,6 +132,10 @@ module Reacon
|
|
|
128
132
|
else
|
|
129
133
|
self.updated_at = nil
|
|
130
134
|
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'verification')
|
|
137
|
+
self.verification = attributes[:'verification']
|
|
138
|
+
end
|
|
131
139
|
end
|
|
132
140
|
|
|
133
141
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -246,7 +254,8 @@ module Reacon
|
|
|
246
254
|
id == o.id &&
|
|
247
255
|
name == o.name &&
|
|
248
256
|
tenant_id == o.tenant_id &&
|
|
249
|
-
updated_at == o.updated_at
|
|
257
|
+
updated_at == o.updated_at &&
|
|
258
|
+
verification == o.verification
|
|
250
259
|
end
|
|
251
260
|
|
|
252
261
|
# @see the `==` method
|
|
@@ -258,7 +267,7 @@ module Reacon
|
|
|
258
267
|
# Calculates hash code according to all attributes.
|
|
259
268
|
# @return [Integer] Hash code
|
|
260
269
|
def hash
|
|
261
|
-
[created_at, custom_fields, email, id, name, tenant_id, updated_at].hash
|
|
270
|
+
[created_at, custom_fields, email, id, name, tenant_id, updated_at, verification].hash
|
|
262
271
|
end
|
|
263
272
|
|
|
264
273
|
# Builds the object from hash
|
|
@@ -14,13 +14,16 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Reacon
|
|
17
|
-
class
|
|
18
|
-
attr_accessor :
|
|
17
|
+
class MailContactRecordVerification < ApiModelBase
|
|
18
|
+
attr_accessor :last_verified_at
|
|
19
|
+
|
|
20
|
+
attr_accessor :status
|
|
19
21
|
|
|
20
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
23
|
def self.attribute_map
|
|
22
24
|
{
|
|
23
|
-
:'
|
|
25
|
+
:'last_verified_at' => :'lastVerifiedAt',
|
|
26
|
+
:'status' => :'status'
|
|
24
27
|
}
|
|
25
28
|
end
|
|
26
29
|
|
|
@@ -37,13 +40,16 @@ module Reacon
|
|
|
37
40
|
# Attribute type mapping.
|
|
38
41
|
def self.openapi_types
|
|
39
42
|
{
|
|
40
|
-
:'
|
|
43
|
+
:'last_verified_at' => :'Time',
|
|
44
|
+
:'status' => :'String'
|
|
41
45
|
}
|
|
42
46
|
end
|
|
43
47
|
|
|
44
48
|
# List of attributes with nullable: true
|
|
45
49
|
def self.openapi_nullable
|
|
46
50
|
Set.new([
|
|
51
|
+
:'last_verified_at',
|
|
52
|
+
:'status'
|
|
47
53
|
])
|
|
48
54
|
end
|
|
49
55
|
|
|
@@ -51,24 +57,28 @@ module Reacon
|
|
|
51
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
58
|
def initialize(attributes = {})
|
|
53
59
|
if (!attributes.is_a?(Hash))
|
|
54
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Reacon::
|
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Reacon::MailContactRecordVerification` initialize method"
|
|
55
61
|
end
|
|
56
62
|
|
|
57
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
58
64
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
59
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
60
66
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Reacon::
|
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Reacon::MailContactRecordVerification`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
62
68
|
end
|
|
63
69
|
h[k.to_sym] = v
|
|
64
70
|
}
|
|
65
71
|
|
|
66
|
-
if attributes.key?(:'
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
72
|
+
if attributes.key?(:'last_verified_at')
|
|
73
|
+
self.last_verified_at = attributes[:'last_verified_at']
|
|
74
|
+
else
|
|
75
|
+
self.last_verified_at = nil
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'status')
|
|
79
|
+
self.status = attributes[:'status']
|
|
70
80
|
else
|
|
71
|
-
self.
|
|
81
|
+
self.status = nil
|
|
72
82
|
end
|
|
73
83
|
end
|
|
74
84
|
|
|
@@ -77,10 +87,6 @@ module Reacon
|
|
|
77
87
|
def list_invalid_properties
|
|
78
88
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
79
89
|
invalid_properties = Array.new
|
|
80
|
-
if @items.nil?
|
|
81
|
-
invalid_properties.push('invalid value for "items", items cannot be nil.')
|
|
82
|
-
end
|
|
83
|
-
|
|
84
90
|
invalid_properties
|
|
85
91
|
end
|
|
86
92
|
|
|
@@ -88,26 +94,16 @@ module Reacon
|
|
|
88
94
|
# @return true if the model is valid
|
|
89
95
|
def valid?
|
|
90
96
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
91
|
-
return false if @items.nil?
|
|
92
97
|
true
|
|
93
98
|
end
|
|
94
99
|
|
|
95
|
-
# Custom attribute writer method with validation
|
|
96
|
-
# @param [Object] items Value to be assigned
|
|
97
|
-
def items=(items)
|
|
98
|
-
if items.nil?
|
|
99
|
-
fail ArgumentError, 'items cannot be nil'
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
@items = items
|
|
103
|
-
end
|
|
104
|
-
|
|
105
100
|
# Checks equality by comparing each attribute.
|
|
106
101
|
# @param [Object] Object to be compared
|
|
107
102
|
def ==(o)
|
|
108
103
|
return true if self.equal?(o)
|
|
109
104
|
self.class == o.class &&
|
|
110
|
-
|
|
105
|
+
last_verified_at == o.last_verified_at &&
|
|
106
|
+
status == o.status
|
|
111
107
|
end
|
|
112
108
|
|
|
113
109
|
# @see the `==` method
|
|
@@ -119,7 +115,7 @@ module Reacon
|
|
|
119
115
|
# Calculates hash code according to all attributes.
|
|
120
116
|
# @return [Integer] Hash code
|
|
121
117
|
def hash
|
|
122
|
-
[
|
|
118
|
+
[last_verified_at, status].hash
|
|
123
119
|
end
|
|
124
120
|
|
|
125
121
|
# Builds the object from hash
|